Skip to content
Novus Examples
obj59.3 KB

OBJ — PBR Sphere referencing an MTL

A smooth-shaded sphere as Wavefront OBJ with `mtllib`/`usemtl` pointing at a sibling MTL. Downloading the OBJ alone gives you the classic missing-material case; downloading both reproduces the glTF metallic-roughness twin in this group.

Loading 3D preview…

Interactive preview rendered from the equivalent glTF (pbr-sphere.glb); drag to orbit. Download the file above for the OBJ original.

Specifications

Format
Wavefront OBJ
Vertices
544
Triangles
960
Normals
true
Mtllib
pbr-sphere.mtl
Usemtl
NovusBrushedMetal
Smoothing Group
1

Testing contract

Expected to pass
Scenario
Import the OBJ with and without pbr-sphere.mtl next to it.
Expected result
With the MTL the sphere is brushed metal; without it the importer must fall back to a default material and warn rather than fail.

What is a .obj file?

OBJ (Wavefront OBJ) is a text-based 3D geometry format defining vertices, texture coordinates, normals, and faces, and referencing materials through a companion MTL file. It is simple, widely supported, and can represent polygonal meshes with UV mapping. It is a common interchange format across 3D tools.

How to use this file

Use an example OBJ to test mesh and UV parsing, MTL material resolution, and importers in 3D engines, renderers, and modeling applications.

How to use this file for testing

“OBJ — PBR Sphere referencing an MTL” is a deterministic Novus Examples fixture for PBR material testing, Conversion testing. Complete PBR material sets — base colour, normal, roughness, metallic, ambient occlusion, and height — for testing material-generation models and physically-based renderers channel by channel.

Documented properties for this file: Wavefront OBJ. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

3D and CAD fixtures carry one small, documented solid or scene. Convert and inspect against the known geometry, units, and structure; format twins let you diff interchange fidelity, and the 3D viewer previews the actual mesh.

Code examples

import trimesh  # pip install trimesh

mesh = trimesh.load("pbr-sphere.obj")
print(mesh.bounds, mesh.faces.shape)

Generated by generation/models_p7.py. Free for any use, no attribution required — license.