-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug where all texture signatures would be output
- Loading branch information
Showing
4 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
tests/scenes/TestMaterials/test_texture_mixing_material.pbrt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
Film "rgb" "string filename" [ "test_texture_mixing_material.exr" ] "integer xresolution" [ 320 ] "integer yresolution" [ 240 ] | ||
PixelFilter "gaussian" "float xradius" [ 2 ] "float yradius" [ 2 ] | ||
Sampler "zsobol" "integer pixelsamples" [ 16 ] | ||
Integrator "volpath" "integer maxdepth" [ 5 ] | ||
Accelerator "bvh" | ||
|
||
# /obj/cam1 | ||
Transform [ 0.6691 -0.4263 -0.6087 0 0 0.8192 -0.5736 0 -0.7431 -0.3838 -0.5481 0 0.5921 -0.07283 13.84 1 ] | ||
Camera "perspective" "float fov" [ 45 ] "float screenwindow" [ -1 1 -0.75 0.75 ] | ||
|
||
WorldBegin # { | ||
|
||
# ================================================== | ||
# Light Definitions | ||
# /obj/envlight1 | ||
AttributeBegin # { | ||
Transform [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] | ||
Scale 1 1 -1 | ||
Rotate 90 0 0 1 | ||
Rotate 90 0 1 0 | ||
LightSource "infinite" "float scale" [ 0.5 ] | ||
AttributeEnd # } | ||
|
||
|
||
# ================================================== | ||
# NamedMaterial Definitions | ||
Texture "/mat/pbrt_texture_checkerboard2" "spectrum" "checkerboard" | ||
Texture "/mat/pbrt_texture_checkerboard1" "float" "checkerboard" | ||
Texture "/mat/pbrt_texture_mix1" "float" "mix" "float amount" [ 0.4 ] "texture tex1" [ "/mat/pbrt_texture_checkerboard1" ] | ||
Texture "/mat/pbrt_texture_mix2" "spectrum" "mix" "texture amount" [ "/mat/pbrt_texture_mix1" ] "texture tex1" [ "/mat/pbrt_texture_checkerboard2" ] | ||
MakeNamedMaterial "/mat/pbrt_material_diffuse1" "string type" "diffuse" "texture reflectance" [ "/mat/pbrt_texture_mix2" ] | ||
|
||
|
||
# ================================================== | ||
# NamedMedium Definitions | ||
|
||
# ================================================== | ||
# Object Instance Definitions | ||
|
||
# ================================================== | ||
# Object Definitions | ||
# -------------------------------------------------- | ||
# /obj/geo1 | ||
AttributeBegin # { | ||
ConcatTransform [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] | ||
NamedMaterial "/mat/pbrt_material_diffuse1" | ||
# Can not find soppath for object | ||
AttributeEnd # } | ||
|
||
|
||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters