Confused by Surfaces

Blitz3D Forums/Blitz3D Beginners Area/Confused by Surfaces

Nexus6(Posted 2007) [#1]
I've never fully understood surfaces, so here's my question -
If i have a human model made of several parts, (each limb will be loaded seperately), will each part be a unique surface? and if so, is there a way to combine them into one surface?

Is there any apps out there that can import media files and optimize them into as few surfaces as possible?


Beaker(Posted 2007) [#2]
Each limb will contain at least one surface. You can't combine objects into one surface unless you don't mind having one object at the end.

You could combine your parts body into one surface and export to a skinned (and potentially animated) B3D instead.


jfk EO-11110(Posted 2007) [#3]
To combine multiple meshes to get an optimized surface count (something that detects identic brushes) you may use the command AddMesh.

Note you should not use EntityCommands on the meshes you want to unify. Instead use the corresponding Mesh Commands. eg:

instead of ______ use:

PositionEntity POsitionMesh
RotateEntity RotateMesh
Scaleentity scalemesh
EntityTexture PaintMesh

and so on. Practicly, you can undo the entitycommands and then apply the same parameters using the Mesh commands, eg:

EntityPOsition somewhere
....
Store position
EntityPosition mesh,0,0,0
PositionMesh mesh, storedx,storedy,storedz

The same for rotation and scaling. Note Rotation must be in the correct (pitch yaw roll or so) order, that I don't remember right now :o) but can be found by experimenting.

That said, when you have AddMeshed the limbs to one mesh, you will no longer be able to rotate, move etc them individually.