• Welcome to Dark Bit Factory & Gravity.
 

D3D equivalents for OpenGL

Started by taj, February 10, 2008

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

taj

Does anyone know what the equivalent D3D command of

glRecti(-1,-1,1,1);

would be? I'm hoping I dont have to use vertices but call some primitive instead...
Challenge Trophies Won:

benny!

Good question, taj.

I really do not know - had a search on the net. All I
found was the following thread saying what you do
not want to hear (using vertices) ...

http://www.msdner.net/dev-archive/130/20-106-1301547.shtm

Sorry. Didnt find anything else...
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Jim

Challenge Trophies Won:

taj

Thats interesting, I'll try it and see if it triggers the shaders to run.
Challenge Trophies Won:

Jim

I doubt it, but worth a try.  Otherwise it's probably necessary to draw an indexed primitive.  Look up DrawPrimitiveUP() which takes vertices as a parameter and doesn't need a vertex buffer.

Jim
Challenge Trophies Won: