Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Per Vertex Color to Texture

26 views
Skip to first unread message

shkumar

unread,
Feb 14, 2013, 9:16:23 PM2/14/13
to
I have a .obj mesh which has per vertex color information stored in it. There are no texture associated with this mesh.
Does someone know a method/source code/algorithm which can help me generate a texture image from per vertex color ?

Shailesh

Nobody

unread,
Feb 15, 2013, 2:16:43 AM2/15/13
to
First, you need to "unwrap" the mesh. This isn't easy to do
algorithmically, and is normally done by hand in a modelling package such
as 3DS or Blender. For a closed surface, you have to add seams so that the
mesh can be mapped to a flat plane. Unwrapping requires some amount of
practice to do well (i.e. minimising distortion, scale variation and the
number of seams, and maximising the proportion of the texture area which
is used).

Chances are that whichever modelling package you use for unwrapping
will also allow vertex colours to be "baked" into a texture. Failing that,
you can generate a texture by rendering the mesh to a texture (e.g. using
glFramebufferTexture, or just using software rendering), using the texture
coordinates as vertex coordinates.

Stan

unread,
Mar 28, 2013, 12:50:37 PM3/28/13
to
Hi ,

it must be useful to increase the security of the texture by the use of
adequate competencies;
Otherwise it might be necessary to integrate the processing of the texture using
up-to-date methodologies when evaluating the color;
could you explain how to lessen the color treatment as well as the concept of the texture pretreatment?

;-)
0 new messages