POV-Ray : Newsgroups : povray.newusers : Color per vertex triangle mesh to suitable POV-Ray construct : Re: Color per vertex triangle mesh to suitable POV-Ray construct Server Time
24 Nov 2024 09:38:28 EST (-0500)
  Re: Color per vertex triangle mesh to suitable POV-Ray construct  
From: Hugo
Date: 4 Dec 2009 15:08:58
Message: <op.u4fjkxcc52h720@blackbishop>
On Fri, 04 Dec 2009 16:38:51 -0200, PerNyblom <per### [at] hotmailcom> wrote:

> Hello!
>
> I have used OpenGL for some time and am used to having a color for each  
> vertex
> in objects.
> Is there some way to convert an object (such as a triangle mesh) where  
> there are
> colors for each vertex into some POV-Ray equivalent?

Yes, a mesh2 lets you specify textures for each triangle vertex.
(http://www.povray.org/documentation/view/3.6.1/293/ )


Hugo.


Post a reply to this message

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