Igor Lebedev wrote:
Hi,
Ok. I did it like that. The same thing. Weird index values and bunch of
polygons. So i should search in render function?
I'm not sure I can help you any more than that. You've made statements
that you know the structure and organization of the geometry that you're
loading, so I assume you know what kind of primitives you have. If your
primitives are indexed, then you should have one or more DrawElements
primitive sets in the geometry. If not, you may have DrawArrays
primitive sets instead, in which case there won't be any indices.
The impression I get is that you're trying to rush as quickly as
possible to get stuff on the screen. I wouldn't be surprised if one or
more of the assumptions you've made along the way turns out to be
false. I'd suggest slowing down a bit, work through an example or two,
and figure out how to do things correctly. You'll end up with far fewer
headaches that way.
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org