blender/tests/files/io_tests/obj/reference/materials_without_pbr.txt
Hans Goudey 1f30701f97 Tests: Order independent attribute comparion in IO tests
The order of attributes is mostly implementation defined at the moment,
based on the order of CustomDataType definitions and the order that each
CustomData struct happens to be referenced in. For #122398 this order
may change to creation order which is sometimes different. To avoid
testing the order of attributes in the list, sort the names first in
the mesh text representations, and update the references accordingly.

Pull Request: https://projects.blender.org/blender/blender/pulls/152728
2026-01-12 19:25:11 +01:00

94 lines
2.6 KiB
Text

==== Meshes: 2
- Mesh 'CubeMat1' vtx:8 face:6 loop:24 edge:12
- 0 4 6 2 3 ... 3 5 4 0 1
- 0/2 0/4 4/6 2/6 3/7 ... 5/7 4/5 1/5 1/3 0/1
- attr 'UVMap' FLOAT2 CORNER
- (0.625, 0.500)
- (0.875, 0.500)
- (0.875, 0.750)
...
- (0.625, 0.250)
- (0.625, 0.500)
- (0.375, 0.500)
- attr 'material_index' INT FACE
- 0 0 0 0 0 0
- attr 'position' FLOAT_VECTOR POINT
- (-0.379, -1.647, -0.381)
- (-1.576, -0.385, 0.607)
- (1.172, -1.046, 0.730)
...
- (-1.172, 1.046, -0.730)
- (1.576, 0.385, -0.607)
- (0.379, 1.647, 0.381)
- attr 'sharp_face' BOOLEAN FACE
- 1 1 1 1 1 1
- 1 materials
- 'Mat1'
- Mesh 'CubeMat2' vtx:8 face:6 loop:24 edge:12
- 0 4 6 2 3 ... 3 5 4 0 1
- 0/2 0/4 4/6 2/6 3/7 ... 5/7 4/5 1/5 1/3 0/1
- attr 'UVMap' FLOAT2 CORNER
- (0.625, 0.500)
- (0.875, 0.500)
- (0.875, 0.750)
...
- (0.625, 0.250)
- (0.625, 0.500)
- (0.375, 0.500)
- attr 'material_index' INT FACE
- 0 0 0 0 0 0
- attr 'position' FLOAT_VECTOR POINT
- (0.036, -1.374, -4.186)
- (-1.161, -0.113, -3.198)
- (1.587, -0.774, -3.075)
...
- (-0.757, 1.318, -4.535)
- (1.991, 0.657, -4.412)
- (0.794, 1.919, -3.424)
- attr 'sharp_face' BOOLEAN FACE
- 1 1 1 1 1 1
- 1 materials
- 'Mat2'
==== Objects: 2
- Obj 'CubeMat1' MESH data:'CubeMat1'
- pos 0.000, 0.000, 0.000
- rot 1.571, 0.000, 0.000 (XYZ)
- scl 1.000, 1.000, 1.000
- Obj 'CubeMat2' MESH data:'CubeMat2'
- pos 0.000, 0.000, 0.000
- rot 1.571, 0.000, 0.000 (XYZ)
- scl 1.000, 1.000, 1.000
==== Materials: 2
- Mat 'Mat1'
- base color (0.800, 0.276, 0.102)
- specular ior 0.250
- specular tint (1.000, 1.000, 1.000)
- roughness 0.400
- metallic 0.900
- ior 1.450
- viewport diffuse (0.800, 0.276, 0.102, 1.000)
- viewport specular (1.000, 1.000, 1.000), intensity 0.500
- viewport metallic 0.900, roughness 0.400
- backface False probe True shadow False
- Mat 'Mat2'
- base color (0.800, 0.800, 0.800)
- specular ior 0.500
- specular tint (1.000, 1.000, 1.000)
- roughness 0.000 tex:'texture_roughness.png' (//blend_geometry/texture_roughness.png) a:False Non-Color
- metallic 0.000
- ior 1.450
- emission color (1.000, 1.000, 1.000) tex:'texture_illum.png' (//blend_geometry/texture_illum.png) a:False
- emission strength 1.000
- viewport diffuse (0.800, 0.800, 0.800, 1.000)
- viewport specular (1.000, 1.000, 1.000), intensity 0.500
- viewport metallic 0.000, roughness 0.000
- backface False probe True shadow False
==== Images: 2
- Image 'texture_illum.png' 8x8 24bpp
- Image 'texture_roughness.png' 8x8 24bpp