TGB Direct3D9 wrapper (Code)
by Prairie Games · in Torque Game Builder · 11/20/2007 (11:29 am) · 3 replies
Here's the merge of Nick Basargekar's Direct3D9 patch for TGB 1.5.1
*** Sorry, over the years we've lost the file below. Send it to Support@PrairieGames.com if you have a copy, thank you!
TGB_Direct3D9.zip
Here's a binary (you'll need the VS2005 SP1 redist installed)
*** Sorry, over the years we've lost the file below. Send it to Support@PrairieGames.com if you have a copy, thank you!
TGB_Direct3D9_Binary.zip
Only took a few hours of frantic hand merging... and works great! No more Direct3D7 :)
There is some Microsoft example Direct3D source material included... I am not entirely sure if this can be used or not... I am thinking it isn't a problem. Though, you may want to check. Prairie Games is combining this with something else... so, won't be using the example Direct3D source.
If you run into any problems or have fixes, please post them.
Enjoy!
-PG
*** Sorry, over the years we've lost the file below. Send it to Support@PrairieGames.com if you have a copy, thank you!
TGB_Direct3D9.zip
Here's a binary (you'll need the VS2005 SP1 redist installed)
*** Sorry, over the years we've lost the file below. Send it to Support@PrairieGames.com if you have a copy, thank you!
TGB_Direct3D9_Binary.zip
Only took a few hours of frantic hand merging... and works great! No more Direct3D7 :)
There is some Microsoft example Direct3D source material included... I am not entirely sure if this can be used or not... I am thinking it isn't a problem. Though, you may want to check. Prairie Games is combining this with something else... so, won't be using the example Direct3D source.
If you run into any problems or have fixes, please post them.
Enjoy!
-PG
#2
12/05/2007 (6:22 pm)
I'm having issues with OpenGL on my now apparently unsupported NVidia Geforce3 card... D3D works better but also has issues. So I'll try this out.
#3
Is anyone using this wrapper successfully?
04/23/2008 (9:18 pm)
Any updates on this DX9 wrapper? I've managed to sort out the multiple device creation issues, and it's "working", but...all of the textures seem to be offset by a few pixels.Is anyone using this wrapper successfully?
Torque Owner Buzztime Entertainment Inc.
Did you have to make any changes to the TGB-level stuff? In other words, winD3DVideo.cc, etc?