Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Direct3DRMMesh SetVertices

This topic is 6825 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I''m kinda having this problem with setting Vertex colours (yes I''m canadian) for a Direct3DRMMesh object. First I loaded a mesh with Meshbuilder and then using the CreateMesh of Meshbuilder function I made a Mesh. Then I go deforming the mesh and setting the vertices with the SetVertices member function of D3DRMMesh. However, I can''t seem to set the colours of each individual vertex, even when I change the D3DRMVERTEX.color parameter. What I''m really doing is simulating a wave, and I want certain vertices that are above certain level to have the colour white, while the rest have the blue, just to indicate the highpoints. Any help, would be appreciated, Thanks a lot,

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!