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


Joined: May 28, 2015
Post Count: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to find the vertices of a 3D shape?

@ndorigatti
So that you can have the whole mesh to light up? Could be interesting for my Philips homroo light model, where the glass part would be a mesh light!
Yes it's the whole object that lights up like a 3D silhouette.
For your model, perhaps you could extract the glass part to turn it into light and then group it to the rest.


@Puybaret
Maybe this could be bound to triangles orientation. Did you try to reverse the order of the vertices?
By reversing the order of the vertices indices of each face, the emission of the light is oriented on the opposite side.
As there is no change of the scene (several geometric shapes) between each rendering (without closing the photo panel), I wonder if Sunflow would not keep some parameters in memory (after Java 3D export) which would have the consequence a random rendering. Especially with only one geometric shape present in the scene, the rendering is always correct.
triangle mesh light_geometric shape.sh3d


For those who want to test the mesh light rendering, first add these keys and their property values
lightSourceX#n=0
lightSourceY#n=0
lightSourceZ#n=0
lightSourceColor#n=#919189
description#n=TriangleMeshLight
to your object in the PluginFurnitureCatalog.properties file of your light library.
Then install the PVR-1.7betaTest plug-in (simple photo rendering only).
----------------------------------------
Attachment PVR-1.7betaTest.sh3p (336242 bytes) (Download count: 536)

----------------------------------------
EnkoNyito
[Nov 27, 2018, 2:53:02 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: How to find the vertices of a 3D shape?

Have you been able to turn objects into a triangle mesh light library?

How are they rendered?

Do you find this feature useful as a future version of the photo plug-in?
----------------------------------------
EnkoNyito
[Jan 24, 2019, 9:15:43 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: How to find the vertices of a 3D shape?

As this beta version of the plug-in is not 100% functional and does not seem to interest anyone, I do not think it will be made public.
----------------------------------------
EnkoNyito
[Mar 6, 2019, 11:44:54 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: How to find the vertices of a 3D shape?

With the YafaRay rendering engine it is no longer necessary to search for the coordinates of the vertices of an object.
Just use meshlight type light with the object ID .


----------------------------------------
EnkoNyito
[Mar 10, 2020, 2:43:43 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: 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-2024 eTeks - All rights reserved