[opensource-dev] Mesh rendering: What does indicesp provide?

Zabb65 zabb65 at gmail.com
Thu Jun 3 05:03:08 PDT 2010


As for conversion, it looks like you should just convert asEdgeVertex
asEdgeNorm and the results of vGetColor(for each normal in asEdgeNerm) into
arrays, and build the index table from the results of iVertex. It more or
less looks like it was written to use vertex buffers, but was converted to
something else.

That being said, you will need to convert the colors from floats into bytes
to use the LL implementation of vertex buffers, and either tell it you don't
have textures, or provide texture coordinates as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20100603/4eba4aab/attachment-0001.htm 


More information about the opensource-dev mailing list