I am NOT flamming but dude. really? acid made it VERY self explanatory. look in your d3d source
DONT use gellins base
I don't have a D3D source.
well then you better make one to use that code
Where are not here to give you a working endscene.
Maybe its time to get a book and start learning c++ and d3d.