POV-Ray : Newsgroups : povray.general : Using png to normal uv mapping : Re: Using png to normal uv mapping Server Time
5 Nov 2024 05:24:01 EST (-0500)
  Re: Using png to normal uv mapping  
From: Warp
Date: 16 Jun 2003 10:50:39
Message: <3eedd93f@news.povray.org>
Does the bump mapping work ok (ie. taking into account UV information)
when you specify the uv_mapping keyword only once at the beginning of
the texture declaration? It's difficult to see from the given example
if the image looks like it should or not.

  If it works ok, then I think this is just some kind of bug in the parser.
If the uv_mapping keyword appears twice in the texture block, it seems
to reset the previous pigment definition. (If you leave the second
uv_mapping only, it causes an error message.)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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