POV-Ray : Newsgroups : povray.advanced-users : Modeling a Brain with Povray : Re: Modeling a Brain with Povray Server Time
29 Jul 2024 10:18:59 EDT (-0400)
  Re: Modeling a Brain with Povray  
From: fidel viegas
Date: 10 Jan 2003 18:29:20
Message: <3E1F55C4.1030500@nodomain.com>
fidel viegas wrote:


> I also read this on the documentation. Now I came across another program 
> called df3maker and it takes text version of the data and outputs the 
> binary version. I know how to create the binary file, but I have a doubt 
> regarding its format. I found the data below at the df3maker web site:
> 
> 4,3,5
> 0,50,50,0
> 50,100,100,50
> 0,50,50,0
> 10,100,100,10
> 100,200,200,100
> 10,100,100,10
> 50,150,150,50
> 150,255,255,150
> 50,150,150,50
> 10,100,100,10
> 100,200,200,100
> 10,100,100,10
> 0,50,50,0
> 50,100,100,50
> 0,50,50,0
> 
> Ok, I understand the 4, 3 and 5, which are the dimensions of the cube in 
> x, y and z respectively. My question is how do we come up with the data 
> values? In the docs it had x*y*z, does it mean that each cell is the 
> result of multiplying x, y and z? For instance the second value 50, is 
> it the result of this multiplication?
> 
> Another question is regarding the tga2df3 converter. How does the 2D 
> grid of pixels found in a tga picture translate to a 3D grid?

Hello guys, it's me again.

The link http://astronomy.swin.edu.au/~pbourke/povray/df3/ uses other 
formula other than x*y*z in the source code he provides. That's why I 
came up with that question regarding the generation of the data.

All the best

Fidel.


Post a reply to this message

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