Removing of COLLADA files for publishing possible?
by Tobias B. · in Torque 3D Professional · 07/27/2009 (3:06 am) · 26 replies
Hi,
I have a short question: Imagine one day T3D is finished and people start publishing their games. The COLLADA DAE models are given away with the game and anyone would be able to get, modify and reuse the COLLADA models. Maybe a game publisher would like to avoid that. As far as I got it, T3D just uses the auto-generated DTS models after they have been generated. I tried to remove the DAE-file, but then T3D complains and doesn't show the models.
Could you please comment on this?
I have a short question: Imagine one day T3D is finished and people start publishing their games. The COLLADA DAE models are given away with the game and anyone would be able to get, modify and reuse the COLLADA models. Maybe a game publisher would like to avoid that. As far as I got it, T3D just uses the auto-generated DTS models after they have been generated. I tried to remove the DAE-file, but then T3D complains and doesn't show the models.
Could you please comment on this?
#22
08/10/2009 (11:56 am)
Logged this for consideration for integration THREED-624
#23
09/01/2009 (2:51 am)
A version of the code posted earlier will be in the next version. ie. the cached DTS will load even if the DAE is not present. This remains true even if collada support is not compiled into the engine (by undefining TORQUE_COLLADA).
#24
IMO: If DAE exists, use DAE, if not then use the cached.dts.
09/01/2009 (3:25 am)
Chris:Quote:A version of the code posted earlier will be in the next version. ie. the cached DTS will load even if the DAE is not present.So if the DAE is present, the cached DTS will still load ? If so, that is what a few of us were against.
IMO: If DAE exists, use DAE, if not then use the cached.dts.
#25
The cached DTS will load if a) The DAE is not present OR b) the cached DTS is newer than the DAE.
This way, you get the fast-loading cached DTS after the initial load. And if you change the DAE, it will re-generate the cached DTS for next time.
09/01/2009 (4:21 am)
Quote:So if the DAE is present, the cached DTS will still load ? If so, that is what a few of us were against.
The cached DTS will load if a) The DAE is not present OR b) the cached DTS is newer than the DAE.
This way, you get the fast-loading cached DTS after the initial load. And if you change the DAE, it will re-generate the cached DTS for next time.
#26
01/18/2010 (5:36 am)
Hey guys, just so you know, make sure that you set "computeCRC" to "false" in any ShapeBaseData datablocks if you want to be able to run without the .DAE file for that shape. Otherwise, it will attempt to load in the DAE and do a CRC on it, and if you've deleted you DAEs, then that shape (and the datablock) wont load.
Torque 3D Owner Scott Peal