marciano wrote:
Yes, basically that is possible, although the dynamic geometry functionality is not tested much.
You can map/lock the streams of a geometry resource (h3dMapResStream) and change their data. You can also create mesh nodes and attach them to a model. In case you want to create geometry procedurally, there is a convenience function h3dutCreateGeometryRes in the utility layer.
I see. Thanks for the heads up!
So I can theoretically create a mesh using h3dutCreateGeometryRes during initialization and then use h3dMapResStream to lock and change the mesh data. Will that work? And also, it says in the h3dMapResStream documentation that
"A mapped stream should be unmapped again as soon as possible but always before subsequent API calls are made" By subsequent API calls do they mean Horde's inbuilt rendering calls or any other API calls that uses the mesh in the graphics loop?