POV-Ray : Newsgroups : povray.binaries.animations : Nice toonstyle in Megapov Server Time
22 Dec 2024 10:59:46 EST (-0500)
  Nice toonstyle in Megapov (Message 1 to 1 of 1)  
From: H  Karsten
Subject: Nice toonstyle in Megapov
Date: 10 Nov 2008 14:25:02
Message: <web.491889e0fd2a694020776f0@news.povray.org>
Play with this script in Megapov:
############################################################
#version unofficial MegaPov 1.21;

camera {
  location  <0.0, 2.0, -3.0>
  look_at   <0.0, 0.0,  0.0>
  right     x*image_width/image_height
}

background{color rgb 1}

#declare Exposure=10;
#declare Exposure_Gain=1.0;

global_settings {
  tone_mapping {
    function { Exposure_Gain - exp( -Exposure * x ) * Exposure_Gain }
  }
}

#declare Scene=union{
sphere{0,1}
plane{-y,1}
plane{x,1}
plane{z,1}
}
//#declare Samples=0; //toon
#declare Samples=1000; //occlusion
#declare Blur=1;
#declare Min=0;

#declare Material=material{
texture{
pigment {
projection {Scene
normal on
blur Blur,Samples}color_map {[0 rgb 1][1 rgb Min]}}
finish{ambient 1}
}}


object{Scene material{Material}}
############################################################


Post a reply to this message


Attachments:
Download 'm2.avi.dat' (670 KB)

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