THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2006 at 06:48, xxxxxxxx wrote:
You don't use ShdProjectPoint(), it's a internal function. You should use ProjectPoint instead.
Bool ProjectPoint(TexData* tdp, LONG global_id, const Vector & p, const Vector& n, Vector* uv)
Compute the UVW coordinates for a texture.
Return
Bool
Success of generating the UVW coordinate.
Parameters
TexData* tdp
The texture to use for the UVW coordinates. The caller owns the pointed object.
LONG global_id
The global polygon ID for the UVW coordinates.
const Vector & p
The point for the UVW coordinate.
const Vector & n
The normal for the UVW coordinate.
Vector* uv
The returned UVW coordinate.
Let me know if that helps, also at what point in the Videopost are you calling the function.
cheers,
Matthias