|
|
Wasn't it Erik who wrote:
>Hi,
>
>I am a very new POV user, so my guess is that my question might be trivial.
>
>Now, I have data 3D data saved to binary files from a C++ program. The data
>are 3D matrices of double values, that is the value of a function at a point
>in space on a uniform grid. What I would like to use POV for is to read the
>data file, and use isosurface to ray-trace the data at the 0
>levelset/offset.
>
>How do I read in a large binary file in POV of binary values?
>
>How do I associate the read data with the function argument?
You have to turn your 3d numerical data into a density_file (df3).
That's typically not an easy process, and it's not particularly well
described in the documentation. I've never quite managed to do it
successfully.
Once you've got your df3 file you can use the density pattern to
generate an isosurface, as described on the "patterns and noise" page of
my isosurface tutorial
<http://www.econym.demon.co.uk/isotut/patterns.htm#density>
When used as an isosurface, there's a single surface that joins all the
points where the density pattern has a particular value.
Alternatively, once you've got your df3 file you can render it as media.
See the scenes\interior\media\galaxy.pov example file that came with the
POV 3.5 package.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|