Logo by AGUS - 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. May 08, 2024, 01:01:46 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: realtime-2dheihtmap-landscape-flyby-with-deeep-zooming  (Read 1080 times)
0 Members and 1 Guest are viewing this topic.
gabo11
Forums Newbie
*
Posts: 8


« on: October 05, 2011, 09:18:30 PM »

hello everyone,

I am pretty new to the topic and developed a small app that calculates the 2d mandelbrot set.

My idea now is to turn the whole thing into 3d as follows:
- flip the mandelbrot set to a heightmap, so that it looks like a canyon
- starting from over the canyon I would like to dive into the wall of the canyon and deep zoom into it
- generate a movie of the whole thing

do you have any suggestions or examples how to do this with ChaosPro or another tool?
is this possible? thank you for your help!

Gabo
Logged
gabo11
Forums Newbie
*
Posts: 8


« Reply #1 on: October 07, 2011, 08:12:37 PM »

hello, could you please respond me wheter my question was wrong or this hasn't done before?

thank you for your help
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #2 on: October 07, 2011, 08:45:41 PM »

Many programs offer this. But iam not in there

in my eyes an aoproach using dynamic tesselation on a nowadaysdays gpu could work ppreferably
One with double precision

check out fragmentarium for realtime ray marching which could adopted for your needs

generalprocedure without gpu would implement a fast guessing mandelbrot renderer and use this information as heightmap. Recalculated 50 times a second

a gpu can come in handy when translating the points via texture

Logged

---

divide and conquer - iterate and rule - chaos is No random!
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #3 on: October 07, 2011, 10:00:39 PM »

hello, could you please respond me wheter my question was wrong or this hasn't done before?

thank you for your help

There are two approaches to this - convert the 2D fractal to a heightmap grid and render as triangles/polygons or create a distance estimation method (that returns spot heights for given locations and from that calculates a distance estimate) for ray marching - the latter is by far the better method if you want realtime results with deep-zooming calculated at runtime, though that's only really feasible both on a GPU and with double accuracy.
Logged

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

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #4 on: October 07, 2011, 10:38:27 PM »

Fragmentarium already comes with a Mandelbrot heightfield example courtesy of Knighty ("Examples/Knighty Collection/MandelbrotHeightfield.frag"), which can be rendered in real-time. (You need to download and compile the latest Github version to run it)

It will not give you a feeling of flying through a canyon, though. It is more like riding on a stretched rubber surface :-) Don't know why, but the distance estimate used as heightmap for the Mandelbrot seems all too smooth - perhaps a better function could be found. Or perhaps it is a resolution thing as David says - Fragmentarium is single precision only.

Example:




* heightfield.jpg (55.73 KB, 900x563 - viewed 61 times.)
Logged
knighty
Fractal Iambus
***
Posts: 819


« Reply #5 on: October 08, 2011, 03:15:01 PM »

Note that a more eficient approache would be to use cone step mapping instead of "my" method. In fact, being lazy, I just derived a distance estimate that gives a sphere that is always inside the cone. That way I could use syntopia's DE raymarcher without further work. afro
Logged
gabo11
Forums Newbie
*
Posts: 8


« Reply #6 on: October 09, 2011, 08:17:45 PM »

Hi Syntopia

The example is pretty much what I am looking for. But I can't find the Knighty Collection in Fragmentarium 0.8. Where did you get the examples from?

Regards
Gabo
Logged
gabo11
Forums Newbie
*
Posts: 8


« Reply #7 on: October 09, 2011, 08:29:27 PM »

ok, I found them, but it says:

Camera: Use W/S to fly. 1/3 adjusts speed. Q/E rolls. Click on 3D window for key focus. See Help Menu for more.
Could not find :CR
Could not find :CG
Could not find :CB
Could not find :CR
Could not find :CG
Could not find :CB
Could not find :CR
Could not find :CG
Could not find :CB

and it does not generate an image, any idea?

Thank You
Logged
gabo11
Forums Newbie
*
Posts: 8


« Reply #8 on: October 09, 2011, 09:07:21 PM »

