Model requirements for using with Alternativa3D

From AlternativaPlatform Wiki

Jump to: navigation, search


Contents

[edit] Introducing

At this article are described the requirements for 3D-model. You should consider these requirements when you work with Alternativa3D. Requirements may be changed because the engine is constantly being improved.

[edit] Geometry and objects

Option \ restriction Value Additionally
Maximum number of vertices in object 65000 For one object
Maximum number of triangles 65000 For one object
Maximum number of objects at scene 32767 This limit depends on the number of drawcalls. It may be less, depending on:
  • type of objects
  • type of using materials
  • number of surfaces
Maximum number of unique Geometry 4096 This limit follows from the Stage3D limits

[edit] Characters

Option \ restriction Value Additionally
Maximum number of bone influences to the vertex 8
Characters with a large number of bones break apart after the loading
Maximum number of bones to the part 33 depends on the type of material used

[edit] Texturing

Option \ restriction Value Additionally
Maximum number of UV-channels in model 8 value will decrease
Supported textures formats JPG, PNG, GIF (without animation) This requires save them using Flash CS or using decoders for additional formats.
Maximum texture size 2048x2048 Limit of Molehill
Texture size power of two (2^n) For example, 2x8, 256x256, 2048x1024

[edit] Available maps

Option \ restriction Value Additionally
Color diffuse map
Transparency opacity map
Normals map in TANGENT space or in OBJECT space
Specular map specular map
Glossiness map glossiness map, shininess map

[edit] Transparency

Option \ restriction Value Additionally
Transparent objects are sorted each other
Facets of transparent objects are not sorted and might conflict with each other For conflicts resolving you can:
  • decrease the transparent areas by separation on the surfaces
  • use alpha-test on rendering

[edit] Lighting

[edit] Types of light sources

Option \ restriction Value Additionally
Ambient AmbientLight
Directional DirectionalLight
Point PointLight
Сonical SpotLight

[edit] Restrictions on lighting

Option \ restriction Value Additionally
Maximum number of light sources effects to a single object 6 Not for AmbientLight (any number of AmbientLight)
The affected area of Ambient light All space
The affected area of Directional light All space
The affected area of Point light End of Point Light attenuation
The affected area of Spot light Spotlight is bounded by box
For lighting on normals map in TANGENT space, object must has tangents and vertices normals
Personal tools
Namespaces
Variants
Actions
Navigation
Category
Toolbox
In other languages