Details about rendering engine

This topic has been viewed 4182 times and has 1 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
nasevz
Posts: 1
Joined: Thu Sep 22, 2011 10:40 am

Details about rendering engine

Post by nasevz »

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?
User avatar
alied
Posts: 40
Joined: Tue Sep 08, 2009 9:53 pm
Country: Rosario, Santa Fe, Argentina

Re: Details about rendering engine

Post by alied »

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

Code: Select all

public PhotoRenderer(Home, Object3DFactory, Quality)
and

Code: Select all

public void render(BufferedImage, Camera, ImageObserver)
As for levels 1 and 2, you can start by PhotoPanel.java[2], specially

Code: Select all

private void computePhoto(Home home)
[1]http://sweethome3d.cvs.sourceforge.net/ ... iew=markup
[2]http://sweethome3d.cvs.sourceforge.net/ ... iew=markup
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest