POV-Ray : Newsgroups : povray.advanced-users : Modeling a Brain with Povray : Re: Modeling a Brain with Povray Server Time
29 Jul 2024 04:22:36 EDT (-0400)
  Re: Modeling a Brain with Povray  
From: Tom Melly
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

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