Importing DIF files the same as DTS?...
by VcDeveloper · in Torque Game Builder · 12/02/2008 (10:41 pm) · 5 replies
Can you put DIF files in TGB the same way as DTS files? I know the limitations of 3D in a 2D system, but just wanted to know if this is posible. And/or can I create a new t2dShape3D like this for a DIF file:
%shape = new t2dShape3D() { scenegraph = t2dScene; };
%shape.setShape("~/data/interriors/room/cottage.dif");
and a:
datablock TSShapeConstructor(cottageDIF)
{
baseShape = "~/data/interriors/room/cottage.dif";
};
will this work or do I have to import the .map into Torque Contructor and export it to a DTS?
%shape = new t2dShape3D() { scenegraph = t2dScene; };
%shape.setShape("~/data/interriors/room/cottage.dif");
and a:
datablock TSShapeConstructor(cottageDIF)
{
baseShape = "~/data/interriors/room/cottage.dif";
};
will this work or do I have to import the .map into Torque Contructor and export it to a DTS?
#2
12/03/2008 (6:41 am)
Ok, then I will do it the import and export way... Thanks!...
#3
12/03/2008 (10:43 am)
There's no export for DTS! Argh! Anyone know the solution of converting a DIF to a DTS? I tried converting it to a .lwo and import it into Blender lastest version, but unsuccessful do to errors. Is there another program out there that can?
#4
EDIT:
Wait. If you are trying to get Map's to be DTS objects, you could use map23ds or DeleD or Ultimate Unwrap, I believe. That should get you to something like an OBJ or 3DS file to export to DTS from Blender.
12/05/2008 (1:13 pm)
I believe there is a .map exporter for Blender...but it may severely mess up your geometry if you did not model it correctly according to CSG rules. There is not a quick and easy way to magically turn geometry that was modeled under one paradigm into another one. Some things like max2ctor or the Greenbriar tools do an excellent job of trying, but their effectiveness depends upon the base geometry and how it was constructed.EDIT:
Wait. If you are trying to get Map's to be DTS objects, you could use map23ds or DeleD or Ultimate Unwrap, I believe. That should get you to something like an OBJ or 3DS file to export to DTS from Blender.
#5
That did it! I used the map23ds.... now I need to remap the texture..
12/06/2008 (9:00 am)
Kewl! Thanks for the info!...That did it! I used the map23ds.... now I need to remap the texture..
Torque Owner Brian Wilson