WIP furniture / lights library

This topic has been viewed 41861 times and has 20 replies
Thread status: Active
Share your snapshots made with Sweet Home 3D here [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

WIP furniture / lights library

Post by silvercat17 »

Image

I have a few lights done and a bunch more on the to-do list. Some of them I downloaded for the Great Hall (http://www.sweethome3d.com/support/foru ... read,11280 ). Some are for a more conventional home.

Anybody have suggestions for a faster workflow than alternating between modifying the properties file and re-opening Sweet Home to check the results?

I also still need to figure out the best opacity settings for glass.
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

For the some reason the lights I just finished aren't rendering in Yafaray. Any ideas?

Image

Here's the properties of the one that isn't working:

name#4=Streetlamp3
category#4=Lights
icon#4=/Streetlamp3.png
model#4=/Streetlamp3/tall%20streetlamp%20with%20sphere.obj
multiPartModel#4=true
width#4=41.5
depth#4=42
height#4=305
movable#4=true
doorOrWindow#4=false
lightSourceX#4=20.75
lightSourceY#4=21
lightSourceZ#4=273.6
lightSourceColor#4=#47463c
lightSourceDiameter#4=3
elevation#4=0
modelSize#4=10649044

And one of the ones that is:

name#2=Ceiling globe
category#2=Lights
icon#2=/Ceiling globe.png
model#2=/Ceiling globe/ceiling%20globe.obj
multiPartModel#2=true
width#2=30.48
depth#2=30.3276
height#2=19.9644
movable#2=true
doorOrWindow#2=false
lightSourceX#2=15.24
lightSourceY#2=15.1638
lightSourceZ#2=7
lightSourceColor#2=#666257
lightSourceDiameter#2=3
elevation#2=243.84
modelSize#2=277660
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

If I remove the texture on the street lamp's globe, the light shows. But the star lamp also has a texture at the same opacity and the light shows in it.
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: WIP furniture / lights library

Post by Mike53 »

Could be that the globe on the street light has texture applied to both its inner and outer face, the others may have it on just 1 face
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

No, the texture is only on the outside. I'm thinking the problem is the size of the light? I wish there was a way to see what size the light actually is.
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

Definitely something with the texture. I tried it with the texture that was working and now it works. It appears Yafaray likes transparent textures and Sunflow doesn't care.
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

Image

The two yellow ones have a transparent png as the texture, one with it on both sides of the globe, one with it only on the outside. The white ones have no texture, again one with the color on both sides and one with the color on the outside.

Having the color/texture on both sides or just one doesn't seem to make a difference.

This is using a white light source in each of them (instead of making them a light). On all of the globes, the texture/color is at 70% opacity.

Now to figure out how the Light Diameter property corresponds to size.
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

Image

Whether the texture/color is on one side or two sides doesn't affect the amount of light that passes through, but it does change the look.

In order from left to right: two-sided no texture, one-sided no texture, two-sided with transparent png, one-sided with transparent png.

The reason I'm trying to get a texture to work is to element that crystal ball effect (although the angle you're looking at it makes a big difference)
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

Image

Success. Taking an image into Photoshop and making it 75% transparent works perfectly (the texture isn't the right size, but that's a different issue)
User avatar
silvercat17
Posts: 24
Joined: Wed Aug 11, 2021 9:29 am

Re: WIP furniture / lights library

Post by silvercat17 »

Image

I'm working on doing comparisons of different light settings. Here's a test with just a color and no texture at varying opacities. Having no texture doesn't look very good at least with simple shapes.

These are 70%, 80% and 90% opacity from left to right.

name#1=Globe bl 70opa
category#1=Lights
icon#1=/Globe bl 70opa.png
model#1=/Globe bl 70opa/globe-bl-70opa.obj
multiPartModel#1=true
width#1=61
depth#1=61
height#1=62
movable#1=true
doorOrWindow#1=false
lightSourceX#1=30.5
lightSourceY#1=30.5
lightSourceZ#1=31.5
lightSourceColor#1=#333333
lightSourceDiameter#1=40
elevation#1=0
modelSize#1=8727823
creator#1=Silvercat

Next I'll compare light sizes with one of these lamps.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest