POV-Ray : Newsgroups : povray.text.scene-files : Pass the brain Igor! : Pass the brain Igor! Server Time
28 Sep 2024 18:26:38 EDT (-0400)
  Pass the brain Igor!  
From: A J Le Couteur Bisson
Date: 22 Jan 2003 19:43:14
Message: <3e2f3aa2@news.povray.org>
Hi
I'm new to this group (but not new to Povray) and I have just started to get
back
into raytracing after a long break from it.
I recently stumbled across this wonderfully revolting texture, a derivative
of the lightning
texture, and I thought I would share it with you all.  Please don't trace
this if you
have a weak stomach!  It certainly looks very organic at any rate.

Andy


<Source>
// Persistence of Vision Ray Tracer Scene Description File
// File: giblet.pov
// Vers: 3.5
// Desc: Uggh!
// Date: 23/01/03
// Auth: Andy Le Couteur Bisson
//

#version 3.5;

#include "colors.inc"
#include "textures.inc"
#include "rand.inc"

global_settings {
  assumed_gamma 1.0
}

// ----------------------------------------

camera {
  location  <0.0, 0.0, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0, 0.0>
}

background { colour White }

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
}

// ----------------------------------------

#declare Entrails =
color_map {
    [0.00 rgbf <0.20, 0.00, 0.50, 0.00>]
    [0.10 rgbf <0.99, 0.81, 0.00, 0.65>]
    [0.20 rgbf <0.99, 0.81, 0.00, 0.65>]
    [0.30 rgbf <0.98, 0.48, 0.00, 0.85>]
    [0.45 rgbf <0.98, 0.30, 0.00, 0.85>]
    [0.65 rgbf <0.96, 0.16, 0.00, 0.95>]
}

#declare n = 1;

blob
{
  threshold 0.6
  #while (n < 300)
  sphere
  {
    VRand_On_Sphere(RdmA),
    RRand(0.1, 0.5, RdmA),
    0.4
  }
  #declare n = n + 1;
  #end

  texture
  {
      pigment
      {
          marble
          color_map { Entrails }
          turbulence 1.0
          scale 0.3
          rotate 90 * z
      }
      finish { ambient 0.1 diffuse 0.5 phong 0.75 }
  }
  normal
  {
    marble
    turbulence 1.0
    scale 0.3
    rotate 90 * z
  }
}

<End of Source>


Post a reply to this message

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