GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
camtag_model(3) Arcan Lua API camtag_model(3)

camtag_model - Define a camera for the 3D processing of a rendertarget

camtag_model( vid:dst )
camtag_model( )
camtag_model( vid:dst, numbtl:projection )
camtag_model( )
camtag_model( vid:dst, float:near )
camtag_model( )
camtag_model( vid:dst, float:near, float:far )
camtag_model( )
camtag_model( vid:dst, float:near, float:far, float:fov )
camtag_model( )
camtag_model( vid:dst, float:near, float:far, float:fov, float:aspect )
camtag_model( )
camtag_model( vid:dst, float:near, float:far, float:fov, float:aspect, bool:front )
camtag_model( )
camtag_model( vid:dst, float:near, float:far, float:fov, float:aspect, bool:front, bool:back )
camtag_model( )
camtag_model( vid:dst, float:near, float:far, float:fov, float:aspect, bool:front, bool:back, float:linew )
camtag_model( )
camtag_model( vid:dst, float:near, float:far, float:fov, float:aspect, bool:front, bool:back, float:linew, vid:tgt )

This function is used to provide a rendertarget with a camera, enabling the 3D processing part of the pipeline. The object that is used as dst will be converted into a camera- type, and it is from the perspective of this object that the 3D scene will be processed. The destination rendertarget is either the primary attachment of the object used for dst , or, if the long-form argument is used, a specific rendertarget via tgt . The camera parameters are tuned using near , far , and aspect which are used to compute the projection matrix that will be activated. The boolean toggles front and back determines which sides of the model primitives that will be drawn. Setting the linew argument to something larger than 0 will enable wireframe drawing mode for the camera and disable normal processing. the argument form providing projection will replace the current projection matrix of the camera with that of the table.

video_3dorder(3)

June 2022 3d

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.