Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: Photo-video rendering plug-in
I do not know if this is the general case but I prefer to display the extensions of files whose type is known. For example, the Sweet Home 3D types recognized by the operating system are sh3p (plugins), sh3f (furniture) and sh3l (languages). The sh3t type (textures) is not recognized as a Sweet Home 3D type.
By clicking Help -> About... -> Libraries... , you can only see the list of plug-ins recognized by Sweet Homme 3D even though many more are installed.
As Emmanuel Puybaret suggests, it can be useful to do a little cleaning by removing all plug-ins starting with PhotoVideoRendering or PVR especially if you have installed test versions.
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: Photo-video rendering plug-in
Version 1.5 - management of other types of light (PointLight, TriangleMeshLight)
Libraries Other types of lightonly compatible with this plug-in, containing: - 3 light panels of modifiable color - 6 light points of different colors Available in the Light sources category.
----------------------------------------
EnkoNyito
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
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?
Joined: May 28, 2015
Post Count: 607
Status:
Offline
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.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
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.
Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status:
Offline
Re: Photo-video rendering plug-in
TY enkonyito !
I found a solution for my opaque windows with your objects and PVR 1.5.
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.
----------------------------------------
Evil progresses when good people do nothing! --- SH3D 7.1 and nothing else - W11 64b in 4K