Archived

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

_Wox_

The fixed function pipeline??

Recommended Posts

I was wondering where the steps in the fixed function pipeline are executed? Which one is exectued on the CPU and which one on the GPU? Below is the list with steps in the pipeline, which of these is run on CPU and which one on GPU? Tesselation World transform Vertex blending View transform Vertex fog Lightning and materials Projection transform Clipping Homogenoeous divide Viewport scaling Triangle setup Sample texture Blend diffuse and specular color Alpha test Depth test Stencil test Per Pixel fog Alpha blend Dither Gamma Regards Wox

Share this post


Link to post
Share on other sites
as far as i know, on a modern gfx card none of those should be executed on the CPU. All those ops involve some pretty intensive math calculations so its great that the GPU takes care of em.

Share this post


Link to post
Share on other sites
When using Vertex shaders you can do the world transformation and stuff in the shader...if you not use a shader you do SetTransform(D3DTS_WORLD in the application....is this just a function call to the GPU?

Share this post


Link to post
Share on other sites
quote:
Original post by _Wox_
When using Vertex shaders you can do the world transformation and stuff in the shader...if you not use a shader you do SetTransform(D3DTS_WORLD in the application....is this just a function call to the GPU?


Yes. SetTransform will eventually lead to loading a matrix into the graphics card. The card will transform all vertices sent through the pipeline with the matrices you specify with the SetTransform call.

neneboricua

Share this post


Link to post
Share on other sites