Logo by AGUS
News: Fractalforums.com Spring Fractal Art Contest 2008 - And The Winners are: - View Results
 
*
Welcome, Guest. Please login or register. January 07, 2009, 10:09:27 AM


Login with username, password and session length



Pages: [1]
  Print  
Author Topic: Voxel to 3D render?  (Read 659 times)
0 Members and 2 Guests are viewing this topic.
twinbee
Fractal Conqueror
*******
Posts: 88


View Profile WWW
« on: October 31, 2007, 04:15:38 PM »

Two simple questions really:

1: Which 3D rendering program (preferably a raytracer), renders 3 dimensional voxel data I have created externally (perhaps from a text file) ? At minimum, it would be converting 2 color data (i.e. the voxel either exists or it doesn't), but preferably, also optionally taking into account the 'colour' of the voxel.

2: Even more advanced, is there a 3d program which 'looks' for surfaces in the 3D voxel data, and converts these to surface polygons (or for programs like povray, mathematical curves). It would be the equivalent of a 2D structured drawing program tracing the outline of a shape in a bitmap picture. Once again, I'm thinking of the 3D program being able to read my external data, such as ascii data created from a C program. I'm hoping for something a little more advanced than the marching squares (or cubes) algorithm which only allows for 45 degree jumps of lines or polygons.
« Last Edit: October 31, 2007, 06:17:14 PM by twinbee » Logged
David Makin
Global Moderator
Strange Attractor
*****
Posts: 244


View Profile WWW
« Reply #1 on: October 31, 2007, 06:28:36 PM »

I'm no expert but I have a vague recollection that you may need to convert your voxel data into "wavefront" format (whatever that is !)
Logged

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

http://www.fractalgallery.co.uk/
"fractaldave" on Yahoo UK Launchcast
lycium
Fractal Bachius
*
Posts: 523



View Profile WWW
« Reply #2 on: October 31, 2007, 06:33:08 PM »

1: Which 3D rendering program (preferably a raytracer), renders 3 dimensional voxel data I have created externally (perhaps from a text file) ? At minimum, it would be converting 2 color data (i.e. the voxel either exists or it doesn't), but preferably, also optionally taking into account the 'colour' of the voxel.


another forum member, don casteel, started writing a program which does this (and voxelises 3d flame fractals) but i think he's given it up now that he's into working with sunflow (a really nice opensource java ray tracer).

certainly there are others (none spring to mind right now), and i plan to write my own volume rendering code soon; in fact, here's a preliminary render using homogeneous (constant/nonvarying) fog:



2: Even more advanced, is there a 3d program which 'looks' for surfaces in the 3D voxel data, and converts these to surface polygons (or for programs like povray, mathematical curves). It would be the equivalent of a 2D structured drawing program tracing the outline of a shape in a bitmap picture. Once again, I'm thinking of the 3D program being able to read my external data, such as ascii data created from a C program. I'm hoping for something a little more advanced than the marching squares (or cubes) algorithm which only allows for 45 degree jumps of lines or polygons.

the marching cubes algorithm is pretty much the standard method to do this; your best bet would be to modify such code to implement the angle constraints you want.
Logged

doncasteel8587
Fractal Lover
**
Posts: 183



View Profile WWW
« Reply #3 on: November 04, 2007, 01:40:18 PM »

another forum member, don casteel, started writing a program which does this (and voxelises 3d flame fractals) but i think he's given it up now that he's into working with sunflow (a really nice opensource java ray tracer).

Actually, I haven't given up on it, my volumetric raytracer is still alive and in an ongoing work in progress.

Since Fractrace and Sunflow are both 100% Java, it only makes sense to merge the two. Sunflow is a more complete general raytracing platform, and volumetrics can only really be a feature of a more general package.

So while the past few months have been devoted to learning how Sunflow works, the long term goal is to incorporate volumetric fractals into the outstanding package that Sunflow is.

http://sunflow.sourceforge.net/index.php
https://fractrace.dev.java.net/
Logged

doncasteel8587
Fractal Lover
**
Posts: 183



View Profile WWW
« Reply #4 on: November 11, 2007, 01:23:55 AM »

Two simple questions really:

1: Which 3D rendering program (preferably a raytracer), renders 3 dimensional voxel data I have created externally (perhaps from a text file) ? At minimum, it would be converting 2 color data (i.e. the voxel either exists or it doesn't), but preferably, also optionally taking into account the 'colour' of the voxel.

2: Even more advanced, is there a 3d program which 'looks' for surfaces in the 3D voxel data, and converts these to surface polygons (or for programs like povray, mathematical curves). It would be the equivalent of a 2D structured drawing program tracing the outline of a shape in a bitmap picture. Once again, I'm thinking of the 3D program being able to read my external data, such as ascii data created from a C program. I'm hoping for something a little more advanced than the marching squares (or cubes) algorithm which only allows for 45 degree jumps of lines or polygons.

I'm sorry, I should have pointed out in my earlier reply that VTK http://www.vtk.org/ will do what your looking for, it is however more suited for scientific visualization and falls a little short of "digital art quality" but I've used it to create meshes for importing into Maya.

Here are some examples:

http://casteeld.deviantart.com/art/Itterated-Function-System-001-25963367
http://casteeld.deviantart.com/art/3D-fractal-polished-burl-wood-26059542
http://casteeld.deviantart.com/art/slice12-06-05-000a-26153544
Logged

Pages: [1]
  Print  

 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Newest 3D IFS render - Torus mutation function 3d fractal generation doncasteel8587 0 221 Last post November 06, 2006, 12:44:43 PM
by doncasteel8587
New Volume Render 3d fractal generation doncasteel8587 2 220 Last post November 12, 2006, 08:08:07 PM
by Nahee_Enterprises
Volumetric Render - Fractal Quaternion Images Showcase (Rate My Fractal) doncasteel8587 0 205 Last post June 24, 2007, 10:23:15 PM
by doncasteel8587
Concept - Apophysis render Images Showcase (Rate My Fractal) 011art 0 219 Last post October 18, 2007, 07:26:49 PM
by 011art
Ultra-F Tile Render Help & Support Atomicat 8 425 Last post October 22, 2007, 06:29:27 AM
by Atomicat

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.537 seconds with 29 queries. (Pretty URLs adds 0.091s, 3q)