|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I've been trying to display isosurface(s) from 3D data from a user specified
input file but with little success so far.
I've found the following solution:
#declare FUN = function {"data_3D_3",
< LEVSCALE>, library "i_dat3d","input.dat",<NX+1,NY+1,NZ+1,0>}
isosurface {
function{FUN}
bounded_by{box{<0,0,0>, <NX,NY,NZ>}}
threshold -1
max_gradient 1.000
eval
texture { pigment {color rgbt <1.0,0.20,0.0,0.8>} }
}
where "input.dat" is the use specified file. This does not work (there is an
error message) and I suspect it might be because it is not in the standard
distribution of povray. Is that correct? Do you see any way to solve this
problem?
Thanks for your help,
Vincent
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
nomail@nomail wrote:
> Hi,
>
> I've been trying to display isosurface(s) from 3D data from a user specified
> input file but with little success so far.
>
> I've found the following solution:
>
> #declare FUN = function {"data_3D_3",
> < LEVSCALE>, library "i_dat3d","input.dat",<NX+1,NY+1,NZ+1,0>}
Whoever told you this syntax was mistaken. See the POV-Ray manual
(under 'user defined functions' and 'density files') for the correct
version.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
> nomail@nomail wrote:
>
>> Hi,
>>
>> I've been trying to display isosurface(s) from 3D data from a user
>> specified
>> input file but with little success so far.
>>
>> I've found the following solution:
>>
>> #declare FUN = function {"data_3D_3",
>> < LEVSCALE>, library "i_dat3d","input.dat",<NX+1,NY+1,NZ+1,0>}
>
>
> Whoever told you this syntax was mistaken. See the POV-Ray manual
> (under 'user defined functions' and 'density files') for the correct
> version.
I'm not sure, but maybe he is using a POV-Ray patch.
(E.g. Density_File Extension Patch)
--
Tor Olav
http://subcube.net
http://subcube.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tor Olav Kristensen wrote:
>>>
>>> #declare FUN = function {"data_3D_3",
>>> < LEVSCALE>, library "i_dat3d","input.dat",<NX+1,NY+1,NZ+1,0>}
>>
>>
>>
>> Whoever told you this syntax was mistaken. See the POV-Ray manual
>> (under 'user defined functions' and 'density files') for the correct
>> version.
>
>
> I'm not sure, but maybe he is using a POV-Ray patch.
> (E.g. Density_File Extension Patch)
The DFE patch allows different file formats for density files but it
does not introduce a new user defined function syntax.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in news:web.4107c8883f67bc4858bb41aa0@news.povray.org wrote:
> This does not work (there is an
> error message) and I suspect it might be because it is not in the
> standard distribution of povray. Is that correct?
Yes, the syntax is for a version of MegaPOV or the isosurface patch. It
does not work with offical versions.
You can try the following unofficial version to reach your goal, not that
it not uses your posted syntax: http://staff.aist.go.jp/r-
suzuki/e/povray/iso/df_body.htm
WWith an offical version of POV-Ray you have to turn your dataset into a
density (*.df3) file. The structure of the file is descibed in the
documentation.
Ingo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <Xns9534C008A1E4Cseed7@news.povray.org> , ingo
<ing### [at] tagpovrayorg> wrote:
> Yes, the syntax is for a version of MegaPOV or the isosurface patch. It
> does not work with offical versions.
All versions supporting that kind of function syntax are about tree years
out of date. Current megaPOV versions only support the cleaned-up function
syntax as well. The old mess of a function syntax will never again be
supported.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|