Logo by stereoman - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 24, 2024, 04:52:57 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: When do sliders normalize?  (Read 1155 times)
0 Members and 1 Guest are viewing this topic.
Patryk Kizny
Global Moderator
Fractal Fertilizer
******
Posts: 372



kizny
WWW
« on: July 12, 2015, 11:10:11 PM »

What does determine if a uniform vec3 slider will behave as an auto-normalizing one and when it would let me adjust its components separately and above 1.0 limit?
Logged

Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: July 12, 2015, 11:37:38 PM »

it is decided by the script using them, as far as i know fragmentariums has not a dedicated direction input elements  ( like synthclipse has  tease ),
you may play with it by finding the "normalize()" call in the shader script
Logged

---

divide and conquer - iterate and rule - chaos is No random!
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #2 on: July 13, 2015, 02:56:11 AM »

Code:
uniform vec3 Direction; slider[(0,0,0),(0,1,0),(0,0,0)] NotLockable

 1st (0,0,0) = minimum
2nd (0,1,0) = current value
3rd  (0,0,0) = maximum

when you define a vec3 slider, if minimum == maximum == 0 it should get normalized at the widget input level, so, before it gets to the shader.
afaik this is how to define a dedicated Direction input huh?  tease
« Last Edit: July 13, 2015, 05:40:05 AM by 3dickulus, Reason: :hmh: :tease: » Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Patryk Kizny
Global Moderator
Fractal Fertilizer
******
Posts: 372



kizny
WWW
« Reply #3 on: July 14, 2015, 12:39:25 PM »

Thanks!
Logged

Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Sliders Mandelbulb 3d PhotoComix 0 1400 Last post February 27, 2012, 07:00:09 PM
by PhotoComix
Color sliders on mandelbulb 3d feature request « 1 2 3 » Lalla 43 7341 Last post September 09, 2012, 04:15:03 PM
by Alef
Sliders feature request Spain2points 0 1132 Last post December 04, 2015, 01:12:44 PM
by Spain2points
4D rotatation sliders Mandelbulb 3d holomind 3 1547 Last post May 12, 2017, 09:27:12 PM
by Madman
Adjustment sliders in Navigation window Mandelbulb 3d holomind 1 4104 Last post May 12, 2017, 10:42:14 PM
by holomind

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.132 seconds with 25 queries. (Pretty URLs adds 0.01s, 2q)