Additional Sunflow options (tests)

This topic has been viewed 18666 times and has 13 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
Ceciliabr
Posts: 637
Joined: Sun Jul 07, 2013 3:41 pm
Country: Copenhagen, Denmark
Contact:

Re: Additional Sunflow options (tests)

Post by Ceciliabr »

@ enkonyito

Maybe this is not the right thread to discuss this, but I'm somewhat puzzled by the way Sunflow handles shininess.
It's like shininess is either on or off, with nothing in between.
I have done several tests on this, and I'm really wondering if the shininess slider has any function at all.
Is this just a result of the limitations imposed by SH3D, or is this a real Sunflow limitation?


Cec
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Additional Sunflow options (tests)

Post by enkonyito »

@Ceciliabr
It's like shininess is either on or off, with nothing in between.
In the Modify furniture panel, [font=courier new]Matt=0[/font] and [font=courier new]Shiny=0.5[/font].
In the Furniture materials panel, [font=courier new]Matt=0[/font] and [font=courier new]Shiny=1[/font]. The Java 3D preview lets you see the difference in shininess.

When rendering, Sunflow applies a shader to the material that "changes" the shininess. (see pages 14 to 23 of Sunflow Wiki PDF)

Is this just a result of the limitations imposed by SH3D, or is this a real Sunflow limitation?
As Puybaret had told me : "There's no limitation".
Sunflow's standard configuration in Sweet Home 3D is based on several tests performed in 2010 (Test 1, Test 2).

Enko
EnkoNyito
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Additional Sunflow options (tests)

Post by enkonyito »

* Option:
-bucket X Y

Changes the default bucket size to n pixels and the default order (BucketRenderer, MultipassRenderer).
Sunflow default value: bucketSize = 32, bucketOrder = hilbert.
SH3D default value: bucketSize = 64, bucketOrder = spiral.

SH3D implementation:
[font=courier new]int bucketSize = 16; // min = 16, max = 512
this.sunflow.parameter("bucket.size", bucketSize);
String bucketOrder = "spiral"; // hilbert, spiral, column, row, diagonal or random can be reversed
this.sunflow.parameter("bucket.order", bucketOrder);
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);[/font]

Image Image Image
Image Image Image
EnkoNyito
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Additional Sunflow options (tests)

Post by enkonyito »

These options will no longer be managed in the next version of the photo-video rendering plug-in.
EnkoNyito
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests