Hi,
I found correct way to modeling this hole:
Use the picture in hole.png:
Create a geometry, for vertex buffer, add 0 - 15 to the array.
For prim sets:
1) Add tessellated top plane, need set its normal correctly.
2) Add tessellated bottom plane, need set its normal.
3) Add side faces for
Hi experts,
I have 2 piece of code, use tessellaor to extrude and hole generation. Looks
the setSceneData should call after hole tessellation operation, otherwise the
viewer will draw nothing. Could you please advice on how
to setSceneData the root nodes in the begin of application, and update
Hi Robot,
Your point is true. Thanks a lot for your help, and sorry for this question, it
looks not very outstanding:)
Thank you!
Cheers,
Yu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60338#60338
Hi Stephan,
Thanks a lot to your reply and your help!
Now I am able to run a sample. My fail reason is didn't call graphic context'
realize function.
The GraphicsWindowEmbedded approach you mentioned, is that the way used
example_viewerCocoa? The code is:
osgViewer::GraphicsWindowEmbedded*
4 matches
Mail list logo