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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. March 29, 2024, 11:48:54 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: Heightfields using meshes  (Read 4086 times)
0 Members and 1 Guest are viewing this topic.
fractalrebel
Fractal Lover
**
Posts: 211



WWW
« on: November 22, 2009, 09:42:32 PM »

Here is a Mandelbrot heightfield fractal using meshes. The heights are calculated using a Vepstas/Harkonen algorithm, which is essentially an iteration smoothing algorithm that works for almost all fractal types. The mesh uses phong shading.


* MandelbrotMountain.jpg (34.87 KB, 640x512 - viewed 652 times.)
Logged

David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #1 on: November 23, 2009, 12:17:14 AM »

Hi Ron, adapting DE to work for heightfields may be a better option - I did some trials and got these on a Julia using a version of delta DE:

Solid on atan(smooth iter) @640*480 in 11.78 secs, maxiter 60, bailout 1024:



If no image above then look here:

http://makinmagic.deviantart.com/art/Julia-Iter-Heightfield-128717839

Solid on DE @640*480 in 11.28 secs, max iter 60, bailout 1024:



If no image above then go here:

http://makinmagic.deviantart.com/art/Julia-DE-Heightfield-128718029

I'm pretty sure an analytical DE could be developed for both solid on smooth iteration height and solid on DE height that would be more optimum than using delta DE.

Heightfields done using DE are definitely possible on other colourings too, but perhaps a little more difficult to impliment both fast and accurately.
« Last Edit: November 23, 2009, 12:22:47 AM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
fractalrebel
Fractal Lover
**
Posts: 211



WWW
« Reply #2 on: November 23, 2009, 07:03:26 PM »

To my eye, there is a lot of detail missing.
Logged

David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #3 on: November 23, 2009, 09:18:28 PM »

To my eye, there is a lot of detail missing.

I used a fairly high "solid threshold" on those and I've since improved the algorithm, here's some renders of a Mandy:

Atan(smooth iter):

http://www.fractalforums.com/gallery/?sa=view;id=1092

DE:

http://www.fractalforums.com/gallery/?sa=view;id=1093

DE zoom (higher detail):

http://www.fractalforums.com/gallery/?sa=view;id=1094
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
Duncan C
Fractal Fanatic
****
Posts: 348



WWW
« Reply #4 on: February 19, 2010, 04:34:06 AM »

To my eye, there is a lot of detail missing.

I used a fairly high "solid threshold" on those and I've since improved the algorithm, here's some renders of a Mandy:

Atan(smooth iter):

http://www.fractalforums.com/gallery/?sa=view;id=1092

DE:

http://www.fractalforums.com/gallery/?sa=view;id=1093

DE zoom (higher detail):

http://www.fractalforums.com/gallery/?sa=view;id=1094


David,

I can't get those links to work. They take me to top level pages here on Fractal Forums. Can you see if the links work for you?


Duncan C
Logged

Regards,

Duncan C
Duncan C
Fractal Fanatic
****
Posts: 348



WWW
« Reply #5 on: February 19, 2010, 04:43:39 AM »

Hi Ron, adapting DE to work for heightfields may be a better option - I did some trials and got these on a Julia using a version of delta DE:

Solid on atan(smooth iter) @640*480 in 11.78 secs, maxiter 60, bailout 1024:

<Quoted Image Removed>

If no image above then look here:

http://makinmagic.deviantart.com/art/Julia-Iter-Heightfield-128717839

Solid on DE @640*480 in 11.28 secs, max iter 60, bailout 1024:

<Quoted Image Removed>

If no image above then go here:

http://makinmagic.deviantart.com/art/Julia-DE-Heightfield-128718029

I'm pretty sure an analytical DE could be developed for both solid on smooth iteration height and solid on DE height that would be more optimum than using delta DE.

Heightfields done using DE are definitely possible on other colourings too, but perhaps a little more difficult to impliment both fast and accurately.


Like David, I have had good luck adapting DE values to create height maps. I then render them as triangle meshes using OpenGL.

I've created a lot of images this way. some examples:

A fairly conventional view of the whole Mandelbrot set in 3D:


An image colored using integer iteration values:



A 3D version of a plot from "The Beauty of Fractals": (map 49 from that book)


Another Mandelbrot set from a different perspective (with some clouds added after the fact)


And a Julia set rendered with much more dramatic height values, from a very close camera angle that makes it look like a flower:



Regards,

Duncan C
« Last Edit: February 19, 2010, 05:03:47 AM by Duncan C » Logged

Regards,

Duncan C
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #6 on: February 19, 2010, 09:16:24 AM »

Beautiful!

Logged

makc
Strange Attractor
***
Posts: 272



« Reply #7 on: February 19, 2010, 10:02:46 AM »

I think these images could be much better if you invert heights and assign water material to flat area (and also some rocky material instead of phong to everything else)
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #8 on: February 19, 2010, 09:59:54 PM »

To my eye, there is a lot of detail missing.

I used a fairly high "solid threshold" on those and I've since improved the algorithm, here's some renders of a Mandy:

Atan(smooth iter):

http://www.fractalforums.com/gallery/?sa=view;id=1092

DE:

http://www.fractalforums.com/gallery/?sa=view;id=1093

DE zoom (higher detail):

http://www.fractalforums.com/gallery/?sa=view;id=1094


David,

I can't get those links to work. They take me to top level pages here on Fractal Forums. Can you see if the links work for you?


Duncan C

Very strange ! Let's try this instead:

Atan(smooth iter):



DE:




DE zoom:


Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
makc
Strange Attractor
***
Posts: 272



« Reply #9 on: February 24, 2010, 01:19:19 AM »

btw what about using normal mapping? here's a rough test.


* 2.jpg (34.85 KB, 608x502 - viewed 307 times.)

* mandel_normal.png (168.48 KB, 512x512 - viewed 360 times.)
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #10 on: February 24, 2010, 01:32:33 AM »

it could create nice effects, if used for lower resolution meshes cheesy
especially when a little finer grade is used for attentuation or small effects ( using distance estimators )
cheesy:D

but never tried it really!
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
Heightfields 3D Fractal Generation JosLeys 9 2159 Last post December 05, 2010, 01:07:05 AM
by fractalrebel
from DEs to meshes Programming willvarfar 0 1210 Last post August 06, 2012, 10:13:30 AM
by willvarfar
Generating meshes from 3d fractal heightfields and isosurfaces. 3D Fractal Generation folded 12 5672 Last post February 08, 2013, 07:49:22 AM
by Pauldelbrot
Creating 3D-meshes from flame fractals JWildfire « 1 2 » thargor6 27 10058 Last post February 23, 2015, 10:45:43 AM
by DarkBeam
Which software creates cleanest 3D meshes? 3D Fractal Generation Taika-Kim 7 5292 Last post August 02, 2015, 09:57:29 AM
by Natan Sharp

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.154 seconds with 24 queries. (Pretty URLs adds 0.012s, 2q)