Set lights with Maya

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
messy
Posts: 7
Joined: Sat Jan 07, 2012 8:02 pm

Set lights with Maya

Post by messy »

Hi.

I'm new here and the first thing I do is to ask a question. ;)

I work with Maya 12. The only way to use Maya models in Irrlicht is to export my model in ".obj" (right?). Can I export lights in ".obj"? My wish is to set lightning in Maya and use it in Irrlicht just like ".bsp". Is that possible?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Set lights with Maya

Post by CuteAlien »

Light and object are separate. So lights are not exported in object formats like .obj
It could be possible to export whole scenes maybe with collada which is a scene-format (I can't test, but it should work in theory).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Set lights with Maya

Post by hendu »

.bsp lights are baked (lightmaps), are you sure you want that? If so, shouldn't maya have an option to bake in the lighting to the textures/vertex colors?
messy
Posts: 7
Joined: Sat Jan 07, 2012 8:02 pm

Re: Set lights with Maya

Post by messy »

@CuteAlien: Thanks for your hint. I'll try it when I don't find another way.

@hendu: Okay, baked lights don't be the best way. What is the optimal way to do this? Build a scene and set the lights with the lightmanager? This could be expensive or not?
Post Reply