Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
camtag_model(3)			 Arcan Lua API		       camtag_model(3)

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

SYNOPSIS
       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 )

DESCRIPTION
       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	 acti-
       vated.  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 cam-
       era and disable normal processing. the argument form providing  projec-
       tion    will  replace  the current projection matrix of the camera with
       that of the table.

SEE ALSO:
       video_3dorder(3)

3d				  April	2022		       camtag_model(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO:

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=camtag_model&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help