Dts And Tgb
by rmullen · in Artist Corner · 04/09/2007 (7:11 am) · 3 replies
Hi i've been using the .92 version of the DTS exporter for blender, with the intention of using the models in Torque Game Builder (formerly Torque 2D). I get the model exported and its showing up in TGE, but without my texture/UV map. Once i take the source image for my UV map in blender and give it the appropriate name (material.jpg) and drop it into my shapes folder, TGB gives me an error message and crashes. So i can see my model, but i'm having problems when i try to use the associated texture. Does anyone know where i'm going wrong? Is there a special process for creating the texture file my DTS will reference other than just using the source image i loaded into blender?
One more question: When i create an empty detailx object to act as parent for the objects i want exported, where the "x" in "detailx" is the level of detail, what the heck does that mean? What "level of detail"? I appriciate your help.
One more question: When i create an empty detailx object to act as parent for the objects i want exported, where the "x" in "detailx" is the level of detail, what the heck does that mean? What "level of detail"? I appriciate your help.
About the author
#2
I'm still crashing in TGB. I downloaded the Torque Show Tool demo and the model displays just fine there with the texture and everything.
Just to restate the issue (since i think my above explination was a bit confusing being born of my earlier frustration). If i put the .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. I'll put a copy of this in the TGB forums, but if you've got any further ideas here i'd appriciate it.
04/09/2007 (8:25 am)
Thanks Thak for the info on the LOD's, makes perfect sence.I'm still crashing in TGB. I downloaded the Torque Show Tool demo and the model displays just fine there with the texture and everything.
Just to restate the issue (since i think my above explination was a bit confusing being born of my earlier frustration). If i put the .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. I'll put a copy of this in the TGB forums, but if you've got any further ideas here i'd appriciate it.
#3
04/09/2007 (8:31 am)
...
Torque Owner Thak
Be sure that your Texture is a power of 2 in size. 512x512 or 256x256. All I can think off of the top of me heid...
LOD's are mainly for TGE I think. Dunno about TGB. So just set it to 2
The theory gos like this you make 3 models at diffrent polygonal acuracy and then export all thre into a dts giving them a number that tells the engine at what size to use wich model.
Say when the model is close to the camera its using the most polygon intense version of the mesh and if its far away then the smallest LOD is used.
Cheers