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 5880 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 
How to rebuild Sunflow for Sweet Home 3D?

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.


groundExtendSky = false


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
[Apr 3, 2016, 4:58:17 AM] 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: How to rebuild Sunflow for Sweet Home 3D?

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 developer
[Apr 3, 2016, 2:22: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 
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 rebuild Sunflow for Sweet Home 3D?

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.

groundExtendSky false_samples 0

groundExtendSky true_samples 0


groundExtendSky false_samples 16

groundExtendSky true_samples 16
----------------------------------------
EnkoNyito
[Apr 6, 2016, 1:50:01 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