|
![](/i/fill.gif) |
Am 01.08.2010 15:16, schrieb Dave!:
> Haven't posted here in ages--please be gentle!
>
>
> I'm trying to wrap a simple image onto the surface of a cylinder. For various
> reasons, I don't want to use image mapping and was hoping to do it with
> intersecting solids.
>
> The image is a sort of caution sign, an upright yellow triangle with a black
> boarder and a black exclamation point inside.
>
> I can create a flat version image very easily using a few triangle meshes and
> disc objects, but I'm having trouble getting it to intersect with the cylider's
> surface.
>
> Does this make sense? My gut feeling is that POV-Ray offers some dirt-simple
> way to do this, but I have the impression that I'm missing something basic.
No surprise you have trouble intersecting your sign with the cylinder
surface: You mention triangle meshes and disc objects; neither of these
have any depth, so you can't intersect them with anything.
You need to give the sign a third dimension: Use cylinders instead of
the disks, and linear_spline prisms instead of the triangle meshes. That
should get you started.
Note that if you want the sign to cover a big portion of the cylinder,
you may also run into problems with distortions. In that case, you might
need to use a set of object patterns and apply a cylindrical warp.
Post a reply to this message
|
![](/i/fill.gif) |