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
build_3dbox(3) Arcan Lua API build_3dbox(3)

build_3dbox - Generate a 3D cube model

vid
build_3dbox( float:width, float:height, float:depth )
build_3dbox( )
build_3dbox( float:width, float:height, float:depth, int:nmaps )
build_3dbox( )
build_3dbox( float:width, float:height, float:depth, int:nmaps, bool:split )

This builds a mesh and binds to a new 3d model that is then finalized. The typical use is for things like skyboxes and debug geometry. The mesh values will range from -(width/2)..+(width/2), -(height/2)..+(height/2), -(depth/2)..+(depth/2). Optionally, the model will have nmaps texturing slots allocated to it. If the split argument is provided and set to true, the model will be split into one submesh for each side, with each submesh consuming nmaps textures.

1
If the split option is set, the number of actual textures needed in the frameset defined on the output vid should be nmaps multiplied by 6, as each face will consume nmaps textures.

build_3dplane(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.