Page 1 of 1
Blendigo doesn't seem to export meshlights correctly
Posted: Thu May 24, 2007 1:59 am
by zsouthboy
It creates a "dummy" light material instead.
Obviously I have lights defined in Blendigo correctly.
Separating lights from the rest of a mesh works, however.
Am I missing something?
The mesh is instanced across the scene a few times (the lights on buttons for a soda machine, in case you're wondering); that is what is preventing me from splitting them from the mesh manually...
Using latest posted Blendigo exporter.
Posted: Thu May 24, 2007 2:08 am
by Kram1032
"Light" isn't a material

Indigo still needs a material for any lightsource.
And, as noone set the material up, Blendigo exports it as "alpha"-mat.
It's not quite realistic, as any visible light is emitted by a visible thing.
But as the human eye can't differ between 1,00000000 and 1,000000001 lumen, the difference between 100% transparent and slighlty absorbing + slightly reflecting doesn't matter at all.
Posted: Thu May 24, 2007 2:15 am
by Stur
The "light material" definition is not on the <scenedata> section, but on the <scene> section with tag <meshlight>.
Posted: Thu May 24, 2007 3:06 am
by zsouthboy
You misunderstand my issue.
It's fine now - I ended up just splitting the light meshes myself.
Works like it should.
Posted: Thu May 24, 2007 3:21 am
by SmartDen
Ii don't really understand what do you mean with 'splitting the light meshes'.
To export a meshlight with Blendigo you have to create a mesh with a material and set the amount of emitting light (shaders tab) > 0. Blendigo will convert it in a meshlight. It works fine for me
Posted: Thu May 24, 2007 3:38 am
by StompinTom
meaning you cant have a mesh with more than one material, one of which is a Emitter material, i think. makes sense, cuz the Emitter 'material' isnt an actual material its just so Blendigo has a way of defining meshlights.
Posted: Thu May 24, 2007 3:48 am
by SmartDen
StompinTom wrote:meaning you cant have a mesh with more than one material, one of which is a Emitter material, i think. makes sense, cuz the Emitter 'material' isnt an actual material its just so Blendigo has a way of defining meshlights.
thank you for explanation
Posted: Thu May 24, 2007 3:51 am
by StompinTom
no prob.
Posted: Thu May 24, 2007 8:22 am
by Kram1032
that's still no bug:
A mesh, that's an emitter, glows all over itself.
you NEED to split emitting parts from nonemitting parts.
I wish, light was a material.
That would give things, like, radioactivity, special effects, maybe kinda nice (non-volume-emitter) flames, lightmap (for sun, or such^^)
Posted: Thu May 24, 2007 8:25 am
by DaveC
I did once manage to export a scene with an emitter on a multi-material mesh. It was the first material on the object. I don't know if it still works though. It's never worked if the emitter wasn't the first material.