POV-Ray : Newsgroups : povray.advanced-users : 3d data files - help please : Re: 3d data files - help please Server Time
30 Jul 2024 04:15:44 EDT (-0400)
  Re: 3d data files - help please  
From: SamuelT 
Date: 30 Mar 2000 13:43:49
Message: <38E3A07F.BD030760@aol.com>
Thanks, I'll have to try that.

david sharp wrote:

> SamuelT. <STB### [at] aolcom> wrote
> [ ... ]
>
> If you are going  to type in values, probably
> just using an array in the scene file (rather than
> a data file) would be less of a pain.
>
> E.g.:
> ///////////////
> #declare Darray =
>  array[3][3][3]
> {
>  {
>   {-1,1,-1},
>   {0,1,0},
>   {-1,1,-1}
>  },
>  {
>   {0,-1,0},
>   {-1,1,-1},
>   {0,-1,0}
>  },
>  {
>   {1,0,1},
>   {0,-1,0},
>   {1,0,1}
>  }
> }
>
> #declare FileDataFn = function{ "data_3D_3", <1>
>      library   "i_dat3d",Darray, <3,3,3,0>
> }
> //////////

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial:
http://members.aol.com/stbenge


Post a reply to this message

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