Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | 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: 14
Posts: 14   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5724 times and has 13 replies Next Thread
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 164
Status: Offline
Reply to this Post  Reply with Quote 
Re: Autumn colours

I love the shine and reflections of your floor.

Regarding your query,
What would be nice, though, is to have some more control over the brightness
– a slider maybe, or some pre-programmed steps with different intensities.
I would not complicate the photo panel for current users but I could study its feasibility for tests.

Here is how is managed the lighting of the sky and the sun for the SH3D standard photo panel.
if (!this.useSunSky) {
// If observer camera is used with a sky texture,
// create an image base light from sky texture
...
this.sunflow.parameter("samples", 0);
this.sunflow.light(UUID.randomUUID().toString(), "ibl");
}
...
if (this.useSunSky) {
...
this.sunflow.parameter("samples", this.useSunskyLight ? 12 : 0);
this.sunSkyLightName = UUID.randomUUID().toString();
this.sunflow.light(this.sunSkyLightName, "sunsky");
}
...
// Simulate additional Sun with a faraway sphere light of a color depending of the hour of the day
int sunPower = this.useSunskyLight ? 10 : 40;
...
this.sunflow.parameter("samples", 4);
this.sunLightName = UUID.randomUUID().toString();
this.sunflow.light(this.sunLightName, "sphere");

Here are those of the new plug-in in development (bringing together the old plug-ins related to rendering).
if (!this.useSunSky) {
// If observer camera is used with a sky texture,
// create an image base light from sky texture
...
this.sunflow.parameter("samples", AdvancedPhotoPanel.isEnhancedExternalBrightness() ? 12 : 0); // modification (enkonyito)
this.sunflow.light(UUID.randomUUID().toString(), "ibl");
}
...
if (this.useSunSky) {
...
this.sunflow.parameter("samples", AdvancedPhotoPanel.isEnhancedExternalBrightness() ? 12 : 0); // modification (enkonyito)
this.sunSkyLightName = UUID.randomUUID().toString();
this.sunflow.light(this.sunSkyLightName, "sunsky");
}
...
// Simulate additional Sun with a faraway sphere light of a color depending of the hour of the day
int sunPower = !this.useSunSky ? 40 // sky with texture and virtual visit
: // sky without texture or aerial view
AdvancedPhotoPanel.isEnhancedExternalBrightness() ?
20 : 40; // modification (enkonyito)
...
this.sunflow.parameter("samples", 4);
this.sunLightName = UUID.randomUUID().toString();
this.sunflow.light(this.sunLightName, "sphere");

----------------------------------------
EnkoNyito gallery
[Nov 4, 2016 4:01:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message    https://sites.google.com/site/enkonyitogallery/ [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

FRANCE
Joined: Mar 29, 2014
Post Count: 1470
Status: Offline
Reply to this Post  Reply with Quote 
Re: Autumn colours

Pictures : Yes, source NO !

It's not the place... devilish
----------------------------------------
with W10 64b 1709 (16.299.19) / Core i7-4790 - RAM 16 MB / GeForce GTX770 2 Go Full HD
sh3d 5.6 with java 1.8.0_144 & java3D 1.6.0
[Nov 4, 2016 5:07: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 
Ceciliabr
Advanced Member
Member's Avatar

Denmark
Joined: Jul 7, 2013
Post Count: 205
Status: Offline
Reply to this Post  Reply with Quote 
Re: Autumn colours

@enkonyito

I love the shine and reflections of your floor.


Mmm ... yes, the floor. Memories of my childhood, indelibly fixed as images in my mind. The floor in the grand parlour was waxed and polished every Friday - and on the very few occasions I was allowed to enter, it felt like walking on a shiny glass panel. I walked carefully, wearing woolen socks, and stared in awe at the shining, bluish reflections - the whole room was reflected in the floor – maybe the whole world. If I bent down and looked closely, I could see layers of patterns that wound their way deep down into the wooden floor, like there was a three-dimensional image lying under the shiny glass surface, adding a new texture to the reflection of my face.
But the grand parlour was not a place for children – except for Christmas.

That's where the idea comes from - the idea of adding a layer of shiny glass on top of the floor.
A glass transparent layer, 0.2 cm, placed on its own level so it easily can be turned on and off – and I'm back in my childhood residence - back in the forbidden parlour.

Sometimes I wish I had learned to code instead of learning the piano.

Coding is art.

Thanks for sharing. Your plugin is highly valued.

Cec.
[Nov 4, 2016 8:48:50 PM] Show Printable Version of Post    View Member Profile    Send Private Message    http://cecprojects.wordpress.com [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1286
Status: Offline
Reply to this Post  Reply with Quote 
Re: Autumn colours

Thanks for this thread Cec - and for the elaboration enkonyito. Your technical take is interesting and pertinent to the purpose of this thread. Even with little to contribute, the thread makes for interesting reading and great reference. Even for the less gifted. And, of course, the images are outstanding. ok
[Nov 6, 2016 9:48:06 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 14   Pages: 2   [ Previous Page | 1 2 ]
[ 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-2017 eTeks - All rights reserved