POV-Ray : Newsgroups : povray.unofficial.patches : Mesh2 uv_vectors problem : Re: Mesh2 uv_vectors problem Server Time
1 Sep 2024 18:17:43 EDT (-0400)
  Re: Mesh2 uv_vectors problem  
From: Chris Huff
Date: 14 Jan 2001 11:36:38
Message: <chrishuff-2499EF.11375714012001@news.povray.org>
In article <3a61d04f@news.povray.org>, "Rune" <run### [at] inamecom> 
wrote:

> In a mesh the textures cannot be translated differently for the different
> triangles. So to do UV mapping I have to either
> 
> A) Remove the mesh{} block around the triangles.
> 
> B) Predeclare a unique texture for every single triangle.
> 
> Neither of those are attractive solutions.

How about:
C) Declare an array of textures. Use the textures in the array instead 
of individual textures.

Or:
D) Write a macro that declares a texture (transformed to fit) and then 
uses it in a triangle. This *should* work...in fact, I think it has been 
done.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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