POV-Ray : Newsgroups : povray.newusers : Color per vertex triangle mesh to suitable POV-Ray construct : Color per vertex triangle mesh to suitable POV-Ray construct Server Time
8 Jul 2024 01:57:03 EDT (-0400)
  Color per vertex triangle mesh to suitable POV-Ray construct  
From: PerNyblom
Date: 4 Dec 2009 13:40:00
Message: <web.4b19573bd11f60cb1384d1150@news.povray.org>
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?

I used image maps with uv mapping when it is simple to construct an image from
the colors, for example when they are placed in a regular 2D grid, but for
arbitrary meshes I don't really know any easy way out.

I know that one can "unwrap" a mesh with for example Blender, but I would prefer
to just be able to specify the vertex colors directly.


Post a reply to this message

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