POV-Ray : Newsgroups : povray.binaries.images : Mummy render - spooky : Re: Mummy render - spooky Server Time
5 Nov 2024 12:40:23 EST (-0500)
  Re: Mummy render - spooky  
From: Paul Bourke
Date: 25 Sep 2006 09:35:00
Message: <web.4517d9ff5080b05f85a114a40@news.povray.org>
> Whatever techniques you're using,

Fairly straightforward use of df3 media, the key of course being the
mummy16.df3, 16 bit (short int) data converted from the DICOM slices.

#declare BRIGHT = 0.02;
#declare theinterior = interior {
   media {
      intervals 100
      ratio 0.5
      samples 4,4
      method 2
      emission BRIGHT * <1,1,1>
      absorption <0,0,0>
      scattering { 1, <0,0,0> }
      confidence 0.999
      variance 1/1000
      density {
         density_file df3 "mummy16.df3"
         interpolate 1
         color_map {
            [ 0.00 rgb <0,0,0> ]
            [ 0.20 rgb <0,0,0> ]
            [ 0.40 rgb <1,1,0> ]
            [ 0.60 rgb <1,0,0> ]
            [ 1.00 rgb <1,1,1> ]
         }
      }
   }
}

box {
   <0,0,0>, <1,1,1>
   hollow
   pigment { rgbt 1 }
   interior { theinterior }
   translate <-0.5,-0.5,-0.5>
   scale <NX,NY,-NZ>
   rotate <0,0,THETAZ>
}

-------------------------------------
P a u l   B o u r k e
http://local.wasp.uwa.edu.au/~pbourke/


Post a reply to this message

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