POV-Ray : Newsgroups : povray.general : Draw a line on the texture : Re: Draw a line on the texture Server Time
3 May 2024 21:30:34 EDT (-0400)
  Re: Draw a line on the texture  
From: Bald Eagle
Date: 11 Mar 2016 14:30:01
Message: <web.56e31cac56c547455e7df57c0@news.povray.org>
"bocovp" <nomail@nomail> wrote:
> I have defined a simple texture, e.g.:
> #declare paper1 = texture {
> uv_mapping pigment { color rgb <0.8,0.8,1> }
>   normal { leopard 1 turbulence 1.7 scale 0.01 }
> }
>
> Now I want to draw a line on top of the texture (say I want black line of
> thickness 0.1 from point (u,v) = (0,0) to point (u,v) = (1,1)).
> What is the best approach to define such texture?

I'd probably use layered textures, if you want to keep the adaptive uv-mapping.

http://www.f-lohmueller.de/pov_tut/tex/tex_890e.htm

Either that, or use a color map or one of the special pigment patterns.
I guess it all depends on the uv-mapped object's shape, and how you want it to
look.


Post a reply to this message

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