POV-Ray : Newsgroups : povray.advanced-users : Modeling a Brain with Povray Server Time
25 Nov 2024 09:24:21 EST (-0500)
  Modeling a Brain with Povray (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: fidel viegas
Subject: Modeling a Brain with Povray
Date: 7 Jan 2003 21:30:51
Message: <3E1B8BD6.9040709@nodomain.com>
Hello guys, I was wondering if any of you have attempted to model a 
brain with povray.
How would you go about creating such a complex structure?

Thanks in advance

Fidel.


Post a reply to this message

From: Apache
Subject: Re: Modeling a Brain with Povray
Date: 8 Jan 2003 01:53:33
Message: <3e1bcaed$1@news.povray.org>
I would think about media with high turbulence. I don't have too much
experience with media though...


Post a reply to this message

From: Florian Brucker
Subject: Re: Modeling a Brain with Povray
Date: 8 Jan 2003 02:40:31
Message: <3e1bd5ef$1@news.povray.org>
hey guys

i would propably go for sphere_sweeps. they would also look "real" in a
closer view.

i thought somewhere on the net existed already such a project..

*asking the great oracle of google*

oh, there are _several_ such projects. i'm afraid they're not using pov, but
this page for example can show you how it could look like:
http://astronomy.swin.edu.au/~pbourke/modelling/cortex/impl.html

the fastest solution (both in creation and rendering time) would imho be to
search for a existing mesh-model. but it's rather boring. if you got the
time, make one up in pov, it would be great!

greetings:florian


Post a reply to this message

From: ingo
Subject: Re: Modeling a Brain with Povray
Date: 8 Jan 2003 02:46:01
Message: <Xns92FD597463D53seed7@povray.org>
in news:3e1bd5ef$1@news.povray.org Florian Brucker wrote:

> oh, there are _several_ such projects. i'm afraid they're not using
> pov, but this page for example can show you how it could look like:
> http://astronomy.swin.edu.au/~pbourke/modelling/cortex/impl.html
> 

Find a brain data-set, convert it to df3 and render it as an 
isosurface.The first part wil be the problem :(

Ingo


Post a reply to this message

From: ABX
Subject: Re: Modeling a Brain with Povray
Date: 8 Jan 2003 02:53:56
Message: <06mn1vo6rfqkprt50qa73osnhm8r4vb3fr@4ax.com>
On 8 Jan 2003 02:46:01 -0500, ingo <ing### [at] tagpovrayorg> wrote:
> Find a brain data-set, convert it to df3 and render it as an 
> isosurface.The first part wil be the problem :(

I have not investigated it much but perhaps
http://www.google.com/search?q=brain+surface+data could be enough ?

ABX


Post a reply to this message

From: ingo
Subject: Re: Modeling a Brain with Povray
Date: 8 Jan 2003 05:57:56
Message: <Xns92FD79FF373CAseed7@povray.org>
in news:Xns### [at] povrayorg ingo wrote:

> Find a brain data-set

http://graphics.stanford.edu/data/voldata/

Ingo


Post a reply to this message

From: fidel viegas
Subject: Re: Modeling a Brain with Povray
Date: 8 Jan 2003 13:07:26
Message: <3E1C6759.3010501@nodomain.com>
ingo wrote:
> in news:Xns### [at] povrayorg ingo wrote:
> 
> 
>>Find a brain data-set
> 
> 
> http://graphics.stanford.edu/data/voldata/
> 
> Ingo

Hi Guys, thanks for the information. I am not familiar with df3, and I 
need to have a look at isosurfaces. Is there a good tutorial on how to 
process df3 files? And what about its format?
Does the povray manual cover it? I couldn't find it. I'll double check 
it anyway.

All the best and thank you.

Fidel.


Post a reply to this message

From: Tom Melly
Subject: Re: Modeling a Brain with Povray
Date: 10 Jan 2003 11:02:56
Message: <3e1eeeb0$1@news.povray.org>
"fidel viegas" <fid### [at] nodomaincom> wrote in message
news:3E1### [at] nodomaincom...
> Hello guys, I was wondering if any of you have attempted to model a
> brain with povray.
> How would you go about creating such a complex structure?
>
> Thanks in advance
>
> Fidel.
>

I played around with doing this (for a brain coral).

Wouldn't do if the brain was the main component of the scene, but might be a
help if it's just a few of 'em in jars on a backshelf or something...

#include "functions.inc"

#declare F_1 = function(x,y,z){(pow(x,2)+pow(y,2)+pow(z,2)) +
f_ridged_mf(x*10,y*10,z*10,1,1,1,1,0,3)/5 - 2}
#declare Brain1 =
isosurface {
  function {F_1(x,y,z)}
  max_gradient 20
  contained_by {box {-5,5}}
  pigment { rgb<0.7,0.5,0.5> }
}
object{Brain1}


Post a reply to this message

From: ingo
Subject: Re: Modeling a Brain with Povray
Date: 10 Jan 2003 11:39:09
Message: <Xns92FFB3D8FE701seed7@povray.org>
in news:3E1### [at] nodomaincom fidel viegas wrote:

> Is there a good tutorial on how to 
> process df3 files?

No, but there is a tga2df3 convertor at http://www.users.on.net/pod/df3/ 

> And what about its format?
> 

See 6.7.11.11  Density_File

Ingo


Post a reply to this message

From: fidel viegas
Subject: Re: Modeling a Brain with Povray
Date: 10 Jan 2003 18:23:52
Message: <3E1F547C.8040504@nodomain.com>
ingo wrote:
> in news:3E1### [at] nodomaincom fidel viegas wrote:
> 
> 
>>Is there a good tutorial on how to 
>>process df3 files?
> 
> 
> No, but there is a tga2df3 convertor at http://www.users.on.net/pod/df3/ 

Thanks for the link. I've looked into it already.

>>And what about its format?
> See 6.7.11.11  Density_File

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?

I hope my queries are clear.

Thanks once again.

You guys have been great.

Fidel.


Post a reply to this message

Goto Latest 10 Messages Next 4 Messages >>>

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