Camera switching

Blitz3D Forums/Blitz3D Programming/Camera switching

David819(Posted 2004) [#1]
Hi, how do you switch the between 2 to more camera's juring a project, like have one camera for the player, one for fmv's and another for specials effects?


Big&(Posted 2004) [#2]
You just hide the cameras you aren't using, leaving only one unhidden. Blitz will render the view from that one.


Rob Farley(Posted 2004) [#3]
Or if you're like me and attach a cake load of stuff to the camera then create a bunch of pivots of where you want your cameras and then place the camera at the entityx,y,z,pitch,roll,yaw of the pivot you want the camera to be at.


David819(Posted 2004) [#4]
Thanks Big&, works well. and also thanks Rob, that will help me to with my next project if i finnish this one.


Barliesque(Posted 2004) [#5]
According to the help docs, instead of using HideEntity, it's faster to use CameraProjMode cam,0 ...not that I know what is faster about that method.