FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Mesh disappear after adding ipo-animation

3 posters

Go down

Mesh disappear after adding ipo-animation Empty Mesh disappear after adding ipo-animation

Post  skaterazn Mon Aug 31, 2009 8:21 am

hello,
my cube disapper after i added an ipo-curve to it.
but when i start the animation the cube is visible again. so how can i make the cube visible without starting the animation?

skaterazn

Posts : 12
Join date : 2009-07-03

Back to top Go down

Mesh disappear after adding ipo-animation Empty Re: Mesh disappear after adding ipo-animation

Post  sio2interactive Mon Aug 31, 2009 4:53 pm

Can you do a bit of debugging and check where the render function of that object jump? That will help me to check where it can be wrong...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Mesh disappear after adding ipo-animation Empty Re: Mesh disappear after adding ipo-animation

Post  Faikus Tue Sep 01, 2009 8:34 am

I had the same problem. The reason for me was in sio2ObjectRender: the IPO's matrix is applied even if the animation is not set to play, but this matrix contains random values initially and is only filled with valid ones in sio2ResourceRender if the IPO has been set to play. I worked around this in the method sio2ObjectRender of file sio2_object.cc by replacing the line

if( _SIO2object->_SIO2ipo)

with

if( _SIO2object->_SIO2ipo && _SIO2object->_SIO2ipo->state == SIO2_PLAY)

Faikus

Posts : 23
Join date : 2009-05-26
Location : Berlin

Back to top Go down

Mesh disappear after adding ipo-animation Empty Re: Mesh disappear after adding ipo-animation

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum