Triplex

  • 3 Replies
  • 99 Views

0 Members and 1 Guest are viewing this topic.

Offline 3DickUlus

  • *
  • 3f
  • ******
  • Posts: 1403
    • Digilantism
« on: October 05, 2019, 08:57:17 AM »
This is based on the following posts

http://www.fractalforums.com/mandelbulb-renderings/lambdabulb/msg9103/#msg9103
http://bugman123.com/Hypercomplex/ LambdaBulb

My attempt to port this code from Mathematica turned into this, it seemed like a good one at the time ;)







Linkback: https://fractalforums.org/code-snippets-fragments/74/triplex/3114/
« Last Edit: October 05, 2019, 10:16:56 AM by 3DickUlus »
Fragmentarium is not a toy, it is a very versatile tool that can be used to make toys ;)

https://en.wikibooks.org/wiki/Fractals/fragmentarium

Offline kosalos

  • *
  • Fractal Friar
  • *
  • Posts: 102
« Reply #1 on: October 05, 2019, 07:03:38 PM »
version 2.5.0.190811

Could not link vertex + fragment shader:
fatal error C9999: Unhandled expr op assign/(182) in createDag

I'll try 'unpacking' (define as 3 separate sliders)  the 3 part sliders for RotVector and JuliaC.
I had problems in a frag I wrote:  3 way sliders would work, but when I reloaded the frag the next day, it wouldn't compile anymore until I unpacked it.

Update:
3 way sliders are okay.
If I comment out "z *= rot;"  it compiles.


« Last Edit: October 05, 2019, 07:33:25 PM by kosalos »

Offline 3DickUlus

  • *
  • 3f
  • ******
  • Posts: 1403
    • Digilantism
« Reply #2 on: October 05, 2019, 09:36:04 PM »
This is a problem with a frag you wrote? So... Triplexbulb.frag is fine?

btw latest version is 2.5.0.190913

edit

"rot" requires...
Code: [Select]
#define providesInit
uniform vec3 RotVector; slider[(0,0,0),(1,1,1),(1,1,1)]
...
mat3 rot;
void init() {
rot = rotationMatrix3(normalize(RotVector), RotAngle);
}

Offline kosalos

  • *
  • Fractal Friar
  • *
  • Posts: 102
« Reply #3 on: October 05, 2019, 10:50:04 PM »
My trouble is with Triplex.
won't compile unless I comment out   z*=rot;
(just downloaded it again to be 100% sure I have the posted rendition).

I'll try a download of the newer fragM version you referenced, and try again.

update#2:
false alarm.    Frag works okay with latest EXE,   Version 2.5.0.190913.



« Last Edit: October 06, 2019, 12:55:15 AM by kosalos »


clip
Lambda Bulb (triplex math)

Started by 3DickUlus on Code Snippets (fragments)

1 Replies
74 Views
Last post October 24, 2019, 05:46:48 AM
by mclarekin