scottdraves / flam3

the original fractal flame renderer and genetic language
GNU General Public License v3.0
394 stars 73 forks source link

hsv_circular forced? #10

Open scottdraves opened 8 years ago

scottdraves commented 8 years ago

test.flam3 has palette_interpolation="hsv", and it's not in frame.template, so why is the result circular?

sheep@localhost:~$ env template=frame.template rotate=test.flam3 flam3-genome | head
<pick version="FLAM3-LNX-v3.1.1">
<flame version="FLAM3-LNX-v3.1.1" time="-1" name="-1.000000" size="1280 720" center="-0.706636 -1.2852" scale="101.404" rotate="-1485.93" supersample="4" filter="1" filter_shape="gaussian" temporal_filter_type="box" temporal_filter_width="1.2" quality="2000" passes="1" temporal_samples="1000" background="0 0 0" brightness="40" gamma="4" highlight_power="1" vibrancy="1" estimator_radius="11" estimator_minimum="0" estimator_curve="0.6" gamma_threshold="0.01" palette_mode="linear" interpolation_type="linear" palette_interpolation="hsv_circular">
   <xform weight="0.951" color="0" color_speed="0.1" animate="0" linear="1" coefs="-0.156987 1.03957 -1.03283 -0.155969 0.546344 0.915205" opacity="1"/>
   <xform weight="0.102" color="1" color_speed="0.935" animate="1" disc="0.6" fisheye="0.5" coefs="54.5313 866.75 -866.75 54.5313 -4655.53 -2409.45" post="-2.47373 -0.257652 1.67525 -0.960895 -3.1701 -0.145936" opacity="1"/>
   <xform weight="1" color="0" color_speed="0.5" animate="1" julia="1" coefs="-0.661312 0.750111 -0.750111 -0.661312 0 0" opacity="1"/>
   <xform weight="0.5" color="1" color_speed="0.5" animate="1" linear="0.001" julian="0.552028" julian_power="200" julian_dist="5" coefs="0.073158 0.494622 -0.494622 0.073158 -0.386931 -0.548076" post="1 0 0 1 0.319327 0.119299" opacity="1"/>
   <xform weight="0.5" color="0" color_speed="0.5" animate="1" linear="1" coefs="1.91116 -0.12024 0.12024 1.91116 1.4977 -1.73891" post="0.054203 0 0 0.054203 -0.041426 -0.011715" opacity="1"/>
   <xform weight="0.5" color="1" color_speed="0.5" animate="1" spherical="1" coefs="2.09902 -0.132059 -0.132059 -2.09902 0.851611 -2.80615" post="0.054203 0 0 0.054203 -0.041426 -0.011715" opacity="1"/>
   <xform weight="0.5" color="0" color_speed="0.5" animate="1" linear="1" coefs="-1.94927 0.122637 -0.122637 -1.94927 -1.43956 -0.186071" post="0.054203 0 0 0.054203 -0.041426 -0.011715" opacity="1"/>
   <finalxform color="1" color_speed="0" linear="-0.632" spherical="1" coefs="1.25 0 0 1.25 0.068807 -0.104416" opacity="1"/>
sheep@localhost:~$ cat frame.template 
<flame interpolation_space="linear"/>
sheep@localhost:~$ head test.flam3 
<flame version="FLAM3-LNX-v3.1.1" time="0" name="electricsheep.247.02246" size="1280 720" center="-0.706636 -1.2852" scale="101.404" rotate="-1485.93" supersample="4" filter="1" filter_shape="gaussian" temporal_filter_type="box" temporal_filter_width="1.2" quality="2000" passes="1" temporal_samples="1000" background="0 0 0" brightness="40" gamma="4" highlight_power="1" vibrancy="1" estimator_radius="11" estimator_minimum="0" estimator_curve="0.6" gamma_threshold="0.01" palette_mode="linear" interpolation_type="log" palette_interpolation="hsv">
   <xform weight="0.951" color="0" color_speed="0.1" animate="0" linear="1" coefs="-0.156987 1.03957 -1.03283 -0.155969 0.546344 0.915205" opacity="1"/>
   <xform weight="0.102" color="1" color_speed="0.935" animate="1" disc="0.6" fisheye="0.5" coefs="0 868.464 -868.464 0 -4655.53 -2409.45" post="-2.47373 -0.257652 1.67525 -0.960895 -3.1701 -0.145936" opacity="1"/>
   <xform weight="1" color="0" color_speed="0.5" animate="1" julia="1" coefs="-0.707107 0.707107 -0.707107 -0.707107 0 0" opacity="1"/>
   <xform weight="0.5" color="1" color_speed="0.5" animate="1" linear="0.001" julian="0.552028" julian_power="200" julian_dist="5" coefs="0.041956 0.49824 -0.49824 0.041956 -0.386931 -0.548076" post="1 0 0 1 0.319327 0.119299" opacity="1"/>
   <xform weight="0.5" color="0" color_speed="0.5" animate="1" linear="1" coefs="1.91494 0 0 1.91494 1.4977 -1.73891" post="0.054203 0 0 0.054203 -0.041426 -0.011715" opacity="1"/>
   <xform weight="0.5" color="1" color_speed="0.5" animate="1" spherical="1" coefs="2.10317 0 0 -2.10317 0.851611 -2.80615" post="0.054203 0 0 0.054203 -0.041426 -0.011715" opacity="1"/>
   <xform weight="0.5" color="0" color_speed="0.5" animate="1" linear="1" coefs="-1.95312 0 0 -1.95312 -1.43956 -0.186071" post="0.054203 0 0 0.054203 -0.041426 -0.011715" opacity="1"/>
   <finalxform color="1" color_speed="0" linear="-0.632" spherical="1" coefs="1.25 0 0 1.25 0.068807 -0.104416" opacity="1"/>
   <color index="0" rgb="172 64 84"/>
scottdraves commented 8 years ago

in fact if i put palette_interpolation="hsv" into frame.template this still happens....