Jump to content
Sign in to follow this  
chaddcarr

Pan-Tilt-Zoom (PTZ) Camera

Recommended Posts

Not sure if this is the correct thread however the task would seem to be more of a config issue over a modeling one. I was curious if any knew of a way to create a type of surveillance camera functionality. Players would click a control panel then the view would change to match that of the cameras line of sight. Players could pan up and down, zoom in and out, etc.

Share this post


Link to post
Share on other sites

It may be roughly attained by the following procedures.

*Generate a dialog by createdialog. (Dialog Control)

*Generate a camera by camCreate.

*Mouse click judgment by ctrlSetEventHandler. (User Interface Event Handlers)

*Camera rotation etc... camSetDir, camSetDive, camSetFov.

*If the focus of the click point is carried out ... camSetTarget and posScreenToWorld.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×