POV-Ray : Newsgroups : povray.text.tutorials : Cartoon Tut! : Cartoon Tut! Server Time
28 Apr 2024 03:04:52 EDT (-0400)
  Cartoon Tut!  
From: H E  Day
Date: 24 May 2000 02:06:36
Message: <392B70F9.960B1575@heday.freeservers.com>
MAKING FUTURAMA TYPE CARTOON EFFECTS WITH POV-RAY

PART ONE:

 The first thing to do is to create a model.  Once this is
 finished you need to texture the model correctly for a
 cartoon style.  This is accomplished by using the following
 finish statement, or something much like it.

 finish {ambient 1 diffuse .5 brilliance 0}

 This will make the color bright, yet still allow it to
 interact with light sources.  The brilliance statement
 sets the "sharpness" of the highlights. 1 is normal, 0 is
 perfectly sharp.  I recommend that you use a number between
 0 and .1 when making cartoons.


PART TWO:

 The next thing needed is to add a "find edges" statement.
 Put this at the to of your .pov file.
 One that works rather well is:

 #version unofficial MegaPov 0.5;
 global_settings {
 max_trace_level 40
 post_process { overwrite_file
 find_edges{10000,.05,1,1,1,rgb 0}
 }
    }

    Things to note:
    The "10000" is the "distance differential" (DD).  This is used to
    determine if there is an edge between two overlapping surfaces.
    In this case, I have effectively turned it off.  It seems to
    have a lot of trouble with curved surfaces.

    The ".05" id the "normal differential" (ND).  This is used to
    determine if there is an edge is square corners and the like.
    I set it pretty low to make up for the absence of the "DD"

    The "1" next to the ".05" is the "color differential" (CD) used
    to add edges around different patches of color.  I set it to 1,
    turning it off.

    The next two 1s' determine edge line width. Setting the first to
    anything over 1 causes thick, black lines. Setting the second has
    no effect. (Note to Chris Huff, if you're reading this, could you
    make the line sharpness factor work on lines of 1 or less?  Being
    able to have lines of less than 1 width would be nice too. :)

    The "rgb 0" is the color of the edges. 'Nuff said.

PART THRICE:

 Render!  The only suggestions I have are to exaggerate shapes.  Also,
 pure, bright colors work best.  Good luck!

--
H.E. Day
<><


Post a reply to this message

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