DAE Import
by 4dewind Barbara Stojko · in Torque 3D Professional · 05/15/2009 (10:02 am) · 3 replies
Hi,
I have a problem with .dae Collada files import in Torque 3D. The car model doesnt want to load properly. There is a possibility that it is a rendering problem or something (not sure since i'm a begginer). Below I put two screenshots: The first one is a proper model's render, second one is the scene with imported model in Torque. Anyone has some ideas how I can fix it? (.dae file was not modifited by me in any 3d software, its downloaded sample)
static.racingbeast.com/screens/screen2.jpg
static.racingbeast.com/screens/screen1.jpg
I have a problem with .dae Collada files import in Torque 3D. The car model doesnt want to load properly. There is a possibility that it is a rendering problem or something (not sure since i'm a begginer). Below I put two screenshots: The first one is a proper model's render, second one is the scene with imported model in Torque. Anyone has some ideas how I can fix it? (.dae file was not modifited by me in any 3d software, its downloaded sample)
static.racingbeast.com/screens/screen2.jpg
static.racingbeast.com/screens/screen1.jpg
#2
05/15/2009 (6:28 pm)
Thanks, I think I found the issue, but i'll be greatfull if someone can confirm my hunch. If the object is made in high poly, above 11k, I cannot export it properly to T3D, is that right? I found that kind of information according to TGEA, but I didn't use TGEA before, so I'm not sure the same rule is in Torque 3D. Can someone help me to clear that concern, please?
#3
I've never had a problem with polycount I have had some latency while it loaded though.
Textures issues for me seemed to be related to how the .dae file was calling whatever texture it was and making sure that the texture files themselves were named appropriately in the .dae file and on the harddrive.
The only other texture issue I've had was with having to delete the cache.dts file for the .dae file and the materials.cs file in the same directory as the .dae model while T3D was closed and then opening it up again. The texture worked on the first load but didnot work on subsequent loads.
[Steps]
Get out of T3D
Goto directory of .dae file put a copy of it in the interior's directory in the ART section.
Open the .dae file in wordpad / notepad and verify that all texture files and directory locations from the .dae file's location in the directory structure are correct.
delete the cache.dts and the materials.cs file associated with the .dae model.
Load T3D
Go into game and try an interior object of the .dae model. If it textures then you win! if you close out of T3D and then restart T3D and it untextures then your in the same boat as me :/
Side notes:
Editing a .dae file while the engine is running creates the changes immedatly in game very usefull. .dae files can be opened in notepad or wordpad.
05/15/2009 (6:43 pm)
Ok. Things that I have learned messing around with .dae files. I've never had a problem with polycount I have had some latency while it loaded though.
Textures issues for me seemed to be related to how the .dae file was calling whatever texture it was and making sure that the texture files themselves were named appropriately in the .dae file and on the harddrive.
The only other texture issue I've had was with having to delete the cache.dts file for the .dae file and the materials.cs file in the same directory as the .dae model while T3D was closed and then opening it up again. The texture worked on the first load but didnot work on subsequent loads.
[Steps]
Get out of T3D
Goto directory of .dae file put a copy of it in the interior's directory in the ART section.
Open the .dae file in wordpad / notepad and verify that all texture files and directory locations from the .dae file's location in the directory structure are correct.
delete the cache.dts and the materials.cs file associated with the .dae model.
Load T3D
Go into game and try an interior object of the .dae model. If it textures then you win! if you close out of T3D and then restart T3D and it untextures then your in the same boat as me :/
Side notes:
Editing a .dae file while the engine is running creates the changes immedatly in game very usefull. .dae files can be opened in notepad or wordpad.
Torque 3D Owner Gerry "Hermetic" Smith