mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 16:39:12 +08:00
- Renamed grid terminology and command/API surface from `inf`/“infinite” to `gpu`/“GPU”, plus `viewAdaptive` for camera-relative sizing. - Updated OpenGl grid rendering to compute adaptive bounds from the visible region and to fix axis coloring for rotated rectangular grids. - Refreshed Draw tests, help text, and API comments to match the new behavior.
21 lines
456 B
Plaintext
21 lines
456 B
Plaintext
puts "==========================================================="
|
|
puts "0030979: shader GPU grid follows non-default privileged"
|
|
puts "plane (YZ plane: normal +X)."
|
|
puts "==========================================================="
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
vclear
|
|
vinit View1
|
|
vaxo
|
|
box b 1 2 3
|
|
vdisplay b -dispMode 1
|
|
vfit
|
|
vzoom 0.2
|
|
|
|
vpriviledgedplane 0 0 0 1 0 0 0 1 0
|
|
vgrid -type gpu -color 0.2 0.8 0.3
|
|
vdump $imagedir/${casename}_yz.png
|
|
|
|
vgrid off
|