Godot: Vulkan: ImmediateGeometry3D is not visible

Created on 11 Jun 2020  路  8Comments  路  Source: godotengine/godot

Godot version:
4.0.dev Commit: ffbea8a

OS/device including version:
Windows 10 - 64 Bit

Issue description:
ImmediateGeometry3D is not visible when I try to draw a line
I haven't encoutered this issue on Version 3.2.1 stable

Steps to reproduce:
On function _ready()

$ImmediateGeometry3D.clear()
$ImmediateGeometry3D.begin(Mesh.PRIMITIVE_LINES, null)
$ImmediateGeometry3D.add_vertex(Vector3(1, 2, 1))
$ImmediateGeometry3D.add_vertex(Vector3(3, 2, 3))
$ImmediateGeometry3D.end()

Minimal reproduction project:
Draw.zip

bug rendering

Most helpful comment

This issue is still relevant - we should reimplement ImmediateGeometry3D in Vulkan.

All 8 comments

ImmediateGeometry probably hasn't been implemented yet.

@clayjohn What class/object I can use as a workaround for the meantime that I can use to draw lines? :)

You may be able to use ArrayMesh. Take a look at this doc for alternatives.

Keep in mind that 4.0 is unstable and isn't even in an alpha stage yet. You can't expect to be able to do everything in it yet.

You really should be using 3.2 if you want to work on any projects.

Thanks!

@Calinou I encounter this error even when I choose GLES2 in the Project Settings.

There's no GLES2 backend in the current master branch.

Again, if you're not familiar with the current state of the development branch, it's is strongly recommended that you stick to the stable 3.2 branch. Godot 4.0 is under heavy development and definitely not usable in production, nor supported as such.

Noted on this! 馃槄

This issue is still relevant - we should reimplement ImmediateGeometry3D in Vulkan.

Was this page helpful?
0 / 5 - 0 ratings