Logo by tomot - 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:39:02 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: Voxel to 3D render?  (Read 5663 times)
0 Members and 1 Guest are viewing this topic.
twinbee
Fractal Fertilizer
*****
Posts: 383



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
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
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/
"Makin' Magic Music" on Jango
lycium
Fractal Supremo
*****
Posts: 1158



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