Missing textures...
by Jacob · in Torque Game Engine · 05/13/2005 (5:33 pm) · 18 replies
Hmmm...I just noticed that all my dts objects don't show their textures anymore after upgrading to the new version (1.32?). Where should I start looking?
About the author
#2
05/13/2005 (7:11 pm)
They sure are...nothing (that I know of) has changed except the new exe. Thanks though! :)
#3
Did you copy over the source or is this a full integration? Also are seeing any errors related to missing textures in the console?
-John
05/14/2005 (7:27 am)
Hi Jacob,Did you copy over the source or is this a full integration? Also are seeing any errors related to missing textures in the console?
-John
#4
I used your new version, adding the things I had in my previous build - mainly GUI additions. I did put the object selection resource in as well...no errors at all in the console. All my dts objects just appear as gray. Thank You!
05/14/2005 (7:32 am)
Hi John,I used your new version, adding the things I had in my previous build - mainly GUI additions. I did put the object selection resource in as well...no errors at all in the console. All my dts objects just appear as gray. Thank You!
#5
05/14/2005 (7:42 am)
It sounds like the selection resource might have updated the DTS rendering code? I'm not sure how the resource works, but how is the 'selection' handled (how is it displayed)?
#7
I just figured out that this only happens on D3D - even with the stock unmodified verision of LP 1.32. It is perfect in OpenGL.
05/14/2005 (3:12 pm)
John,I just figured out that this only happens on D3D - even with the stock unmodified verision of LP 1.32. It is perfect in OpenGL.
#8
Edit: I have tested this with the stock version 1.32 on a laptop with a Mobility 9200 and on a desktop running a X600 with the same results.
05/15/2005 (10:37 am)
Any idea why the textures don't show up in D3D?Edit: I have tested this with the stock version 1.32 on a laptop with a Mobility 9200 and on a desktop running a X600 with the same results.
#9
05/16/2005 (4:19 am)
Maybe they're not power of 2?
#10
05/16/2005 (4:54 am)
That would probably mean that it also wouldn't work in OpenGL but it does...they are all power of two :)
#11
Can you check to see if the problem happens with this Lighting Pack demo?
Thanks!
-John
05/16/2005 (7:03 am)
Hi Jacob,Can you check to see if the problem happens with this Lighting Pack demo?
Thanks!
-John
#12
I tried it and had the same result - no textures in D3D.
Edit: Your demo does seem to work fine in D3D using your missions but when I use my mission, the textures don't show up. If it means anything, I use MAX 7 to create my objects and export them using the suggested pugin.
05/16/2005 (6:43 pm)
John, I tried it and had the same result - no textures in D3D.
Edit: Your demo does seem to work fine in D3D using your missions but when I use my mission, the textures don't show up. If it means anything, I use MAX 7 to create my objects and export them using the suggested pugin.
#13
I'm using the latest ATI drivers:
catalyst : 5.4
2D: 6.14.10.6525
Package: 8.121-050322a-022141C
And DirectX 9.0c 4.09.0000.0904
Try updating your drivers and DirectX version (assuming they're older).
If that doesn't help can you zip up a demo of your project (including any assets used by the problem mission(s)) and post it somewhere I can download it? I'll see if the problem can be duplicated here with the same mission in case the issue is related to the order objects are rendered in or the material options.
-John
05/16/2005 (7:14 pm)
What video driver and DirectX version are you using?I'm using the latest ATI drivers:
catalyst : 5.4
2D: 6.14.10.6525
Package: 8.121-050322a-022141C
And DirectX 9.0c 4.09.0000.0904
Try updating your drivers and DirectX version (assuming they're older).
If that doesn't help can you zip up a demo of your project (including any assets used by the problem mission(s)) and post it somewhere I can download it? I'll see if the problem can be duplicated here with the same mission in case the issue is related to the order objects are rendered in or the material options.
-John
#14
05/16/2005 (8:54 pm)
Thanks for all your time John. I have the exact same versions of DirectX and ATI Drivers. Not sure where I can post my project that would not be accessible by all...
#15
05/17/2005 (8:46 am)
I was thinking that you would send me the url and any zip encryption information in private.
#16
Edit: Got a hosting service and will send you the info soon.
05/17/2005 (9:49 am)
Sure, that can be done...thanks!Edit: Got a hosting service and will send you the info soon.
#17
Have you altered the 'opengl2d3d' project at all? If not then you only need to merge the Lighting Pack changes into that project to resolve the problem.
Chances are when you were testing the Lighting Pack demo executables you only copied over the exe file and not the dlls with it, so the old 'opengl2d3d.dll' was being used in the test.
05/17/2005 (10:56 am)
Ok, I saw the same problem. Then I noticed that your 'opengl2d3d.dll' (Torque's D3D driver) had a time stamp from December, which was before I fixed the Lighting Pack's D3D support, so I dropped the Lighting Pack demo's 'opengl2d3d.dll' into your project and everything worked fine.Have you altered the 'opengl2d3d' project at all? If not then you only need to merge the Lighting Pack changes into that project to resolve the problem.
Chances are when you were testing the Lighting Pack demo executables you only copied over the exe file and not the dlls with it, so the old 'opengl2d3d.dll' was being used in the test.
#18
Yes, when testing the demo, I did just copy the executable...good learning experience for me!
P.S. The third post here was probably the give-away! :)
05/17/2005 (11:46 am)
Thanks for checking it out. I copied the new dlls to my project and all is well again :) I was planning on giving you more info on how to get into the mission and find the objects, etc... but that didn't happen. I am glad you got it going - hope it din't take too much figuring out!Yes, when testing the demo, I did just copy the executable...good learning experience for me!
P.S. The third post here was probably the give-away! :)
Torque Owner Desmond Fletcher
fletcher