Game Development Community

D3D "Ate" my environment mapping?! =\

by Kirby Webber · in Torque Game Engine · 11/01/2003 (10:04 pm) · 7 replies

Running through a few scenarios (getting myself back up to speed) I switched to the D3D drivers.

Upon doing so, my lovely emap - the beautiful alpha channel reflections I worked so hard on are, well, they're just gone!

I switched back to OpenGL and that didn't fix it - forced a recompile on the player script - nothing, I have even recompiled the game - still nothing!

For reference, I am developing on version 1.1.2 (it's a concious choice on the behalf of certain vehicle physics to be using an older rev).

Can anyone help me get my emaps back? I would be eternally greatful (and promptly disable D3D =)

Thanks in advance.

#1
11/02/2003 (2:01 pm)
Did you try rebooting?
#2
11/02/2003 (3:23 pm)
Ben,

Yes, I have restarted my comp twice since the "unfortunate" incident actually - still nothing. =\

I am stumped as to what's going on, but rest assured I'll be ripping the D3D option out once the situation is resolved. D3D isn't cross-platfor anyway so I have no interest in supporting it... anymore ;-)
#3
11/02/2003 (3:58 pm)
Sounds like you've got a really fascinating error. Have you tried making sure that your prefs weren't altered? There's a pref that controls if env maps are enabled, and D3D might have disabled it...
#4
11/02/2003 (7:00 pm)
Yeah that was it.

Thanks Ben - I was really starting to freak! =)

I'll have to remember that for future reference.

Perhaps I can find where it writes the prefs and changes the code so it's not an issue anymore - though Torque seems much more solid under openGL than DX anyway.

Thanks again Ben - You're a life saver! =)
#5
11/02/2003 (8:50 pm)
Heheh... No problem. Glad you solved your problem :)

Yeah, Torque is pretty OpenGL oriented. Hopefully this will change in future versions, not that I'm making any promises... ;)
#6
11/02/2003 (11:04 pm)
@Ben: HEY! Who want's that to change? Keep it very OpenGL oriented, D3D has to die anyway :)
#7
11/03/2003 (7:41 am)
Yeah, I'd personally like to see the open source community pick up OpenGL and start whipping D3D's butt.

It was only the API of choice for like a mellinia (sp?) before Direct X finally became "respectable".

What's up with that?! LOL