POV-Ray : Newsgroups : povray.newusers : multiple objects as a texture : Re: multiple objects as a texture Server Time
30 Jul 2024 08:26:47 EDT (-0400)
  Re: multiple objects as a texture  
From: Hughes, B 
Date: 19 Jul 2004 19:57:06
Message: <40fc5fd2$1@news.povray.org>
<nomail@nomail> wrote in message
news:web.40fc1f73dc4051af283f3de0@news.povray.org...
>
> Is there any way I can group multiple objects (like spheres and cylinders)
> as a texture?
> And use that a texture on a cylinder or a plane.

There's the object pigment pattern, described at section 3.4.11.23 Object
Pattern in the doc, yet it doesn't allow for texturing.

You might need to use image_pattern instead, by first making an orthographic
rendering of the object. See section 3.4.11.20 Image Pattern. Then you can
apply any texturing for the parts dependant on the gray value. For wrapping
to a cylinder just use map_type 1, as per the usual image_map items.

Bob H.


Post a reply to this message

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