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: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3220 times and has 2 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 
Reflection on lighting 3D view

By default, the 3D view uses Java3D lights to simulate ambient lighting because they do not cast shadows.

In the Light class, it is stated that Java 3D only supports an arbitrary number of lights.
Does that mean that it would not be possible to render a complex scene?

In this thread, a trick is used to take these additional lights into account.
----------------------------------------
EnkoNyito
[Nov 16, 2021, 4:08:36 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: Reflection on lighting 3D view

The current method addShadowOnFloor, does not take into account the direction of the sun.
Are there simpler cast shadow techniques to implement as the shadow mapping ?
----------------------------------------
EnkoNyito
[Nov 20, 2021, 3:59:39 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Reflection on lighting 3D view

If there was a simpler way, I think I would have tested that a long time ago…
Shadow mapping is probably not so complicated for one light source, but I fear that some graphics drivers won’t support shaders so well.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Nov 20, 2021, 4:28:02 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ 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