Logo by KRAFTWERK - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. September 19, 2018, 07:36:57 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 [2]   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: 3D Barnsley ferns and firs  (Read 5479 times)
0 Members and 1 Guest are viewing this topic.
phtolo
Navigator
*****
Posts: 79



« Reply #15 on: February 01, 2015, 06:43:15 PM »

Been playing with the 3d fern variant.

Code:
xform
scale 0, 0.2, 0
weight 0.01

xform
scale 0.9, 0.9, 0.9
rotate z, 2
rotate y, 145    //added on picture III
translate 0, 0.1, 0
weight 0.8

xform
scale 0.2, -0.35, 0.2
rotate z, -110
translate 0, 0.15, 0
weight 0.07

xform
scale 0.2, 0.35, 0.2
rotate z, -70
translate 0, 0.15, 0
weight 0.07

xform   //added on picture II
scale 0.2, -0.35, 0.2
rotate x, -110
translate 0, 0.15, 0
weight 0.07

xform   //added on picture II
scale 0.2, 0.35, 0.2
rotate x, -70
translate 0, 0.15, 0
weight 0.07


http://www.phtolo.se/fractals/fern3dv2.jpg

With only minor changes to this something looking a lot like the Romanesco broccoli appears:

Code:
newmap
scale 0,0.4,0
weight 0.01

newmap
scale 0.9,0.9,0.9
rotate y,145
translate 0,0.05,0
weight 0.8

newmap
scale 0.3,0.5,0.3
rotate z,70
translate 0,0.2,0
weight 0.07

newmap
scale 0.3,0.5,0.3
rotate z,-70
translate 0,0.2,0
weight 0.07

newmap
scale 0.3,0.5,0.3
rotate x,-70
translate 0,0.2,0
weight 0.07

newmap
scale 0.3,0.5,0.3
rotate x,70
translate 0,0.2,0
weight 0.07


http://www.phtolo.se/fractals/romanesco.jpg
« Last Edit: February 01, 2015, 07:12:35 PM by phtolo » Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #16 on: February 01, 2015, 07:04:23 PM »

 A Beer Cup A Beer Cup A Beer Cup

Bigger image please cheesy
Logged

No sweat, guardian of wisdom!
phtolo
Navigator
*****
Posts: 79



« Reply #17 on: February 01, 2015, 07:14:08 PM »

Bigger image please cheesy

Added links to the images
Logged
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #18 on: February 01, 2015, 08:23:00 PM »

Wow, lovely broccolo!!!  A Beer Cup
Logged

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #19 on: February 01, 2015, 10:58:44 PM »

Too bad those 3D ifs are hard to code as escape time, knighty was able to do that for just 2 cheesy
Logged

No sweat, guardian of wisdom!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #20 on: February 01, 2015, 11:16:53 PM »

so, cant that be used to produce some insight?! is a brocolli related to a fern ?!?!? i mean because when a 3d fern produces a brocoli ... just sayin' lol wink
Logged

---

divide and conquer - iterate and rule - chaos is No random!
knighty
Fractal Iambus
***
Posts: 819


« Reply #21 on: February 05, 2015, 09:20:31 PM »

That brocolli looks tasty.
knighty was able to do that for just 2 cheesy
That was just me being lazy. In principle you can do it for any number of transformations. That one is intended to be used on GPU because there is not lot of memory available. On CPU you can use a priority queue to do the job.
That said, DE is not the best method to render linear IFS. Ray tracing (+ splatting or using z-buffer) is much more efficient. On the other side, hybridising with other nonlinear formulas (maybe) would be easier with DE.
Logged
phtolo
Navigator
*****
Posts: 79



« Reply #22 on: February 07, 2015, 06:55:32 PM »

The broccoli can be reduced to 3 transforms (without stem).

Code:
xform
scale 0.75
rotate y,225
translate 0,0.12,0
weight 0.3

xform
rotate y,360/7
weight 0.8

xform
scale 0.3,-0.5,0.3
rotate z, -110
translate 0,0.2,0
weight 0.07

Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #23 on: February 08, 2015, 12:55:12 AM »

Good news! smiley
Logged

No sweat, guardian of wisdom!
Pages: 1 [2]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Introduction to Fractal Ferns IFS - Iterated Function Systems Jules Ruis 0 1865 Last post October 11, 2006, 12:37:03 PM
by Jules Ruis
Barnsley Nebula Mandelbulb3D Gallery bib 0 338 Last post March 27, 2011, 12:32:51 PM
by bib
Barnsley 4D samples Mandelbulb3D Gallery DarkBeam 0 567 Last post April 01, 2011, 07:35:31 PM
by DarkBeam
Barnsley Ribbons Ultrafractal Jimmie 0 627 Last post June 16, 2012, 11:22:11 AM
by Jimmie
Sea Ferns, Cardioid Tip Images Showcase (Rate My Fractal) Eric B 0 508 Last post October 24, 2012, 01:46:53 AM
by Eric B

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