Logo by Pauldelbrot - 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: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 25, 2024, 11:22:59 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: V1.21 OpenCL menger sponge & prism shape  (Read 989 times)
0 Members and 1 Guest are viewing this topic.
mclarekin
Fractal Senior
******
Posts: 1739



« on: July 13, 2016, 10:10:32 AM »

I have quickly thrown together this example, thanks to Knighty for the maths and code.
The attached files are for V1.21 custom formulas.

rename the two .txt files to .c files, and place in the custom_ocl_formulas folder file,  the .fract is the default setting file

A restriction with V1.21 custom formulas,  is that there are only 15 parameter boxes.

In this example 12 are used as follows:

0, 1, 2 are  pre-menger additions to z.x, z.,y, z.z
3, 4, 5 are  post-menger additions to z.x, z.,y, z.z
6, 7, 8 are  muliplications to a vector applied to z.x, z.,y, z.z in prism shape
12 is the menger sponge scale
13 is scaling a condition in the prism shape
14 turns on the prism shape by entering "1".

you can also use the three rotation parameters on the mandelbox tab.


* mgrPrism aaa1.fract (4.64 KB - downloaded 122 times.)
* cl_mgrPrism.txt (0.67 KB - downloaded 127 times.)
* cl_mgrPrismInit.txt (1.32 KB - downloaded 116 times.)
« Last Edit: July 19, 2016, 09:35:11 AM by mclarekin, Reason: change subject title » Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
A Menger Sponge Images Showcase (Rate My Fractal) David Makin 5 5361 Last post April 02, 2007, 03:16:32 AM
by bradorpoints
Menger sponge fly-through 3D Fractal Generation twinbee 10 6957 Last post February 16, 2009, 05:43:21 AM
by twinbee
4D Menger sponge Sierpinski Gasket « 1 2 » makc 27 18257 Last post December 09, 2016, 04:01:39 PM
by knighty
Prism Shape hybrid. Mandelbulber Gallery mclarekin 0 1181 Last post June 27, 2016, 01:45:16 AM
by mclarekin
Prism Shape hybrid 3.1 Mandelbulber Gallery mclarekin 0 863 Last post June 28, 2016, 04:12:46 AM
by mclarekin

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.13 seconds with 26 queries. (Pretty URLs adds 0.007s, 2q)