Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: [NOT-A-BUG] [Each render of TVActor increasing its animation speed]  (Read 1649 times)
vbCrLf
Community Member
*
Posts: 326


WWW
« on: October 30, 2007, 02:32:48 PM »

EDIT: Sorry, my fault. This is not a bug.

TVActor.Render() increasing animation speed. I just tested it, rendered the same actor 16 times, and the animation speed was very high (with one render everything ok, of curse).

vbCrLf.
« Last Edit: October 30, 2007, 03:41:04 PM by vbCrLf » Logged

TVProjects
newborn
Customers
Community Member
*****
Posts: 2451


WWW
« Reply #1 on: October 30, 2007, 02:46:50 PM »

isn't tvactor.render updating animation as well? maybe thats why you're getting high speed
Logged

vbCrLf
Community Member
*
Posts: 326


WWW
« Reply #2 on: October 30, 2007, 02:48:34 PM »

Maybe, but its not suppose to update the animation... For example, how can I render the glow surface?
Logged

TVProjects
Brac
Customers
Community Member
*****
Posts: 367


« Reply #3 on: October 30, 2007, 03:23:28 PM »

And you are 100% sure you didn't do TVActor.Update() 16 times?
Try TVActor.Render(false), that should solve your problems, afaik only Update
actually updates the actor.
Logged
vbCrLf
Community Member
*
Posts: 326


WWW
« Reply #4 on: October 30, 2007, 03:40:11 PM »

Ok, sorry... Not a bug... Thanks Brac.
Logged

TVProjects
sybixsus
Customers
Community Member
*****
Posts: 1339


WWW
« Reply #5 on: November 17, 2007, 01:56:39 PM »

Is that really all you need to do? Because if I have a glow effect enabled, thus requiring a separate render pass for the glow effect, I call Actor->Render() during the normal render pass and then Actor->Render(False) during the glow pass, and my actors are still doubling their animation speed.

Is there anything else on actor which has the same effect? I've already checked I'm not calling Actor->Render() at any other times and I'm not calling Actor->Update at all.

I wondered if it might be because my skeletons are being shared between actors, but unfortunately, with the TVA exporter broken, I can't export any new ones to try using different actors for the shadows.
« Last Edit: November 17, 2007, 02:01:33 PM by sybixsus » Logged
Pages: [1]
  Print  
 
Jump to:  

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