Include light in Export to OBJ format

This topic has been viewed 6580 times and has 8 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Include light in Export to OBJ format

Post by hansmex »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Include light in Export to OBJ format

Post by Puybaret »

It can't be. As far as I know OBJ format doesn't support lights.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
macfrog
Posts: 230
Joined: Sun Nov 14, 2010 7:36 pm
Country: Germany

Re: Include light in Export to OBJ format

Post by macfrog »

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?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Include light in Export to OBJ format

Post by Puybaret »

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
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Include light in Export to OBJ format

Post by hansmex »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Include light in Export to OBJ format

Post by Puybaret »

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
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Include light in Export to OBJ format

Post by hansmex »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Include light in Export to OBJ format

Post by Puybaret »

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
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Include light in Export to OBJ format

Post by hansmex »

Because, when Export-Import works, you can re-use your "lamp" much easier in other designs.
Hans

new website - under constuction
hansdirkse.info
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest