Logo by Fiery - 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. April 16, 2024, 09:25:23 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: How I got started with 3d mountains  (Read 2864 times)
0 Members and 1 Guest are viewing this topic.
rethread
Forums Freshman
**
Posts: 11


« on: July 14, 2017, 03:12:00 PM »

I saw theres a mandebrot function here to get people started with the psychadelic 2d stuff,  so i might as well put my method for making lava mountains here, and it gets you started into amazing organic terrain generation,  theres lots of stuff on youtube.   

they look really good, and they go really realtime quick with a gpu!  (a bit disturbingly quick.)

Excuse for a silly urge to go say what everyone already knows already ->
This fractal raytracing is totally the superpower!
because a) YOU GET TONNES OF DETAIL!!!
             b) theres no FOOTPRINT except the equation!!!
             c) The equation can make a lot of very beautiful strange things.  (as everyone here would know.)
             d) your mountain has a true xyz unchanging topology, just like the mandelbrot, just off one little equation. (or sampling function in this case.)
             e) the visualization code runs very well even on really old computers,  but the hyper threading opengl stuff kicks another level on top of it!
                 so they look potentially really amazing.
             f)  tv killed the radio star....     but once everyones on tv no-one is any more dif....


So give yourself a fullscreen quad, made from 2 triangles,  and in the pixel shader,  you access a 16x16 noise texture at different octaves (a small texture fits in the gpu cache better and goes alot quicker.), for the height level.

The thing is,  how do you make it 3d?

Well, its pretty simple,  one thing you can do,  is just perturb the y with the height after accessing the noise map for the series octaves,   and youll get an isometric mountain.      more advanced techniques use raymarching and raytracing, but they dont go as quick.




Anyone else would like to add anything?  im sure theres some other experts here.   
« Last Edit: July 14, 2017, 03:20:32 PM by rethread » Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Just getting started... Images Showcase (Rate My Fractal) _db_ 2 2099 Last post February 04, 2008, 04:52:37 AM
by _db_
A New Forum Has Started Chaoscope Nahee_Enterprises 1 2496 Last post April 03, 2009, 07:25:14 PM
by The_Fractalist
New plugin started Plugins simon.snake 6 2480 Last post May 18, 2013, 04:55:15 PM
by simon.snake
Just can't seem to get started Apophysis Programs Sarcophyton 7 4156 Last post March 18, 2014, 09:20:39 PM
by Sarcophyton
It started with Fractint Meet & Greet djbarney 1 2239 Last post July 14, 2016, 11:39:17 PM
by Kalter Rauch

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