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: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3169 times and has 1 reply Next Thread
nasevz
Newbie




Joined: Sep 22, 2011
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Details about rendering engine

Can somebody tell me where to find details about rendering in sweet home 3D? It is for educational purposes and I need deeper explanation of how it works.
As far as I understood, Sunflow is used for level 3 and level 4 quality. What about level 1 and 2?
Which parameters are passed to Sunflow in level 3 and 4 and which shaders are used?
[Sep 22, 2011, 12:02:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
alied
Member
Member's Avatar

Argentina
Joined: Sep 8, 2009
Post Count: 40
Status: Offline
Reply to this Post  Reply with Quote 
Re: Details about rendering engine

Hi nasevz
You can find all your answers in PhotoRenderer.java[1]; specially the constructor

public PhotoRenderer(Home, Object3DFactory, Quality)

and

public void render(BufferedImage, Camera, ImageObserver)

As for levels 1 and 2, you can start by PhotoPanel.java[2], specially

private void computePhoto(Home home)


[1]http://sweethome3d.cvs.sourceforge.net/viewvc...Renderer.java?view=markup
[2]http://sweethome3d.cvs.sourceforge.net/viewvc...sion=1.47&view=markup
[Sep 23, 2011, 2:54:39 AM] 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