Issue with 3D objects
by rmullen · in Torque Game Builder · 04/09/2007 (8:34 am) · 3 replies
I didn't know where to post this, but it is an art issue. Here goes:
If i put a .dts file ALONE into the shapes directory of my project, it displays just fine with the exception that it is bleached white with no texture. Once i add the appropriate texture file to my shapes folder, a power of 2 jpg that works fine in blender and the Torque Show Tool, TGB crashes when i scroll down in the creation window to see the 3D objects.
Has anyone else had this issue? Do you know how i could fix it? Is there a better place to post this question? I'd appriciate any help you can offer.
If i put a .dts file ALONE into the shapes directory of my project, it displays just fine with the exception that it is bleached white with no texture. Once i add the appropriate texture file to my shapes folder, a power of 2 jpg that works fine in blender and the Torque Show Tool, TGB crashes when i scroll down in the creation window to see the 3D objects.
Has anyone else had this issue? Do you know how i could fix it? Is there a better place to post this question? I'd appriciate any help you can offer.
About the author
#2
However, i now have a new question. Is there a limit to the file size you can use for texturing .dts files for TGB? If so, what is it?
04/09/2007 (9:40 am)
Great suggestion! I made a simple textured cube in blender and exported it to .dts and had it spinning in TGB in no time. I went back to see what the difference was between this cube and the model i've been having trouble with (a vehicle), specifically the texture file. The cube's texture was 512 x 512, same as the troublemaker model's, but it was only 12 kb while the vehicle's was 100 kb. I resaved the vehicle's texture file with less quality, resulting in the file size dropping to around 20 kb, saved it in my shapes folder and reopened TGB. There it was! Thanks!However, i now have a new question. Is there a limit to the file size you can use for texturing .dts files for TGB? If so, what is it?
#3
04/09/2007 (9:51 am)
Mullen, not sure about a file size limitation ... if your 512x512 image was 100k ... are you sure it was actually 512x512 and not "512x512 with 300dpi" (in Photoshop, this could actually make the image much larger then 512x512) ... I do know TGB has a limit on image dimensions, and I assume the DTS code has the same ... being 2048x2048 ...
Associate David Higgins
DPHCoders.com
Can you run a few more tests, make sure it's not just that one object ... try placing other DTS objects, etc?