Vertex Weighting?
by Josh Albrecht · in Torque Game Engine · 04/16/2002 (8:22 am) · 1 replies
Torque allows for vetex weights of other than 0 and 1, correct? I konw that you can assign them different weights in max, and it seems as though it affects the animations, but I cant seem to find where the vertex weights of a model are taken into consideration in the code.
I searched for quite a while, but could not find it at all yesterday. If someone could just point me in the right direction, I would be very thankful. Specifically, it would be nice to the line and file where the weight of a vertex is applied to its movement from an animaiton.
If someone feels like helping, thanks! :)
I searched for quite a while, but could not find it at all yesterday. If someone could just point me in the right direction, I would be very thankful. Specifically, it would be nice to the line and file where the weight of a vertex is applied to its movement from an animaiton.
If someone feels like helping, thanks! :)
Torque Owner Badguy
TSSkinMesh::updateSkin()
as an example..
found in ../engine/ts/tsMesh.cc
on line 2039 it starts some use of the weights