Archived

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

LukeSkyRunner

Vertex shading without buffering?

Recommended Posts

Drath    138
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
LukeSkyRunner    136
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
Drath    138
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
Syrillix    122
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