Game Development Community

Export Maya Lights?

by Maxim Ivanov · in pureLIGHT · 08/20/2010 (9:17 am) · 3 replies

Hello,

I've looked all over the place, but can't find any references to Maya lights. I've been able to export meshes to .ase using the ActorX plugin for Maya2008, but as the plugin only deals with geometry I'm at a total loss when it comes to exporting the lights?

When exporting lights to Collada, they appear in the scene, but with totally wrong orientation and position etc.

Anyone got a workaround for this?

Thanks in advance!

#1
08/20/2010 (2:59 pm)
Could you send in examples of this to support@purelighttech.com and we can have a look at what is going on exactly.
#2
08/26/2010 (4:05 pm)
Hi, thanks for your fast response.

I solved the light orientation issue by making sure "bake transformations" was switched on in the OpenCollada exporter for Maya.

The issue I have now is not being able to create Object Lights that work in pureLight.

As there is no such thing as an Object Light in Maya, I exported a poly cube with the prefix "OL_" using the OpenCollada exporter.

When trying to convert this with preLight, it just crashes without an error. I've tried exporting it using the DAE_FBX exporter, but in preLight I get an error as follows "ERROR: Invalid light type: ambient".

Any ideas?
#3
08/26/2010 (4:33 pm)
An Object Light is created just like a normal mesh. Its just the prefix on it that is different.

There must be an ambient light also inside of that exported file. If you get rid of that it should work fine.