build_3dplane(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

okay so this is the build_3dplane(3) page from the Arcan Lua API, and it's literally about one thing: building a model comprised of a tesselated plane. slay. ✨

✨ SYNOPSIS ✨

bestie, the signature hands back a VID or BADID, and here's the exact call vibe:

       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 πŸ¦‹

so build_3dplane builds a tesselated plane mesh and attaches it to a 3D model. that model gets marked as completed βœ… and it consumes nmaps texture slots from the frameset of the model β€” iykyk, those slots are claimed.

depending on whether vert is set or not, the plane will be either horizontal or vertical. no cap. πŸŒ€

if the plane is horizontal, the vertices range from (xyz) min_s,base,min_t to max_s,base,max_t, with step_s and step_t controlling the step size. and bestie, that step size must be smaller than the max-min for each axis β€” do not mess with that. πŸ’€

if vert is set, the vertices range from (xyz) min_s,min_t,base to max_s,max_t,base. periodt. πŸ‘‘


okay that's the whole page, bestie 🫢 this was build_3dplane(3) from the 3d section, dated October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from