Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Violent operation? VC++ 6  (Read 376 times)
baiqian
Community Member
*
Posts: 7


« on: December 03, 2007, 03:26:03 AM »

I just modify the Tutorial 10, replace the tank with tiny.x(which model using in VB samples),
And
I add declaration below

ITVActor2 pTinyActor;

and codes below
 //Now, load our model.i have copy tiny.x to media folder
pTinyActor->Load("..\\..\\..\\Media\\tiny.x", "tiny",false,true);
pTinyActor->SetAnimationID(0);
pTinyActor->PlayAnimation(2000);
pTinyActor->SetMaterial(0,-1);
pTinyActor->SetRotation(-90, 130, 0);
pTinyActor->SetScale (0.1, 0.1, 0.1);


When compiling,it prompt setscale parameter truncation from " const double" to "float", and when running, the system prompt" violent operation"

Anyone can help on this issue?
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #1 on: December 03, 2007, 01:59:47 PM »

Answered to that in your other thread, in bug forum.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks