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

FreeBSD Manual Pages

  
 
  

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

NAME
       build_3dplane - Build a model comprised of a tesselated plane.

SYNOPSIS
       VID or BADID
       build_3dplane(	float:min_s,  float:min_t,  float:max_s,  float:max_t,
       float:base, float:step_s, float:step_t )
       build_3dplane(  float:min_s,  float:min_t,  float:max_s,	  float:max_t,
       float:base, float:step_s, float:step_t, int:nmaps=1 )
       build_3dplane(	float:min_s,  float:min_t,  float:max_s,  float:max_t,
       float:base, float:step_s, float:step_t, int:nmaps, bool:vert=false )

DESCRIPTION
       This function builds a tesselated plane mesh and	attaches to a 3D model
       that gets marked	as completed and consumes nmaps	  texture  slots  from
       the  frameset  of  the  model. Depending	on if vert  is set or not, the
       plane will either be horizontal or vertical. If the plane  is  horizon-
       tal,   the   vertices   will   range  from  (xyz)  min_s,base,min_t  to
       max_s,base,max_t	with step_s and	step_t controlling the step size (must
       be smaller than the max-min for each axis). If vert  is set,  the  ver-
       tices will range	from (xyz) min_s,min_t,base to max_s,max_t,base.

3d				  April	2025		      build_3dplane(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=build_3dplane&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help