Logo by mreric - Contribute your own Logo!
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register., Guest. Please login or register. September 03, 2010, 09:55:00 AM


Login with username, password and session length



Pages: [1]
  Print  
Share this topic on Facebook
Author Topic: Voxel Plancton  (Read 970 times)
Description: CUDA app published
0 Members and 1 Guest are viewing this topic.
cbuchner1
Strange Attractor
***
Posts: 249


« on: December 15, 2009, 02:33:14 AM »

Hi everybody.

I published a little CUDA app that allows one to render amazing "plancton" like fractals in a voxel representation. It needs a *fast* nVidia chip though - even on my GTX 260 the updates after changing the parameters take half a second or more. The CUDA source code and a Win32 executable are attached inside the ZIP file in this thread.

This program uses a slight generalization of the Mandelbulb idea where instead of using a spherical coordinate system I use two separate rotations based on axes that one can freely choose relative to each other.

With an adjustable exponent, and two extra degrees of freedom for pointing the axes relative to each other endless fun is guaranteed wink You can also rotate the plancton, pan around and zoom - but deep zooms are impossible due to the limited resolution of the voxel space.

Also find screenshots and the Win32 binary and CUDA source code here: http://forums.nvidia.com/index.php?s=1bf094526ea25174ffb8815dbbad1df7&showtopic=153257 and here http://www.fractalforums.com/mandelbulb-renderings/a-new-class-of-bulb/

On slower cards you can start VoxelPlancton.exe with the --size=128 or --size=64 parameter (this works even on my laptop with a 9600M GT card) - but the rendering is less detailed then .Arguments can be passed from a command prompt or by creating a short cut to the exe and appending this argument in the target field of the shortcut, but leave a space character inbetween.

It was a fun two-day project and I might explore further to find for a raymarching solution (I need the derivative, but my equations rotate with quaternions based on arbitrary axes - so it is a hard problem for me to crack). The linked "A new class of bulb?" thread in the Mandelbulb Renderings subforum has all the maths details and some C++ source code for the CPU.

Christian




* voxelPlancton.zip (490.11 KB - downloaded 60 times.)
« Last Edit: December 15, 2009, 09:06:33 PM by cbuchner1 » Logged
Trifox
Administrator
Fractal Omnipotent
*******
Posts: 1628


Frascinating!


WWW
« Reply #1 on: December 15, 2009, 02:42:57 AM »

can u upload the file here ?! because download is not permitted on the site, and user accounts are hard to get :/
Logged

---

divide and conquer - iterate and rule
cbuchner1
Strange Attractor
***
Posts: 249


« Reply #2 on: December 15, 2009, 12:14:57 PM »

can u upload the file here ?! because download is not permitted on the site, and user accounts are hard to get :/

You currently don't allow zip file attachments, that's the problem - and the 256kb attachment limit only allows for small apps to be posted (Voxel plancton might just fit in)

« Last Edit: December 15, 2009, 01:39:11 PM by cbuchner1 » Logged
Trifox
Administrator
Fractal Omnipotent
*******
Posts: 1628


Frascinating!


WWW
« Reply #3 on: December 15, 2009, 03:16:46 PM »

i will check the settings for attachments right now
Logged

---

divide and conquer - iterate and rule
Trifox
Administrator
Fractal Omnipotent
*******
Posts: 1628


Frascinating!


WWW
« Reply #4 on: December 15, 2009, 03:19:58 PM »

i am now allowing attachments up to 2mb, and a total of 5 mb per posting, and zip and rar files cheesy  police police

executables are not allowed! police
Logged

---

divide and conquer - iterate and rule
cbuchner1
Strange Attractor
***
Posts: 249


« Reply #5 on: December 15, 2009, 05:35:47 PM »

i am now allowing attachments up to 2mb, and a total of 5 mb per posting, and zip and rar files cheesy  police police

executables are not allowed! police

Ok, but there is an .EXE inside the ZIP file for those who don't have the CUDA SDK and Microsoft Visual C++ 2005 or 2008 installed. There might be a dependency on the Visual C++ 2005 and/or 2008 runtimes (which are 5 MB downloads that you can get from the Microsoft site). A free tool called "dependency walker" helps to identify the missing DLLs (if any).

Relatively recent nVidia drivers are also required (any 190.xxx, 191.xxx or 195.xxx drivers should be OK). Mind that CUDA is a vendor specific technology, so those with Intel or ATI cards have to look for fun elsewhere wink


« Last Edit: December 15, 2009, 05:38:52 PM by cbuchner1 » Logged
Nahee_Enterprises
World Renowned
Global Moderator
Fractal Omnipotent
******
Posts: 1423


use email to contact


nahee_enterprises Nahee.Enterprises NaheeEnterprise
WWW
« Reply #6 on: December 31, 2009, 08:59:40 PM »

I published a little CUDA app that allows one to render amazing
"plancton" like fractals in a voxel representation.  It needs a *fast*
nVidia chip though....

Thanks for the notice and the download.  I will give it a try as soon as I get a spare moment.
Logged

Pages: [1]
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Voxel to 3D render? 3D Fractal Generation twinbee 4 2127 Last post November 11, 2007, 01:23:55 AM
by doncasteel8587
GigaBroccoli: Real time Mandelbulb into a sparse voxel octree Videos Cyril Crassin 6 920 Last post March 11, 2010, 09:37:47 PM
by LeonardC
Mandelbulb voxel representation @ 2000^3 voxels Mandelbulb Renderings twinbee 3 471 Last post November 28, 2009, 11:56:27 PM
by twinbee

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.228 seconds with 27 queries. (Pretty URLs adds 0.016s, 2q)