Hi,
Christian Sam wrote:
Hi,
okay, now i think i understand you. first step: construct the roof in
conjunction with a normalarray that defines normals for as much as complete
faces as possible. for the remaining ones, construct further primitives, which
overlap the faces where the right normals weren't defined till yet.
[Image: http://www.spatiality.at/osg/roof2.jpg ]
was this the way you meant?
For the first line/row in your picture I would actually just make a
single primitive with GL_TRIANGLES instead of triangle strip (there are
no shared vertices here anyway). There is also no need to draw the two
faces (top and bottom of the figure) if no normals are defined yet.
jp
Cheers,
Christian
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11828#11828
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org