[Papervision3D] Update vertex-coordinates for shading
Clox
ogggan at gmail.com
Tue Sep 23 05:40:26 PDT 2008
I have a shaded mesh, which has vertices that move. This works as expected
except that the shader doesn't seem to notice the vertices have moved, the
lightning never updates the positions of the vertices.
I *can* get around this by instead deleting the faces that connect to the
moved vertex, and then re-create them using the moved vertex. But this is a
silly workaround and it's slow as well.
I have looked for a really long time for where the initial
vertices-coordinates are stored but I just cant seem to find it.
How would you update this?
The same applies when moving UV-coordinates, those don't get updated either.
Thanks in advance for any help on this =)
--
View this message in context: http://www.nabble.com/Update-vertex-coordinates-for-shading-tp19626819p19626819.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list