Replies: 3 comments
-
If you are learning OpenSceneGraph might I suggest you just learn it's successor the VulkanSceneGraph instead. It's modern, better designed, far faster and properly support modern hardware. The OpenSceneGraph is being maintained for legacy application, but for new applications development it's out of date as is OpenGL that it's built upon. |
Beta Was this translation helpful? Give feedback.
-
I don't recall if this is needed for node callbacks, but you could try adding a geode->dirty(); or node->dirty(); call after updating the vertices so it informs the scene to regenerate them. |
Beta Was this translation helpful? Give feedback.
-
First, it is recommended to enable VBO on the geometry, and disable display-lists. |
Beta Was this translation helpful? Give feedback.
-
I am a beginner in osg. I want to draw a rope, use a ball to draw the mass and a cylinder to draw the connection between the spheres. Update my vertexArray via geode->setUpdateCallback then redraw the rope on each update. But now the problem is that I can't update the shape of my rope. Below is my code.
Beta Was this translation helpful? Give feedback.
All reactions