Jump to content
  • Advertisement
Sign in to follow this  
gofresh

realtime rendering

This topic is 3312 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

I want to render the motion of a character model in runtime but the character model is not loaded from file. so, more than 50 times every second updated model of how to create Direct3D path for vertex are drawn?

Share this post


Link to post
Share on other sites
Advertisement
in brief, i'm not loading model from .x file. I'm creating and processing polygons in my physics engine.

but i dont know how to send realtime processed vertices to directx in runtime ?

any answer would be very helpfull.

thanks.

Share this post


Link to post
Share on other sites
Create a vertex buffer with D3DUSAGE_DYNAMIC. Every frame: lock it, copy your stuff into it, unlock it, bind it, render it, unbind it.

Share this post


Link to post
Share on other sites
i have one more question.

is it possible to compute the operations in gpu which are in physics engine ?

can i use nvidia's cg or something else for this operations?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!