POV-Ray : Newsgroups : povray.binaries.images : Mapping images onto prisms? : Re: Mapping images onto prisms? Server Time
9 Aug 2024 15:24:56 EDT (-0400)
  Re: Mapping images onto prisms?  
From: Tim Nikias
Date: 12 Jan 2005 04:48:22
Message: <41e4f266$1@news.povray.org>
AFAIK, there is no UV-mapping support for pov-primitives. The only real
uv-mapping is applied to meshes.

What you could do, however, and which shouldn't be too difficult, is write a
small macro which converts your prism control-points to a mesh with
uv-mapping. Solid prisms are really trivial, it get's worse of course when
you get into holes and such. With a little arithmetic you should be able to
calculate and inside_vector for your mesh, so that you can use it with
simple CSG-instructions, but maybe that's already overkill...

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

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