POV-Ray : Newsgroups : povray.general : mlpov - pattern projection with normal and texture?? : Re: mlpov - pattern projection with normal and texture?? Server Time
4 Nov 2024 19:17:27 EST (-0500)
  Re: mlpov - pattern projection with normal and texture??  
From: Mael
Date: 22 Oct 2003 04:05:54
Message: <3f963a62$1@news.povray.org>
Hello tommy,

> Is the buddha a real object (mesh object) or is it just a flat-picture.
> And what's the use of this features. What's the output and  how it works ?

Yes the buddha is a mesh
(http://www.cc.gatech.edu/projects/large_models/happy.html)

The projection pattern sends a ray and tests if this ray have intersected a
given object. The direction of the ray can be :
-toward a point,
-in a direction (keyword parallel),
-in the direction of the normal (keyword normal).
You can also use the keyword blur to average multiple jittered rays cast
around the choosen direction.

The example you're asking about uses (for the buddha object) a projection
along the normal, of the buddha object, with some blur. At each intersection
point we send a bunch of rays, near the normal, and if we don't hit another
part of the buddha then we're at 0 and the more we hit the buddha the closer
we are to 1. Those values are then used by the texture_map.

Another usage of the projection :
http://news.povray.org/povray.binaries.images/29568/

M

PS: There is a newsgroup povray.unofficial.patches to ask questions
regarding unofficial versions of povray


Post a reply to this message

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