Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4744 times and has 5 replies Next Thread
Bubblobill
Member



Australia
Joined: May 21, 2017
Post Count: 77
Status: Offline
Reply to this Post  Reply with Quote 
Help with multiple light sources in furniture object

I made a model of a lamp I have at home to practice my modeling skills.


I was not aware that creating lights is so painful, and this one, unfortunately, has five of them, and I cannot get it to emit light. Please assist with where I have gone wrong.

I created the original file in Blender. Exported it as Wavefront object which gave me the .obj and the .mtl files. Using the Furniture Library Editor I made a library containing just the one piece of furniture.

Renamed, unpacked, and edited the .properties file to
name#1=Lamp - Floor, 5 x globe
tags#1=lamp, floor lamp, floor, light
category#1=Lights
icon#1=/Lamp - Floor, 5 x globe.png
model#1=/Lamp - Floor, 5 x globe/Lamp.Floor.5xGlobe.obj
multiPartModel#1=true
width#1=98.73148
depth#1=93.85602
height#1=183.83266
movable#1=true
doorOrWindow#1=false
lightSourceX#1=92.6 78.5 58.1 35.7 6.0
lightSourceY#1=47.3 67.6 77.3 86.1 87.7
lightSourceZ#1=120.1 135.7 150.1 164.4 179.0
lightSourceColor#1=#444444 #444444 #444444 #444444 #444444
lightSourceDiameter#1=19.0 19.0 19.0 19.0 19.0
creator#1=Bubblobill


(I started off with smaller diameters but set them large for trouble-shooting purposes to make sure they are not blocked by the globes if I have the globe material wrong).

Save, pack, rename, import... still doesn't work

Any idea how I have mismanaged this whole affair?

Regards,

Bubblobill
[May 24, 2017, 3:32:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help with multiple light sources in furniture object

Hmm, I think you are wrong, your lamp does work!

1) Very nice lamp!
2) You do not make it easy for yourself with that kind of model, do you ? - of course, that would be painful smile
3) The PluginFurnitureCatalog.properties looks correct, neat tidy and with all elements in place. Nicely done! But I did not do the maths for the co-ordinates.
4) The .sh3f file had the directory zipped, so the .sh3f file did not work without extracting and re-packing the files.
5) That done, furniture library works and lamp imports beautifully and emits light - but I did not check whether each light source is in the right place.

But as far as I can tell - you have made a very cool lamp that works. Certainly one for sharing.

ok
[May 24, 2017, 6:51:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Bubblobill
Member



Australia
Joined: May 21, 2017
Post Count: 77
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help with multiple light sources in furniture object

Fixed! Thankyou very much okh




Anyone that wants the new version is welcome to non-commercial use. It is modeled from a real thing so it would be poor form to share for profit.
[May 25, 2017, 6:04:10 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help with multiple light sources in furniture object

TY Bubblobill ! applause

Great art... and warranted effect love struck


800 x 600 in Q4

Are there really 5 lights or just one ?

smile
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[May 25, 2017, 6:25:20 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Bubblobill
Member



Australia
Joined: May 21, 2017
Post Count: 77
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help with multiple light sources in furniture object

Most definitely 5 lights. I count 5 shadows :)

They are a bit too bright though, I presume the intensity would be decreased by changing the light source colour. There may need to be a future upgrade to the model.
[Jun 2, 2017, 3:40:12 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help with multiple light sources in furniture object

Most definitely 5 lights. I count 5 shadows :)

Of course, you are right.

smile
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Jun 2, 2017, 5:57:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved