PureLight does not export objects for T3D
by Ivan Mandzhukov · in pureLIGHT · 09/13/2009 (8:37 am) · 10 replies
In the trial version of PureLight it was easy to export everything to T3D via "Publish to Torque 3D"
In the licensed version now I have problems exporting the scene. It only created the "material.cs" file but no *.dae files are generated.
In this folder "myscene/art/shapes/myscene/Module_Common/" , generated from the "Publish to Troque 3D" there is only the material.cs, but no *.dae files, even no texture files as I expected to be placed there.
what is wrong?????
In the licensed version now I have problems exporting the scene. It only created the "material.cs" file but no *.dae files are generated.
In this folder "myscene/art/shapes/myscene/Module_Common/" , generated from the "Publish to Troque 3D" there is only the material.cs, but no *.dae files, even no texture files as I expected to be placed there.
what is wrong?????
#2
09/13/2009 (12:43 pm)
Have a look in yourScene\Module_Common\ExportedLighting\Obj and see if there are any .dae files. Also remember to Lighting/save current module prior to T3D export.
#3
that was it. I didn't save the light before to publish... thanks a lot.
By the way now I can't get VL objects published. Only those which use lightmaps (LM , LMA , LMM , LMX) get published. In the generated *.mis file there is a definition for the VL object , but It is not present in the Module_Common. There are only the *.dae files of the lightmapped models , their lightmaps and the materials.cs file.
09/13/2009 (1:28 pm)
hmmmmm,that was it. I didn't save the light before to publish... thanks a lot.
By the way now I can't get VL objects published. Only those which use lightmaps (LM , LMA , LMM , LMX) get published. In the generated *.mis file there is a definition for the VL object , but It is not present in the Module_Common. There are only the *.dae files of the lightmapped models , their lightmaps and the materials.cs file.
#4
09/14/2009 (12:31 pm)
VL objects are a little bit different in how they work, since the lighting information gets inserted into the dae file itself. Have you baked and saved the lighting on the VL objects? An unlit VL object will never have had a VL file with lighting information in it generated.
#5
Only the VL objects are mysteriously missing. I can find their *dae files in "Module_Common/ExportedLighting/VLTemplates" and their *.vl files are present one folder up in "Module_Common/ExportedLighting/"
But mysteriously they don't get published.
09/14/2009 (12:48 pm)
Yes, I save everything (Save all modules) .I bake all the scene at once. There are some VL , LMA , LMX and LMM objects and some LS lights. When published only the VL files are missing in the "art/shapes/myscene".Only the VL objects are mysteriously missing. I can find their *dae files in "Module_Common/ExportedLighting/VLTemplates" and their *.vl files are present one folder up in "Module_Common/ExportedLighting/"
But mysteriously they don't get published.
#6
there is a real problem publishing VL objects to T3D.
I've started with a brand new test scene as you can see on the picture.

the objects here are :
LMA_plane,
LMA_cube,
VL_pyramid,
VL_teapot,
LS_direct,
LS_spot
after I bake the scene , I save the light (Save All Modules),
after I publish to T3D everything is created (material.cs , *.mis , *.dae) except *.dae files of the objects that use vertex lighting (the pyramid and the teapot)
I could send the scene to anyone who is interested for testing.
I doubt there is a problem with purelight.
I am using this :
3DI pureLIGHT 32bit,
Version 3.0.0.0
Compiled on: Aug 14 2009 11:44:13
09/15/2009 (4:57 am)
Ok guys,there is a real problem publishing VL objects to T3D.
I've started with a brand new test scene as you can see on the picture.

the objects here are :
LMA_plane,
LMA_cube,
VL_pyramid,
VL_teapot,
LS_direct,
LS_spot
after I bake the scene , I save the light (Save All Modules),
after I publish to T3D everything is created (material.cs , *.mis , *.dae) except *.dae files of the objects that use vertex lighting (the pyramid and the teapot)
I could send the scene to anyone who is interested for testing.
I doubt there is a problem with purelight.
I am using this :
3DI pureLIGHT 32bit,
Version 3.0.0.0
Compiled on: Aug 14 2009 11:44:13
#7
09/15/2009 (12:57 pm)
Yes, please send the scene to support@purelighttech.com. I think I know what might be happening, but I'd like to test it.
#8
To workaround this, you can do an additional lighting pass on the VL objects (via continue bake), and then save out the lighting.
09/15/2009 (4:13 pm)
I see what the issue is and its been fixed in the development branch.To workaround this, you can do an additional lighting pass on the VL objects (via continue bake), and then save out the lighting.
#9
It's too late here for any testing.I'll give it a try tomorrow.
09/15/2009 (5:07 pm)
Thanks for the support guys.It's too late here for any testing.I'll give it a try tomorrow.
#10
So this issue is going to be fixed in the next release of PureLight?
If so I am willing to wait for it. Anyway I am not in a hurry with the level design of my project for the time being.
09/16/2009 (1:28 pm)
hmmm, anyway even using that workaround I didn't manage to export.So this issue is going to be fixed in the next release of PureLight?
If so I am willing to wait for it. Anyway I am not in a hurry with the level design of my project for the time being.
Torque Owner Ivan Mandzhukov
Liman3D
I started over with new root folder. This time when publishing to T3D no material.cs file was created. Only the *.mis file was created in the root folder