Jump to content
  • Advertisement

Archived

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

LukeSkyRunner

Vertex shading without buffering?

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

Advertisement
Syrillix is right.
They are very slow methods. Organise your code a little bit and you will find adding the buffered methods a simple task. I think they transfer the data to an internal buffer and call DrawPrimitive/DrawIndexedPrimitive on it, so eliminating this stage each frame would be a very good idea.

Share this post


Link to post
Share on other sites
I know the importance of storing geometry inside AGP memory, I just want to know if this is possible cos I''m testing some algorithms so there''s no need for vertex buffer for a while (while I''m just testing and so prefer the simplest techniques).
So... is it possible?

Share this post


Link to post
Share on other sites
Well then I am not sure...
Just take a simple example in the SDK and convert it to use UP. I should see no reason why not.

Share this post


Link to post
Share on other sites
you could just try it the hard way?
but since the UP calls create an internal VB/IB and call DrawPrimitive()/DrawIndexedPrimitive() then i see no reason why you couldnt you shaders with them.
however, your shader declaration i would assume would be limited to a single stream source, not a huge problem in most cases.

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!