mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
Improve consistency and visual appearance of predefined OCCT materials in various rendering modes, including ray-tracing: - Increase the specular exponents (shininesses) for metallic surfaces: Brass, Bronze, Copper, Gold, Pewter, Silver, Steel, Chrome, Aluminum. - Revise specular colors for metals: Copper, Gold, Aluminum, Silver (according to "Real-Time Rendering, 3rd Edition", AK Peters 2008). - Increase diffuse reflection of metals: Silver, Aluminum, Chrome (to make them brighter in OpenGL mode). - Extend Material definition by Refraction Index. Advanced rendering methods based on shaders or ray-tracing can utilize it to produce refraction effects. In addition: - Introduce three translucent materials: Water, Glass, and Diamond. - Add Charcoal for modeling dark diffuse surfaces. Add new TCL-based sample (materials.tcl) and test case (tests/v3d/materials/bug24855).
28 lines
463 B
Plaintext
Executable File
28 lines
463 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23410"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# QA comamnds don't work properly in new testing system
|
|
#######################################################################
|
|
pload QAcommands
|
|
|
|
set x_coord 128
|
|
set y_coord 235
|
|
|
|
box result 100 100 100
|
|
vdisplay result
|
|
vsetdispmode 1
|
|
vfit
|
|
vsetcolor result GREEN
|
|
|
|
checkcolor $x_coord $y_coord 0.00 0.83 0.00
|
|
|
|
set 3dviewer 1
|
|
|
|
|
|
|
|
|
|
|
|
|