POV-Ray : Newsgroups : povray.binaries.images : parchment : Re: parchment Server Time
7 Nov 2024 17:27:31 EST (-0500)
  Re: parchment  
From: Timothy Cook
Date: 12 Jul 2004 06:59:12
Message: <40f26f00@news.povray.org>
Wijnand Nijs wrote:
> Pov-help and the isosurface tutorial was a great help, but I have still 
> some problems. How to make the image transparent for the areas of paper 
> which are ripped off around the edges (advice of Slime)?

Actually, I was thinking more of having the edges be part of the
isosurface, eliminating need for a transparency mask...I'm sure
some creatively applied noise to the perimeter would do the trick?

But if you want a transparency mask, example code would be

#declare Tex0    =texture{pigment{image_map{gif "parchment.gif"}}}
#declare Tex1    =texture{pigment{rgbt 1}}
#declare ParchTex=texture{image_pattern{gif "ParchmentMask.gif"} 
texture_map{[0 Tex0][1 Tex1]}}


-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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