Hi,
I realy like do stuff procedural. But until now I only worked with predefined gstudio stuff. (vertexmanipulations, bitmapmanipulations...)
But I want to create meshes procedural.
So, I understand the small samples in the gs samples folder.
but, I don't want to create my own d3d device. I bought gs, so that it can do the whole work setting up the scene.
My question is, Is this possible :
- Using gamestudio in pure mode
- creating a LPD3DXMESH including the underlying layers (vertexbuffers for example) To create my own procedural generated mesh
- creating a blank entity via "ent_create"
- setting the mesh via "ent_setmesh"
- let do the engine the other work like lightning transformation ...
Does anybody has an example for creating a mesh, or at least a hint (perhaps to a good d3d tutorial)?
Thank you,
Patrick