Print at Dec 18, 2025, 5:56:13 PM
Posted by pencilart at Sep 15, 2010, 8:30:33 PM
confused   How do you work the lights again?
Attached is my latest attempt to render an image using the advanced photo plugin.

How do you make the lights come from the ceiling, rather than the floor? No matter what I do, they only seem to be coming from the floor. I also had put lights below the cabinets but they aren't working either. I hope you can see my settings in the screenshot.
----------------------------------------
Attachment sh3dcrazylights.jpeg (181519 bytes) (Download count: 401371) (Crazy lights.)
sh3dcrazylights.jpeg

Posted by Puybaret at Sep 15, 2010, 8:36:02 PM
Re: How do you work the lights again?
Did you try to change the elevation of the lights?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pencilart at Sep 16, 2010, 7:27:46 PM
Re: How do you work the lights again?
Yes, to 80 inches and the others were at 45 inches.
P.S. the version is AdvancedRendering-1.6.sh3p and I'm using SH3D 2.6.

Posted by whippetsleek at Sep 16, 2010, 7:40:16 PM
Re: How do you work the lights again?
I might be wrong, it is a little hard to see your settings, but it looks like you have the height of the bulbs set at 80" and not the elevation? I found out through my own errors that the height of the light bulbs won't make the light go higher.. smile It has to be elevated like a piece of furniture.
----------------------------------------


Posted by pencilart at Sep 16, 2010, 8:58:14 PM
Re: How do you work the lights again?
The elevation is at 80 inches, not the height.

I just tried it with the regular "Create Photo" plugin and it does the same thing, the lights seem to be coming from the floor, rather than the ceiling.

I also made the elevation of the lights at 14 feet and 10 feet but that did not make any difference at all.

It just looks like the lights are upside down or something.
----------------------------------------
Attachment kitchen.png (98658 bytes) (Download count: 44163) (This was with the regular "Create Photo" plugin.)
kitchen.png

Posted by hansmex at Sep 16, 2010, 9:02:47 PM
Re: How do you work the lights again?
Pencilart,

Can you publish your file, so we can have a look at what is happening?

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

new website - under constuction
hansdirkse.info

Posted by pencilart at Sep 16, 2010, 11:31:26 PM
Re: How do you work the lights again?
I hope this link will work for you:
http://rapidshare.com/files/419462795/kitchen.sh3d
Then pick the free user link.

Posted by Puybaret at Sep 17, 2010, 12:40:46 AM
Re: How do you work the lights again?
Pencilart, you have multiple problems:
- first the only active light shown is a ceiling light. How a ceiling light can have an effect at floor level, will you ask?!? The height of a ceiling light is equal to the height of the wall end closest to the room center (I know this algorithm isn't perfect but it's the way it works in the current version). In your case, this closest wall is the one under your shelves behind the camera and is 36 inches high.
- second I don't know where you got the "BasicPlusExtraLights" and "basicLights" lights, but as they have no "classic" bulb icon, I suspect you imported these lights from an OBJ file. This can't work this way; You must use lights coming from an SH3F file, either basicLights.sh3f or BasicPlusExtraLights.sh3f.

Conclusion: import SH3F files containing lights, replace your 3 lights by some coming from the SH3F files, and turn off ceiling lights to avoid the problem with your small wall.

I hope this will help... smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by db4tech at Sep 17, 2010, 12:57:21 AM
Re: How do you work the lights again?
Hi pencilart,

I have discovered what your problem is. smile

Here is a new "Fast" render (I used the new lights and new AdvancedRenderingMini-1.6.1 for this)



The problem was caused because you had a tiny height wall behind the cupboards, in the bottom right hand corner of your build, so that made the ceiling lights appear very low because the ceiling slopped down to the floor.
You also had about 3 walls for every wall of the building, not sure how that may have happened?

Looking at the name of the furniture lights you seem to have added the BasicPlusExtraLights furniture directory as a single model, so you wouldn't see the light bulbs in your furniture list, plus one of the extra lights you added was at a height above the ceiling.

