Archive 17/01/2023.

Multiple vertex buffers ERROR: Stream index out of bounds

gulaghad

Hello,
I am new to Urho3d. When I modify the DynamicGeometry example to use multiple vertex buffers instead of single interleaved one, I get an ERROR: Stream index out of bounds.

Here is what I am doing. DynamicGeometry.cpp (whole file): http://pastebin.com/NnG2Ef1Y
[pastebin]ZfdH8guW[/pastebin]

cadaver

You need to call SetNumVertexBuffers() on the Geometry first.