ok, I found all the necessary includes  embarrass, I think... but now it says :

Parse: D:/Eigene Dateien/Downloads/Fragmentarium/Heightmap_GOR.frag
Including file: D:/Eigene Dateien/Downloads/Fragmentarium/Examples/Include/DE-Raytracer.frag
Including file: D:/Eigene Dateien/Downloads/Fragmentarium/Examples/Include/MathUtils.frag
Mandelbrot set 2.5D
Default Raytracer (by Syntopia)
Changing camera control to: 3D
Camera: Use W/S to fly. 1/3 adjusts speed. Q/E rolls. Click on 3D window for key focus. See Help Menu for more.
Found 'default' index. Executing...
Could not find: CamLightMin2
Could not find: GlowMax
Could not find :X
Could not find :Y
Could not find :Z
Could not find :R
Could not find :CycleColors
Could not find :Cycles
Could not find :X
Could not find :Y
Could not find :Z
Could not find :R
Could not find :CycleColors
Could not find :Cycles
Could not find :X
Could not find :Y
Could not find :Z
Could not find :R
Could not find :CycleColors
Could not find :Cycles
Copied 1 lines to clipboard
Could not find :X
Could not find :Y
Could not find :Z
Could not find :R
Could not find :CycleColors
Could not find :Cycles
Could not find :X
Could not find :Y
Could not find :Z
Could not find :R
Could not find :CycleColors
Could not find :Cycles
Could not find :X
Could not find :Y
Could not find :Z
Could not find :R
Could not find :CycleColors
Could not find :Cycles
Logged
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #9 on: October 09, 2011, 09:37:52 PM »

Hi,

You shouldn't need any files. The ones that are part of Fragmentarium 0.8 should do. I just tested with a v0.8 version and it seems to work.

What happens if you copy and paste the file from GitHub:
https://raw.github.com/Syntopia/Fragmentarium/master/Fragmentarium-Source/Examples/Knighty%20Collection/MandelbrotHeightfield.frag

into a window, and press the 'Build' button? Also try to click the 'Apply' button (next to the 'Preset: Default') to get some proper settings.

You can ignore the warnings about unused parameters. This is because the script uses some features which are not part of 0.8.
Logged
knighty
Fractal Iambus
***
Posts: 819


« Reply #10 on: October 09, 2011, 09:42:22 PM »

works here with 0.8 version.
What is : D:/Eigene Dateien/Downloads/Fragmentarium/Heightmap_GOR.frag ?
Logged
gabo11
Forums Newbie
*
Posts: 8


« Reply #11 on: October 09, 2011, 10:04:38 PM »

ok, works now..
but I don't get the heightmap, something seems to be wrong with the presets.

D:/Eigene Dateien/Downloads/Fragmentarium/Heightmap_GOR.frag is the MandelbrotHeightfield.frag


* scr.JPG (122.31 KB, 1280x776 - viewed 74 times.)
Logged
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #12 on: October 09, 2011, 10:27:00 PM »

Are you sure you are using the right script? (The link above). I don't think there is a 'spacing' variable in it?

Also be sure to set the 'render mode' to automatic.

Does the Mandelbulb render correctly when starting the program?
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Deep Zooming in Ultra Fractal Movies Showcase (Rate My Movie) « 1 2 » fractalwizz 16 13820 Last post October 03, 2008, 07:42:32 PM
by fractalwizz
Zooming and 'growing' Mandelbrot Images Showcase (Rate My Fractal) twinbee 1 1138 Last post August 09, 2008, 10:28:08 AM
by cKleinhuis
Deep 3D IFS zooming 3D Fractal Generation David Makin 0 2362 Last post July 28, 2009, 12:44:29 AM
by David Makin
Zooming In - Background Disappearing Mandelbulb 3d Russ McClay 7 4656 Last post October 23, 2010, 07:42:21 AM
by Sockratease
Swoop (flyby zoom in/out) Animations Showcase (Rate My short Animation) 3dickulus 0 1083 Last post November 25, 2014, 02:43:53 AM
by 3dickulus

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