Logo by Maya - 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 the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. July 07, 2020, 03:16:05 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: Simple voxel renderer to try new formulas for 3d fractals  (Read 2402 times)
0 Members and 1 Guest are viewing this topic.
no_gravity
Guest
« on: September 13, 2011, 01:18:59 PM »

Hello! My first post here!

Is there software available, where you can just put in a formula for the color of a voxel and see the resulting object?

I imagine a software that just greets you with a simple text area and a button "go". Now lets say you put in this into the textarea:

function color(x,y,z)
{
 if (x*x+y*y+z*z>1) return 0;
 else                           return  250;
}

And hit "go" - it will render a sphere. And then you can try all kinds of formulas and come up with spheres, mandelbulbs and whatever.

Is there something like this?
Logged
knighty
Fractal Iambus
***
Posts: 819


« Reply #1 on: September 13, 2011, 07:45:44 PM »

Welcome.
There is Gestaltlupe by trafassel and evaldraw by Ken Silverman.
Logged
no_gravity
Guest
« Reply #2 on: September 14, 2011, 11:01:30 PM »

Thank you for the info.

I tried Gestaltlupe now. Somehow the renderings look broken on my machine.

I read the Evaldraw tutorial and it seems like it would need a lot of work to create 3d fractals in it.

At the moment, I think compiling Mandelbulber with my own formulas might be the best way. I managed to compile Mandelbulber from source and it renders really nice images. I just need to know where to put my own formula.
Logged
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #3 on: September 15, 2011, 12:44:24 AM »

I modified the CUDA SDK sample voxel renderer to do variations of the Mandelbulb formula.

http://forums.nvidia.com/index.php?showtopic=153257

The disadvantage is that one needs development tools and the CUDA SDK and an nVidia
graphics card.

Rotation works at interactive frame rates, whereas recomputaton of the volume data may
take significant fractions of a second.

« Last Edit: September 15, 2011, 12:46:43 AM by cbuchner1 » Logged
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #4 on: September 16, 2011, 10:20:14 AM »

I modified the CUDA SDK sample voxel renderer to do variations of the Mandelbulb formula.

http://forums.nvidia.com/index.php?showtopic=153257

The disadvantage is that one needs development tools and the CUDA SDK and an nVidia
graphics card.

Rotation works at interactive frame rates, whereas recomputaton of the volume data may
take significant fractions of a second.



Hi Cbuchner1,

It might just be me, but I cannot find the link to the source code anywhere in the post you refer to?
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


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