[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
[Virtools] problem with LoadImage
- Subject: [Virtools] problem with LoadImage
- From: "Matteo Agostini" <magostini@racine.ra.it>
- Date: Sat, 7 Jul 2001 19:24:03 +0200
Hi,
I create my own player that load a vmo file. Into
my projector there is a procedure that change the object's texture
with an external file (.jpg) .
But when I call that procedure an application error
rise!
Nobady can halp me?
void ChangeTexture(char *nObj, char
*nFile)
{
CKBeObject *obj=(CKBeObject
*)TheCKContext->GetObjectByName(nObj);
if (obj)
{
CKTexture *Tex=(CKTexture *)
obj;
Tex->LoadImage(nFile,0);
}
}
Thanks