Blender 2.56 workflow
by Alkor · in pureLIGHT · 04/11/2011 (10:04 am) · 7 replies
Anyone has any ideea on how to export collada files from blender?
I always get the error of
C:\Program Files\pureLIGHT\Scenes\CornellBox\Module_Common\LMA_Ceilling.dae ERROR: Could not parse file.
C:\Program Files\pureLIGHT\Scenes\CornellBox\Module_Common\LMA_Ceilling.dae ERROR: File contains no meshes or lights.
and so forth.
Any ideas as to why?
I always get the error of
C:\Program Files\pureLIGHT\Scenes\CornellBox\Module_Common\LMA_Ceilling.dae ERROR: Could not parse file.
C:\Program Files\pureLIGHT\Scenes\CornellBox\Module_Common\LMA_Ceilling.dae ERROR: File contains no meshes or lights.
and so forth.
Any ideas as to why?
#2
The collada export on blender 2.56 gives the same pureLight error with ANY mesh ...
04/11/2011 (1:44 pm)
I am using the standard default collada exporter. However I skimmed through the code and it seems it only supports exporting of the whole scene, not a selectable onject only. I started using your script ase exporter script. Could you perhaps update it to work in 2.56? Or any other solution would be greatly appreciated!The collada export on blender 2.56 gives the same pureLight error with ANY mesh ...
#3
The .x exporter in 2.56 generates meshes that will import properly. Thought it doesn't support lights.
I'm looking at what is needed to be done to the ase export script. It'll be a fair amount of work as they've made a lot of changes to the python api in Blender.
04/11/2011 (2:39 pm)
Yeah the default collada exporter in 2.56 only does the entire scene, this is likely what is confusing preLight.The .x exporter in 2.56 generates meshes that will import properly. Thought it doesn't support lights.
I'm looking at what is needed to be done to the ase export script. It'll be a fair amount of work as they've made a lot of changes to the python api in Blender.
#4
04/11/2011 (9:56 pm)
Thanks, hopefully it will work, nothing fancy, just some barebones functionality.
#5
04/12/2011 (2:44 pm)
I have a new ase exporter for Blender 2.56 that handles both meshes and lights. Anybody interested in testing it out, send us an email at support@purelighttech.com
#6
Here is the modified script that works on the stable version of blender 2.57:
http://www.2shared.com/file/PXeYqd6Z/io_export_ase.html
Tested and works, credits go to Sanne of Blender Community :)
04/14/2011 (9:54 am)
The 2.56 exporter is broken on 2.57 due to some trivial functoin name change. They changed the bl_addon_info to bl_info.Here is the modified script that works on the stable version of blender 2.57:
http://www.2shared.com/file/PXeYqd6Z/io_export_ase.html
Tested and works, credits go to Sanne of Blender Community :)
#7
04/14/2011 (10:43 pm)
Thanks Alkor.
Torque 3D Owner Thomas Pittman
If you email a copy of that mesh to support@purelighttech.com we can take a look at what the conflict is with the particular exporter you are using.