Logo by Trifox - 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 us on facebook
 
*
Welcome, Guest. Please login or register. September 19, 2019, 07:51:16 PM


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 488 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 74 times.)
* cl_mgrPrism.txt (0.67 KB - downloaded 71 times.)
* cl_mgrPrismInit.txt (1.32 KB - downloaded 68 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
Menger sponge fly-through 3D Fractal Generation twinbee 10 4373 Last post February 16, 2009, 05:43:21 AM
by twinbee
3D menger sponge fly through Movies Showcase (Rate My Movie) DonWebber 0 1564 Last post September 14, 2010, 01:01:18 AM
by DonWebber
Through the Menger Sponge Movies Showcase (Rate My Movie) Michael Scharrer 0 305 Last post October 17, 2015, 05:55:43 PM
by Michael Scharrer
Prism Shape hybrid. Mandelbulber Gallery mclarekin 0 260 Last post June 27, 2016, 01:45:16 AM
by mclarekin
Prism Shape hybrid 3.1 Mandelbulber Gallery mclarekin 0 358 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.113 seconds with 29 queries. (Pretty URLs adds 0.006s, 2q)