Log in

View Full Version : 2d text placing to max animation in vizard


kasdeja
07-05-2009, 03:23 AM
Hello all,
I am very very new in vizard. I need little help about something. I have made an animation in 3d max and I have exported it in vizard. From now on animation in vizard is working very well. The question is I want to add 2d texts to this animation which showing in different times. For example between 15-19 seconds 'box' showing up on screen than between 55-59 seconds 'sphere' is showing up. How can I do this?
Thanks in advance.

Jeff
07-06-2009, 11:59 AM
You can add text to the screen and then make it visibile or hide it when a timer function is called.
#Add text to the screen.
text_2D = viz.addText('box', viz.SCREEN )
text_2D.setPosition(.5,.5)
text_2D.visible(viz.OFF)

def showBox():
text_2D.visible(viz.ON)
vizact.ontimer2(4,0,text_2D.visible, viz.OFF)

vizact.ontimer2(15,0,showBox)

kasdeja
07-07-2009, 01:34 PM
Thanks for your answer