forked from PixarAnimationStudios/OpenUSD
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve/adsk/bugfix/heightmapfix (PixarAnimationStudios#629)
* Fix for shader compile error with mx::heighttonormal nodes When we use MaterialX heighttonormal node to convert a height map to normal map, Storm reports a shader error. error C7522: OpenGL requires constants to be initialized The root cause is that the filter kernels are uninitialized const float c_box_filter_weights[84]; const float c_gaussian_filter_weights[84]; Also logged as USD github issue PixarAnimationStudios#2281 * Update basefiles * Add readme and helper script
- Loading branch information
1 parent
9ed3b23
commit b238f00
Showing
11 changed files
with
67 additions
and
2 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
Binary file modified
BIN
+16.4 KB
(110%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_048.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.24 KB
(98%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_105.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.59 KB
(98%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_134.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.36 KB
(100%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_198.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9.37 KB
(96%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_247.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-24.1 KB
(88%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_253.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(99%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_334.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9.64 KB
(95%)
...ng/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/baseline/Prism_360.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions
31
pxr/usdImaging/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/generatebase.bat
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,31 @@ | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_002.usda -write baseline\Prism_002.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_005.usda -write baseline\Prism_005.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_013.usda -write baseline\Prism_013.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_026.usda -write baseline\Prism_026.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_042.usda -write baseline\Prism_042.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_048.usda -write baseline\Prism_048.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_066.usda -write baseline\Prism_066.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_105.usda -write baseline\Prism_105.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_119.usda -write baseline\Prism_119.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_132.usda -write baseline\Prism_132.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_134.usda -write baseline\Prism_134.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_152.usda -write baseline\Prism_152.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_159.usda -write baseline\Prism_159.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_171.usda -write baseline\Prism_171.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_198.usda -write baseline\Prism_198.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_207.usda -write baseline\Prism_207.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_227.usda -write baseline\Prism_227.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_247.usda -write baseline\Prism_247.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_253.usda -write baseline\Prism_253.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_334.usda -write baseline\Prism_334.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_360.usda -write baseline\Prism_360.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_397.usda -write baseline\Prism_397.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_399.usda -write baseline\Prism_399.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_414.usda -write baseline\Prism_414.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2000.usda -write baseline\Prism_2000.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2004.usda -write baseline\Prism_2004.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2011.usda -write baseline\Prism_2011.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2013.usda -write baseline\Prism_2013.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2016.usda -write baseline\Prism_2016.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2022.usda -write baseline\Prism_2022.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2023.usda -write baseline\Prism_2023.png |
34 changes: 34 additions & 0 deletions
34
pxr/usdImaging/usdImagingGL/testenv.adsk/testUsdImagingGLPrismSubset/howto.md
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,34 @@ | ||
## How to generate Base files | ||
``` | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_002.usda -write baseline\Prism_002.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_005.usda -write baseline\Prism_005.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_013.usda -write baseline\Prism_013.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_026.usda -write baseline\Prism_026.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_042.usda -write baseline\Prism_042.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_048.usda -write baseline\Prism_048.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_066.usda -write baseline\Prism_066.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_105.usda -write baseline\Prism_105.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_119.usda -write baseline\Prism_119.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_132.usda -write baseline\Prism_132.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_134.usda -write baseline\Prism_134.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_152.usda -write baseline\Prism_152.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_159.usda -write baseline\Prism_159.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_171.usda -write baseline\Prism_171.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_198.usda -write baseline\Prism_198.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_207.usda -write baseline\Prism_207.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_227.usda -write baseline\Prism_227.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_247.usda -write baseline\Prism_247.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_253.usda -write baseline\Prism_253.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_334.usda -write baseline\Prism_334.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_360.usda -write baseline\Prism_360.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_397.usda -write baseline\Prism_397.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_399.usda -write baseline\Prism_399.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_414.usda -write baseline\Prism_414.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2000.usda -write baseline\Prism_2000.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2004.usda -write baseline\Prism_2004.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2011.usda -write baseline\Prism_2011.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2013.usda -write baseline\Prism_2013.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2016.usda -write baseline\Prism_2016.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2022.usda -write baseline\Prism_2022.png | ||
..\..\..\..\..\install\debug\tests\testUsdImagingGLBasicDrawing -lighting -sceneLights -shading smooth -complexity 1.3 -offscreen -camera /Camera -stage Prism_2023.usda -write baseline\Prism_2023.png | ||
``` |