some questions

jonlolo

27-09-2010 15:25:38

hi again
well i have these 2 questions:
1_ i want to display a video using all the screen for cut-scenes on a game. how should i make so i can be sure the video will be displayed (since i need to attach the model to a sceneNode and the camera needs to see it) ? should i create the node in front of my camera ? or should i create a camera and a node somewhere in my scene and switch the active camera ? or maybe you guys come up with a better solution :/

2_ once the video has finished i want to destroy it. so, would i have to ask if there are more frames to render in the frameStarted or frameEnded event and then destroy it ? or is there a simplier way to do it ?

that's it
once again, thanks :>