Print at Dec 19, 2025, 6:10:48 AM View all posts in this thread on one page
Posted by hansmex at Jul 3, 2011, 11:38:59 PM
Include light in Export to OBJ format
Emmanuel,

When you export a model with light, and then import it again, the light is lost.
It would be nice if light was included in the export data.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Jul 4, 2011, 2:04:01 AM
Re: Include light in Export to OBJ format
It can't be. As far as I know OBJ format doesn't support lights.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by macfrog at Jan 4, 2012, 9:57:11 PM
Re: Include light in Export to OBJ format
Emmanuel,
what if you add some kindof "comment" or unknown tag line that sh3d could use to determine this is part of a light source?

or a mat that "has to be" light?

Posted by Puybaret at Jan 5, 2012, 7:21:31 AM
Re: Include light in Export to OBJ format
OBJ format is used to exchange 3D models right? So why creating some OBJ subformat that only Sweet Home 3D would understand???
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by hansmex at Jan 5, 2012, 10:33:16 AM
Re: Include light in Export to OBJ format
If you "hide" the special instructions in the remarks starting with #, you could sneak in the necessary information without creating a subformat.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Jan 5, 2012, 11:18:37 AM
Re: Include light in Export to OBJ format
But what for? OBJ format is used to exchange information between Sweet Home 3D and other 3D applications. Only Sweet Home 3D will understand this new format, and there's no need to exchange information between Sweet Home 3D and itself!!!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by hansmex at Jan 5, 2012, 12:11:32 PM
Re: Include light in Export to OBJ format
Emmanuel,

Maybe I'm just not technical enough, or maybe we don't understand each other.
To me, the advantage would be that you could design a lamp* and export it with light and all.
(* - for lamp read anything that includes a light source)

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Jan 5, 2012, 1:06:05 PM
Re: Include light in Export to OBJ format
Where will you import this light information then? In Sweet Home 3D? Why not use Copy as New furniture plug-in then? It's already working.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by hansmex at Jan 5, 2012, 1:11:05 PM
Re: Include light in Export to OBJ format
Because, when Export-Import works, you can re-use your "lamp" much easier in other designs.
----------------------------------------
Hans

new website - under constuction
hansdirkse.info