How to rebuild Sunflow for Sweet Home 3D?

This topic has been viewed 7559 times and has 2 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
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

How to rebuild Sunflow for Sweet Home 3D?

Post by enkonyito »

As indicated in Sunflow wiki page 57, you can change the value of groundExtendSky in SunSkyLight.java file then recompile Sunflow for it to take effect.

Image
groundExtendSky = false

Image
groundExtendSky = true


Following the directions in the README.TXT file of sunflow-0.07.3i-src-diff folder in Sweet Home 3D source code, a sunflow-0.07.3i.jar file is created in the release folder of Sunflow source code.

Is this the right method to rebuild Sunflow for Sweet Home 3D?
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to rebuild Sunflow for Sweet Home 3D?

Post by Puybaret »

You can use the default way provided by SunfFlow too, and rename Sunflow jar file afterwards.
It's just the way proposed in the provided build.xml creates a smaller Jar excluding useless classes.
Emmanuel Puybaret, Sweet Home 3D creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: How to rebuild Sunflow for Sweet Home 3D?

Post by enkonyito »

The other method works by pasting modified files for Sweet Home 3D in Sunflow directory.

In SH3D, differences are visible in the rising or setting sun.
Image
groundExtendSky false_samples 0
Image
groundExtendSky true_samples 0

Image
groundExtendSky false_samples 16
Image
groundExtendSky true_samples 16
EnkoNyito
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests