Sign in to follow this  
gofresh

realtime rendering

Recommended Posts

gofresh    100
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
gofresh    100
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
Schrompf    1035
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
gofresh    100
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this