#FIXED — Help me find a small silly mistake?

9 messages · Page 1 of 1 (latest)

twin dune
#

So I'm sure I'm doing something small wrong, but I can't for the life of me figure out what. :/ I'm trying to build my own geometry, I don't see any meaningful differences between my geometry and e.g. the box geometry, but it doesn't seem to be rendering at all. Can anyone take a look at this in their web debugger of choice and see if anything stands out?
(All the boxes on the RHS are meaningless right now; I'm just trying to render two objects in the main canvas, a BoxGeometry and my own BufferedGeometry.)
http://stevenstadnicki.com/Demos/OneOffs/MuCubeCA/

digital osprey
#

box renders nicely for me cat_eyes

twin dune
#

Yeah; the box renders fine, but my custom buffergeometry doesn't.

#

(There are two objects in the scene)

minor sapphire
#

Same here, but it keeps throwing this warning

#

Perhaps you need to check the geometry attributes ? thinking_cat

twin dune
#

Huh! So it does. That didn't happen locally that I noticed. Let me take a look. Thank you!

#

Hmmm; my index buffer has some indices that are out-of-bounds for the vertex buffer. Yeah, that's almost certainly the thing. Thank you!

twin dune
#

That was 100% it; I had a fencepost error.