-
-
Notifications
You must be signed in to change notification settings - Fork 78
SceneManager
Li, Xizhi edited this page Oct 28, 2016
·
11 revisions
There are a number of 3D objects which one can create via scripting API, such as mesh, physics mesh, sky box, camera, biped character, light, particles, containers, overlays, height map terrain, blocks, animations, shaders, 3D assets, etc.
One can set the maximum number of total triangles of animated characters in the 3d scene per frame, like below
ParaScene.GetAttributeObject():SetField("MaxCharTriangles", 150000);
Faraway objects exceeding this value will be skipped during rendering. Another way of reducing triangle count is via level-of-detail (LOD) when loading mesh or characters. Currently, one must manually provide all LOD of mesh when loading a 3d file.
Download Paracraft | ParacraftSDK | copyright by tatfook 2016 | upload image