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: 216
Posts: 216   Pages: 22   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 589082 times and has 215 replies Next Thread
Ceciliabr
Advanced Member
Member's Avatar

Denmark
Joined: Jul 7, 2013
Post Count: 619
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

I love it!



We can see how beautiful the light panel makes the light fall on her hair and arms.

And we can see the point light reflecting in her eyes.




Great, great, great job!
This takes lighting in SH3D to a new level.

Cecilia
[May 29, 2018, 1:31:33 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

We can see how beautiful the light panel makes the light fall on her hair and arms.

And we can see the point light reflecting in her eyes.
Glad to see you've found a good use for these new lights!

This takes lighting in SH3D to a new level.
I think so too.

I hope they will also be useful to others.

Enko
----------------------------------------
EnkoNyito
[May 29, 2018, 3:25:50 AM] 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: Photo-video rendering plug-in

This takes lighting in SH3D to a new level.
It does indeed. Quite amazing. Congratulations and thanks, enkonyito! Without yet having had much time to experiment, it seems to me that the new light types can give softer illumination with fewer light sources, and that rendering (therefore?) will be faster. Looking forward to testing further even if I suspect I shall have to rely on examples and intructions to make full use of your work.

Forgive me for asking a couple of what probably may be silly questions/wishes:

  • does the renderer rely on the description field to determine the type?
    description#1=PointLight type
    description#2=TriangleMeshLight type

  • Would adding a planIcon# simplify placement of the different lights in the 2D view?
  • Could also having a TriangleMeshLight with other colours be useful?
    Something closer to incandecent (lightSourceColor#2=#BB9854) maybe?
ok
[May 29, 2018, 11:53:51 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

@okh

it seems to me that the new light types can give softer illumination with fewer light sources
This is especially true for light panels (TriangleMeshLight type) as shown in the Sunflow doc (page 54).
I also found it in my renderings to simulate the interior natural light.

does the renderer rely on the description field to determine the type?
Yes, the PhotoRenderer class uses the description of the light object to differentiate types.
String lightDescription = light.getDescription();
// SphereLight type
if (lightDescription == null
|| lightDescription.contains("SphereLight")) {
...
}
// PointLight type
else if (lightDescription.contains("PointLight")) {
...
}
// TriangleMeshLight type
else if (lightDescription.contains("TriangleMeshLight")) {
...
}
We can then assign a type to a light we want to create.
The TriangleMeshLight type is special because the coordinates of the vertices are statically encoded so the shape is limited to a single-sided panel.
As it is rotating, nothing prevents to use it for an existing object.
(Light panel #1: opaque when off, Light panel #2: invisible when off, Light panel #3: visible when selected and not viewable in rendering).

Would adding a planIcon# simplify placement of the different lights in the 2D view?
For those I created, given their depths, it was not really necessary but if you want to add a type to the description of your lights it could be useful.

Could also having a TriangleMeshLight with other colours be useful?
Something closer to incandecent (lightSourceColor#2=#BB9854) maybe?
The default color is daylight (lightSourceColor#2=#6D7991) but since the PhotoRenderer class retrieves the color of the object to use as a light source color, you can change it.
int lightColor = lightSource.getColor();
HomeMaterial[] lightMaterial = light.getModelMaterials();
if (light.getColor() != null) {
lightColor = light.getColor();
} else if (lightMaterial != null && lightMaterial.length == 1
&& lightMaterial[0].getColor() != null) {
lightColor = lightMaterial[0].getColor();
}

----------------------------------------
EnkoNyito
[May 30, 2018, 3:56:45 AM] 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: Photo-video rendering plug-in

Thanks for this. Did experiment some more, and - as you say - the light panels (TriangleMeshLight type) are especially useful for creating softer illumination. And very useful it is, as I cannot be bothered with lots of lightsources around the room to get the perfect render. With the TriangleMeshLight it is easy to shape and adjust with one or two lamps. Made one with incandescent colour, icon and planIcon. While it is true, that a planIcon does not show when the model is kept at zero depth, SH3D will let you resize also the depth, and voilà, the planIcon is visible showing the direction of the light. For now this does the trick for me. I might make a fireglow-ish one at some point (lots of fireplaces and candles here) and possibly experiment some with angles.

Thanks again - very very useful set of tools.

ok
[May 30, 2018, 2:22:38 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: Photo-video rendering plug-in

TY enkonyito ! hugs

I found a solution for my opaque windows with your objects and PVR 1.5. applause applause applause


In this first picture, light panels (in front of window) are at 0% : we see external flowers.


In this second picture, we have opacity and light with :
at left of the door, the light panel is at 5%,
at right of the door: a light panel is at 50%.
=> We don't see external objects, just light.

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



Russia
Joined: Jan 30, 2018
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Very good tools! They give new opportunities. Thank you!
[/img] https://www.mediafire.com/convkey/28d0/p1uv3t6tmfz8tnk6g.jpg
[Jul 30, 2018, 8:27:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Mike53
Advanced Member



UK
Joined: Jan 6, 2018
Post Count: 677
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Hi enkonyito.
Hopefully you will be able to help me. I am struggling to use the no.3 light source with 1.5 plug in.
If i rotate it on x axis 90 degrees i get this :-

Good illumination but bad appearance


If i rotate it on x axis 270 degrees i get this :-

No illumination but good appearance


And if i use the icon from the tool bar

very good illumination but poor appearance


and i have no idea what is illuminating the outer frame of the garage door.

The other thing i have noticed is that if you resize or rotate the sources they appear normal in the plan, but, if you then copy / paste them they appear vertical again.
If you'll pardon the pun, i hope you can shed some light on my issues, I am sure i am missing something.
Mike
[Sep 8, 2018, 3:55:19 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Hi Mike,

For the next version of the plug-in, there will be an update of the light source libraries with more explicit names.

Regarding the light panels, one side emits light and they do not work with the standard photo panel. The other side is invisible.
- 90 degree rotation on the X axis: emitting face up
- 270 degrees rotation on the X axis: emitting face down
For the non-opaque light panel, the diagonal of the emitting face serves as a reference.

and i have no idea what is illuminating the outer frame of the garage door.
The simplest is that you send me your file.

The other thing i do not know what they're doing, but if they're going to be back to normal, but if they're going to be vertical again.
I did not encounter that kind of problem.

Enko
----------------------------------------
EnkoNyito
[Sep 8, 2018, 9:11:01 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

PhotoVideoRendering-1.6 plug-in
- compatibility with Sweet Home 3D 6.0 and higher
- management of new light sources
- use of a light panel as room ceiling light
- added Speed and Frame Rate fields in the video panel
- possibility to choose the type of path in the video panel

OtherLightTypes-1.1 libraries compatible only with this plug-in
- PointLight_type: 1 light point with modifiable color
- SphereLight_type: 3 light spheres with modifiable color
- TrianglemeshLight_type: 3 light panels including 2 with modifiable color
Available in the Light sources category.
----------------------------------------
EnkoNyito
[Oct 13, 2018, 8:04:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 216   Pages: 22   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ 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