1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0033225: Changing the status of tests on Ubuntu 20.04 and Windows 64 VC142

This commit is contained in:
smoskvin
2022-11-26 15:37:37 +03:00
parent 3837b3bf28
commit 057dcfddf7
78 changed files with 24 additions and 1802 deletions

View File

@@ -1,36 +0,0 @@
puts "============"
puts "0031478: Visualization, TKOpenGl - allow uploading Cubemap in compressed DDS format when supported by GPU"
puts "============"
puts ""
pload MODELING VISUALIZATION
if { $::tcl_platform(os) == "Darwin" } {
# PBR doesn't work with Compatible Profile on macOS
vcaps -core
}
if { [vdriver -default] == "TKOpenGles" } {
puts "Skipping test case 'DDS texture': OpenGL ES does not support sRGB S3TC_DXT1 texture format"
return
}
set aCubeMapPNG [locate_data_file cubemap_labels.png]
set aCubeMapDDS [locate_data_file cubemap_labels.dds]
box b 1 2 3
psphere s 1
vclear
vinit View1 -w 512 -h 512
vcamera -fovy 100
vzbufftrihedron
#vdisplay -dispMode 1 b
vdisplay -dispMode 1 s
vfit
vrenderparams -shadingModel pbr
vbackground -cubemap $aCubeMapPNG -invertedz
vdump $imagedir/${casename}_png.png
vbackground -cubemap $aCubeMapDDS -invertedz
vdump $imagedir/${casename}_dds.png

View File

@@ -1,25 +0,0 @@
puts "============"
puts "0032590: Visualization, V3d_View - improve API for setting Image Based Lighting"
puts "============"
puts ""
set aCubeMapLabs [locate_data_file cubemap_labels.png]
pload MODELING VISUALIZATION
# PBR doesn't work with Compatible Profile on macOS
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
vclear
vclose ALL
source $env(CSF_OCCTSamplesPath)/tcl/vis_pbr_spheres.tcl
vcamera -fovy 100
vbackground -cubemap $aCubeMapLabs -pbrEnv noIBL
vdump $imagedir/${casename}_1.png
vbackground -pbrEnv IBL
vdump $imagedir/${casename}_2.png
vbackground BLACK -pbrEnv KEEP
vdump $imagedir/${casename}_3.png

View File

@@ -1,31 +0,0 @@
puts "========"
puts "0031302: Visualization, TKOpenGl - wrong tangent space calculation for normal maps"
puts "Test for tangent space orientation."
puts "========"
pload XDE OCAF MODELING VISUALIZATION
# PBR doesn't work with Compatible Profile on macOS
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
vclear
vclose ALL
vinit v -w 1024 -h 1024
vcamera -persp
vbackground -cubemap [locate_data_file Circus_CubeMap_V.png]
vrenderparams -shadingModel PBR
vlight -clear
vlight -add ambient
Close D -silent
ReadGltf D [locate_data_file bug31302_NormalTangentTest.gltf]
XDisplay -dispmode 1 D
vfront
vfit
vdump $imagedir/${casename}_front.png
vback
vdump $imagedir/${casename}_back.png