Here is your model, I have left all the extra walls and added 2 light bulbs.
http://rapidshare.com/files/419477626/kitchen.sh3d


When you added the BasicPlusExtraLights did you double click the file to add it to your furniture list?

Hope this helps!

db4tech

Edit:
I see Emmanuel beat me to it while I was preparing my post! smile

Posted by Puybaret at Sep 17, 2010, 1:04:20 AM
Re: How do you work the lights again?
Sorry db4tech wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by hansmex at Sep 17, 2010, 1:42:25 AM
Re: How do you work the lights again?
Pencilart,

Thanks for sharing the file. As far as I can see, the problem is caused by a combination of two problems:
- using an old version of (either) the render plug-in OR an old version of the basic light bulbs
- using the ceiling lights in combination with the light bulbs.

1 - The ceiling light is causing the irregular light underneath the glass cupboards, and is also responsible for the light that seems to come from underneath the kitchen island. So, switch off the ceiling light.
2 - Make sure you have BOTH version 1.6.1 from the advanced render plug-in and the basic light bulbs. Replace all light bulbs with the new light bulbs, and make sure that you lower the ceiling light, because now its elevation is higher than the ceiling. See the links below.

3 - To make sure sunlight isn't interfering you can (temporarily) choose a very dark texture for the sky, turn the orientation know so that your model isn't facing north, etc. This is optional, #1 and #2 are the solution for the problem.

As an extra service, I attach a corrected file :-)

Succes!

Hans

http://sweethome3d.eu/support/forum/getattachment?attach=125

http://sweethome3d.eu/support/forum/getattachment?attach=126

kitchen v2
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by pencilart at Sep 19, 2010, 6:01:16 PM
Re: How do you work the lights again?
Thanks so much Hans!

Now, how do I delete the old basic light bulbs so that I don't forget and use them again? Since they're in my catalog, I can't find anything that will allow me to delete them.

Now a new problem: When I went to import the AdvancedRenderingMini-1.6.1.sh3p, I got this error message: "The format of the chosen model isn't supported. Please choose an other model" -Why would it say that? :(

Posted by hansmex at Sep 19, 2010, 6:39:09 PM
Re: How do you work the lights again?
Pencilart,

sh3P files are Plug-ins
sh3F files are Furniture files
sh3T files are Texture files

If I remember correctly you are using some Linux flavour. For Ubuntu, you just put the
- SH3P files in ./eteks/sweethome3d/plugins directory
- SH3F files in ./eteks/sweethome3d/furniture directory
So I guess for you it will be the same?

The files are loaded when you (re-)start SH3D.
If you delete the files they can't be loaded, so the lights will disappear.

Maybe it's a good idea to read again what the manual says about installing plug-ins?

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

new website - under constuction
hansdirkse.info

Posted by pencilart at Sep 19, 2010, 7:55:57 PM
Re: How do you work the lights again?
The only things that are in the ./eteks/sweethome3d/plugins directory are the advancedrendering.sh3p and the advancedrenderingmini.sh3p, nothing else.
The only thing that is in the ./eteks/sweethome3d/furniture directory is the fancy door that I recently added to the catalog.

Where do you get the incandescent lights? I can't find them anywhere. They seem to be the only thing that works.

P.S. I finally found the way to delete the basic lights.

Posted by pencilart at Sep 19, 2010, 9:13:13 PM
Re: How do you work the lights again?
"BasicPlusExtraLights" and "basicLights" lights were downloaded from this forum from one of the posts about them. I don't remember which post it was. I downloaded the ones just now that you gave the link to and imported them but they still have no icon. (I had deleted the original 2 that were in my catalog).

I don't know how those extra walls happened. I just had selected my walls and then moved them, that was all. I also came across a curiosity when moving the wall that contains the front door: at least 4 more doors and windows were inserted and I discovered that when I saw that I could no longer see through the windows. I had to keep clicking and deleting the extras until I got to the bottom of the heap.

See if this happens to you: make some walls, put windows and doors in them, move the walls to resize/reposition them. That's all I had done. I don't remember if I had created the 'room' before I moved the walls or not so try it with both. Anyway, that's what happened to me.

Posted by db4tech at Sep 19, 2010, 9:40:49 PM
Re: How do you work the lights again?
Hi pencilart,

I think I may have an idea about what is going wrong!?

To install the lights, don't use.
"Import furniture..."

Instead you need to use
"Import furniture library..."

You should then see a directory called "Light bulbs" smile
As seen in this image.


Hope this helps!

PS: Just tried making 4 walls then adding a door and a window, then moved the walls, no extra walls are created.


db4tech

Posted by pencilart at Sep 20, 2010, 5:18:35 PM
Re: How do you work the lights again?
Thanks!
That worked. :D

I just found out what happened with the extra windows and door: when I wanted to select more than one item, I held down Ctrl and clicked the item. This caused a copy to be made and pasted just as if I had done Ctrl + c then Ctrl + v. Is this normal behavior? I don't remember reading about that. Hmmm... gotta go read that manual again. :)

Posted by pencilart at Sep 20, 2010, 7:22:48 PM
Re: How do you work the lights again?
Here it is! http://www.storm-artists.net/full/97710
^_^ :D :D

Thanks guys!

Posted by hansmex at Sep 20, 2010, 7:38:43 PM
Re: How do you work the lights again?
Pencilart,

Nice kitchen :-)

