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: 226
Posts: 226   Pages: 23   [ 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 704999 times and has 225 replies Next Thread
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
shock Re: Photo-video rendering plug-in

I follow the process but none update.

More, I've lost an option of the menu...



sad
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Apr 17, 2018, 1:29: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




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
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.

Follow this method for installing the plug-in:
  • Download the latest version
  • Open the PhotoVideoRendering-xxx.zip compressed folder
  • Double-click on the PhotoVideoRendering.sh3p file
    (If you use the portable version of SH3D, put the .sh3p file in the data/plugins folder)

    Sweet Home 3D then displays:
  • either a first installation message

  • or a replacement message

    click on Replace

    Hoping that it will be useful to everyone!
    ----------------------------------------
    EnkoNyito
  • [Apr 21, 2018, 12:12:20 AM] 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 Enko.

    It works fine ! applause
    ----------------------------------------
    Evil progresses when good people do nothing!
    ---
    SH3D 7.1 and nothing else - W11 64b in 4K
    [Apr 21, 2018, 2:53:28 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




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

    Version 1.5
    - management of other types of light (PointLight, TriangleMeshLight)

    Libraries Other types of light only 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
    [May 28, 2018, 5:46:24 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: 637
    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




    Joined: May 28, 2015
    Post Count: 607
    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




    Joined: May 28, 2015
    Post Count: 607
    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 
    Posts: 226   Pages: 23   [ 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 2024 Space Mushrooms - All rights reserved