8,452
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) m (just found today how to make polygon cluster) |
||
Line 1,452: | Line 1,452: | ||
Positions and rotations keyframes can be applied to the camera root object. | Positions and rotations keyframes can be applied to the camera root object. | ||
=====Adding multiple textures to level geometry===== | |||
Material and textures are normally stored right under the object. But AKEV geometry can have more than one texture. Here comes polygon clusters in to play. | |||
An example: | |||
set oCube = Application.ActiveProject.ActiveScene.Root.AddGeometry("Cube","MeshSurface") | |||
SelectObj "cube", , True | |||
SetSelFilter "Edge" | |||
SelectGeometryComponents "cube.poly[LAST]" | |||
CreateCluster | |||
AddToCluster "cube.polymsh.cls.Polygon, cube.poly[2-4]" | |||
RemoveFromCluster "cube.polymsh.cls.Polygon, cube.poly[3]" | |||
The cube has now a polygon cluster. More can be added. Each cluster must get its own material before a texture can be applied to the desired polygons. | |||
[...] | |||
edits