Guidelines for Import
In this module, learn about the guidelines to follow for importing textures/3D models for them to work seamlessly.
Texture Import
- File Format: Use compressed texture formats like .png or .jpg for better performance.
- Resolution: Keep texture resolutions as low as possible while maintaining acceptable visual quality. A good starting point is 1024x1024 pixels for diffuse/albedo textures.
- File Size: Aim for individual texture file sizes below 1-2 MB. Larger textures can cause longer load times and increased memory usage.
3D Model Import
- File Format: Import 3D models in Blocks-compatible formats like .fbx or .glb.
- Polygon Count: Keep polygon counts as low as possible while preserving essential details. A good target is below 100,000 polygons for real-time rendering. Complex models may need to be optimized using techniques like level-of-detail (LOD).
- Vertex Normals: Ensure models have properly calculated vertex normals for accurate lighting and shading.
- Texture Mapping: Use efficient UV mapping techniques to minimize texture stretching and seams.
- Pivot Point: Set the pivot point of the model at the appropriate location (e.g., the base) for easier positioning.
- Scale: Import models at an appropriate scale for your application. Blocks uses a 1 unit = 1 meter scale by default.
- File Size: Aim for individual model file sizes below 20-30 MB, depending on the complexity of the model and textures.