cool Automatic lights

This topic has been viewed 5674 times and has 7 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
bdfd
Posts: 2614
Joined: Sat Mar 29, 2014 7:17 am
Country: LILLE, Les Hauts de France, Western Europa

Automatic lights

Post by bdfd »

Hi,

I do not know if this request has already been made.

Is it possible to automatically turn on the lights according to the time of day ?

Example in the préférences : the external street lights (or interiors) light at x% (set in the object) or go off at 0% in daylight. [;)]

Bright idea, right ? [:))]
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
User avatar
hinjolicious
Posts: 67
Joined: Mon Apr 16, 2018 6:46 am
Country: Indonesia

Re: Automatic lights

Post by hinjolicious »

This feature is very helpful, if not required by default!
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Automatic lights

Post by enkonyito »

Is it possible to automatically turn on the lights according to the time of day ?
Simple answer: Yes.
I created a light panel whose apparent power varies according to the position of the sun.
It turns off automatically when it is dark and comes back gradually when it is day.
I think the opposite, off the day and on at night, is feasible.

Complicated answer: But ..
For this to work, you must add a keyword to the name of the light object so that it is taken into account by the PhotoRenderer file so it will not work with the default lights.
As this file has been modified for version 6.0 of Sweet Home 3D, I must first make the photo plug-in compatible with the improvements made by Emmanuel Puybaret. After, I could include a new automatic light sphere (unviewable) responding to the request.
EnkoNyito
User avatar
bdfd
Posts: 2614
Joined: Sat Mar 29, 2014 7:17 am
Country: LILLE, Les Hauts de France, Western Europa

Re: Automatic lights

Post by bdfd »

It will be great !

[;)]
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Automatic lights

Post by enkonyito »

I have tested and it works (lighting off by day and on when the sun is below the horizon).
Using the keyword in the property file, it will be possible to create or modify a light object to turn on and off automatically.
It only remains to wait for the next version of Sweet Home 3D.
EnkoNyito
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Automatic lights

Post by enkonyito »

With the new version of the photo/video plug-in , there are 2 ways to have an automatic light.
- Use the automatic light sphere available in the libraries provided
- Use the [font=times new roman]automatic[/font] and [font=times new roman]SphereLight[/font] keywords in the description property of the light you create

Just enter the light power and the light source manager will do the rest when you change the time.
EnkoNyito
User avatar
bdfd
Posts: 2614
Joined: Sat Mar 29, 2014 7:17 am
Country: LILLE, Les Hauts de France, Western Europa

Re: Automatic lights

Post by bdfd »

... to have an automatic light.
- Use the automatic light sphere available in the libraries provided
- Use the [font=times new roman]automatic[/font] and [font=times new roman]SphereLight[/font] keywords in the description property of the light you create
Just enter the light power and the light source manager will do the rest when you change the time.
Hi enko,

PVR 1.6 with automatic lights work fine on my PC for pictures. [=D>]
.
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
kylo
Posts: 1
Joined: Sun Oct 21, 2018 11:07 am
Country: China

Re: Automatic lights

Post by kylo »

The idea is good , haha.....
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest