Re: Include light source in a furniture or group light source and item

by hansmex » Mon Feb 14, 2011 10:36 pm

3dfx,

SH3D provides excellent light handling on the control and output side, but on the creation side things could do with some improvement.

To answer your first question:
1 - export your DAE lamp to OBJ format, and an OBJ and MTL file will be created;
2 - download this document that describes in some detail the properties of a MTL file;
3 - edit the MTL file with a text editor;
4 - search for the part that describes the shade and light source, then manually edit their properties and make sure there is an illum and d statement with the proper values (see page 6);
5 - hope that this solves your problem.

The solution to your second question will probably involve programming a plug-in or extension that will allow you to set those variables. The SH3D source code is available on SourceForge, but as I cannot program, I wouldn't know exactly where to find it.

Hans