Logo by lycium - Contribute your own Logo!
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. July 28, 2017, 12:57:52 PM


Login with username, password and session length



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: fractalforums shader project  (Read 647 times)
0 Members and 1 Guest are viewing this topic.
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« on: May 31, 2015, 12:36:48 AM »

so people, the thought is now made public, i already asked subblue for some help, but i think this could be discussed openly, so that anyone who is experienced could provide input

prethoughts:

fragmenatium like editors feature nice shader editing function with user interface elements
shaderty one of the biggest web based shader editor does not feature nice user interface elements
shaders are a perfect way to demonstrate mathematical stuff at a central place

so, my idea:

provide a fractalforums.com shader-database similar to the already existing gallery

this system should feature:

- user based shader
- shader categories
- roughly same metadata like fragmentarium, for user interface
- include mechanism based on shader-ids (e.g. #include "fractalforums/shaderID")

the main idea with the include mechanism would be to provide base global includes where a new shader would just need to define the DE method

i can do all backend api work to provide an api for the include mechanism and the whole forums plugin development, for the user system i already asked
subblue for some help
Logged

---

divide and conquer - iterate and rule - chaos is No random!
LMarkoya
Strange Attractor
***
Posts: 279



« Reply #1 on: May 31, 2015, 02:03:09 AM »

I for one think it would be awesome if subblue helped, his program and his work rocks, it will be a huge day in fractaldom when he releases his code
Logged
3dickulus
Fractal Senior
******
Posts: 1524



WWW
« Reply #2 on: May 31, 2015, 02:03:49 AM »

Bravo! This sounds like fun and adventure.
Logged

Resistance is fertile...
You will be illuminated!

                            #B^]
laser blaster
Iterator
*
Posts: 178


« Reply #3 on: May 31, 2015, 02:52:57 AM »

Sounds like a great idea!

I have a feature suggestion that would make viewing/zooming 3D fractals more functional and intuitive:
Allow the user to set a focal point for zooming and rotation by clicking somewhere on the fractal. The program would read from the depth buffer to determine it's 3D coordinates (to make clicking on thin features easier, you could take the closest depth value of several pixels within a certain radius), and it would be set as the center of rotation. Rotation could be done by holding shift and clicking and dragging on a point- the camera would then rotate around that point. Zooming could be done in a logarithmic way, meaning that for every scroll of the wheel (or whatever input is used for zooming), the camera moves a fixed percentage of the distance towards the focal point. The zoom speed would get slower as you get closer to the fractal, and there would be no need to manually adjust the zoom speed.

I often find myself wishing that Fragmentarium had this feature, it would be nice if you could implement it for this viewer!
Logged
3dickulus
Fractal Senior
******
Posts: 1524



WWW
« Reply #4 on: May 31, 2015, 03:46:44 AM »

@cK is this to be a shadertoy-like affair hosted at FF executing user DE in browser with an editor? or more like the existing image gallery where one can post an image with an explanation of what's going on and attached shader code (DE only).

@laser blaster click mouse, read depth buffer, set target = very easy , offset for world rotation = a little harder, I'll try the easy one first wink
Logged

Resistance is fertile...
You will be illuminated!

                            #B^]
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #5 on: May 31, 2015, 03:55:22 AM »

its a first thought, but it shall be closely sticked to the forums, making embedding of them as easy as posting [shader=12345]

Logged

---

divide and conquer - iterate and rule - chaos is No random!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #6 on: May 31, 2015, 03:56:47 AM »

@cK is this to be a shadertoy-like affair hosted at FF executing user DE in browser with an editor? or more like the existing image gallery where one can post an image with an explanation of what's going on and attached shader code (DE only).
more like shadertoy sticked to the forums, with providing an include mechanism for existant shaders, in a way that includes could be drop downs from a shader gallery folder wink
Logged

---

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



WWW
« Reply #7 on: May 31, 2015, 04:12:49 AM »

so I post shader 12345 and reffer to it in a posting as [shader=12345] to show the code running
and can possibly combine DE functons by #include fractalforums/shaderID in my shader afro

the FF shader project sounds like a worthy project.  A Beer Cup
Logged

Resistance is fertile...
You will be illuminated!

                            #B^]
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #8 on: June 02, 2015, 09:37:51 PM »

yes, something like that, i thought a bit more about it, and will implement it with the following goals in mind:

- easy shader embedding like in the post before
- good parameter storage, a parameter set is a special kind of shader, with just parameters but available as single entries in the shader database, in a way that propertie settings can be included in an include, or a large parameter set range

used in a shader this way, and the system shall recognise it and provide a dropdown for this particular include and accompany it with param setting:
#include fractalforums/shaderID/presetID

the system should be that stable to get along easily with heavily linked parameters/includes, an include may include another one with params and so on, at least to a certain level (10?) this should be possible


it will take a while and everyone wanting to help in this is welcomed to contact me or write here
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
DirectX 11 compute shader / Directx 10 Pixel shader implementation Mandelbulb Implementation cbuchner1 2 3174 Last post November 29, 2009, 12:32:26 AM
by cbuchner1
3D fractals using shader 2 3D Fractal Generation David Makin 4 1810 Last post October 14, 2010, 06:10:59 PM
by David Makin
Shader 2 coding Programming David Makin 10 2146 Last post November 16, 2010, 09:13:36 PM
by David Makin
shader project - glsl DE function collection Let's collaborate on something! cKleinhuis 3 517 Last post June 09, 2015, 11:51:32 AM
by cKleinhuis
Unit3D Graphics Shader Project mandelbox implementation 3D Fractal Generation Mrz00m 1 353 Last post February 28, 2016, 08:45:46 PM
by 3dickulus

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.175 seconds with 28 queries. (Pretty URLs adds 0.013s, 2q)