POV-Ray : Newsgroups : povray.newusers : multiple objects as a texture Server Time
30 Jul 2024 10:19:28 EDT (-0400)
  multiple objects as a texture (Message 1 to 2 of 2)  
From: nomail
Subject: multiple objects as a texture
Date: 19 Jul 2004 15:25:00
Message: <web.40fc1f73dc4051af283f3de0@news.povray.org>
Hi,

Is there any way I can group multiple objects (like spheres and cylinders)
as a texture?

I basically want a graphene sheet, like so:
http://www.hpc.susx.ac.uk/~ewels/img/science/graphite/graphene.gif

And use that a texture on a cylinder or a plane.

Thanks for your time,
Tarun


Post a reply to this message

From: Hughes, B 
Subject: Re: multiple objects as a texture
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.