POV-Ray : Newsgroups : povray.text.scene-files : Clown photon source Server Time
28 Jul 2024 10:24:47 EDT (-0400)
  Clown photon source (Message 1 to 1 of 1)  
From: Mike
Subject: Clown photon source
Date: 5 Aug 2000 10:51:12
Message: <398C29E9.78629B0@aol.com>
The actual clownfish is a bunch of files that take up quite a bit of
space and can't be rendered with any available patch.   The code for
this is commented out.  Notice that the include files are 60 looping
frames, so for the 120 frame animation it had to repeat once.  The rest
is what makes the water and photons and will render with megaPOV.

/* Clock should use an integer step size and clock should be equal to
frame.
 * So if Final_Frame = 120, Final_Clock = 120
 */

#version unofficial MegaPOV 0.5;

#include "colors.inc"

global_settings {
ambient_light 0

photons{
count 1500000
//jitter .4
autostop 0
//global 2000
expand_thresholds 0.2, 40
}

}

background {color rgb <.3, .3, .3>}

camera {location <40, 20, -50> look_at 5*y}

light_source {<0, 0, -1000> color White
area_light <100, 0, 0>, <0, 0, 100>, 4, 4
adaptive 2
jitter
orient
rotate 40*x rotate -45*y
}

plane {y, -30
pigment {color White}

}

box {<-100, -50, -100>, <-101, 40, 100>
pigment {color White}
}

box {<-100, -50, 100>, <150, 40, 101>
pigment {color White}
}

box {<-100, 30, -100>, <150, 35, 100>
pigment {color rgbt <1, 1, 1, 1>}
normal {
average
normal_map {
[1 wrinkles 2 scale 10 turbulence .1 translate clock*.2*z]
[1 ripples 1 scale 2000 frequency 300 turbulence .1 translate
clock*.2*y]
}
}

interior {ior 1.33 }

photons {
target .5
refraction on
ignore_photons
}

hollow
no_shadow
translate <-50, 0, 50>
}


fog {
distance 500
color rgb <.4, .5, .8>
}



/*
#declare CURRENT_FRAME = clock;

#if (clock > 60)

#declare CURRENT_FRAME = clock - 60;

#end

#include concat("wiggle",str(CURRENT_FRAME,0,0) )
*/


Post a reply to this message

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