POV-Ray : Newsgroups : povray.tools.general : About voxels Server Time
22 Dec 2024 01:23:46 EST (-0500)
  About voxels (Message 1 to 2 of 2)  
From: Alfredo
Subject: About voxels
Date: 26 Apr 2007 16:15:02
Message: <web.463107d7831ee64d950b196c0@news.povray.org>
Hello there guys.
Does anybody know about voxels?
I have been looking for this topic and i have no a good idea yet.


how.
Any advice?

I found the next data (.cube)....

In the following example the volumetric data is a 40 by 40 by 40 grid, each
voxel is 0.283459 units wide and the volume is aligned with the coordinate
axis. There are three atoms.

 CPMD CUBE FILE.
 OUTER LOOP: X, MIDDLE LOOP: Y, INNER LOOP: Z
    3    0.000000    0.000000    0.000000
   40    0.283459    0.000000    0.000000
   40    0.000000    0.283459    0.000000
   40    0.000000    0.000000    0.283459
    8    0.000000    5.570575    5.669178    5.593517
    1    0.000000    5.562867    5.669178    7.428055
    1    0.000000    7.340606    5.669178    5.111259
 -0.25568E-04  0.59213E-05  0.81068E-05  0.10868E-04  0.11313E-04
0.35999E-05
      :             :             :           :            :            :
      :             :             :           :            :            :
      :             :             :           :            :            :
        In this case there will be 40 x 40 x 40 floating point values
      :             :             :           :            :            :
      :             :             :           :            :            :
      :             :             :           :

////////////////////////////////////////////////////


How can i visualize it using povray?


Post a reply to this message

From: ingo
Subject: Re: About voxels
Date: 24 May 2007 12:21:30
Message: <Xns993ABABF1483Bseed7@news.povray.org>
in news:web.463107d7831ee64d950b196c0@news.povray.org Alfredo wrote:


> How can i visualize it using povray?

First you'll have to convert the data to a density (df3) file, the specs 
are in the documentation. Then you use this file in media statement.

ingo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.