mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 11:47:53 +08:00
058ec16010
- 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.
22 lines
427 B
Plaintext
22 lines
427 B
Plaintext
puts "======================================================="
|
|
puts "0030979: shader GPU grid stays fixed during rotation"
|
|
puts "======================================================="
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
vclear
|
|
vinit View1
|
|
vaxo
|
|
box b 1 2 3
|
|
vdisplay b -dispMode 1
|
|
vfit
|
|
vzoom 0.2
|
|
|
|
vgrid -type gpu -background 1
|
|
vdump $imagedir/${casename}_before.png
|
|
|
|
vrotate 0 0 0.5
|
|
vdump $imagedir/${casename}_after.png
|
|
|
|
vgrid off
|