Maybe you could try to make the light under the right cupboard larger, so that the light is softer.

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

new website - under constuction
hansdirkse.info

Posted by pencilart at Sep 20, 2010, 8:34:06 PM
Re: How do you work the lights again?
Oh, so THAT's how you do it! I was wondering about that. :D

Posted by pencilart at Sep 20, 2010, 10:39:23 PM
Re: How do you work the lights again?
here's 2 more renders:
http://www.storm-artists.net/full/97713
(I fixed the lights as you said in this one) http://www.storm-artists.net/full/97710

One of the artists had suggested I turn the island around so here is the quick render: http://www.storm-artists.net/full/97712 I'm not sure which position I like best.

Posted by pike at Nov 14, 2010, 2:00:10 AM
Re: How do you work the lights again?
First of all, hi everyone, new user here... wonderful balance between speed, ease of use and results... not to mention the price ;) it really is a genuine little gem.

Now for the question - tried reading through all of the relevant topics, but I still feel I have to check... it it possible to alter one of the bulb WxHxD parameters independently (thus making it, say, a cylindrical or rather egg-shaped light source instead of a sphere? (latest advanced render/bulbs installed)

Posted by Puybaret at Nov 14, 2010, 8:41:28 AM
Re: How do you work the lights again?
Welcome Pike.
I recently wondered the same thing as you did. As the lights used in Sweet Home 3D are SphereLight instances and that an ellipse is mathematically some kind of an elongated sphere, it shouldn't be so difficult to create an oval light instead that would match the bounding box specified by WxHxD. By the way, it would be nicer than db4tech's idea who suggested to lock proportion check box for lights, to ensure the user can only create sphere lights. wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pike at Nov 15, 2010, 1:00:31 AM
Re: How do you work the lights again?
yes - as it is, it seems we may change the parameters independently, but the results do not suggest we have a "3d ellipse" - I was trying to put some lights inside a tall picture frame/cabinet (under left/right frame), but I learned that I can only do it by stacking a number of very dim lights... or at least that was the only solution I found - the problem is I got 16 lights under a glass and it takes considerably longer to render.

Posted by Puybaret at Nov 15, 2010, 5:52:19 PM
Re: How do you work the lights again?
Finally, managing oval lights isn't so easy. Therefore expect that sphere lights won't be deformable anymore from the next beta 3.0.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pike at Nov 15, 2010, 10:36:20 PM
Re: How do you work the lights again?
Thanks Puybaret, got it.

Posted by Puybaret at Nov 15, 2010, 11:17:41 PM
Re: How do you work the lights again?
Here it is. wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator