Files
OCCT/tests/v3d/grid/circ_gpu
Pasukhin Dmitry 058ec16010 Visualization - Grid shader update (#1264)
- 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.
2026-05-05 09:43:14 +01:00

30 lines
799 B
Plaintext

puts "=================================================================="
puts "0030979: vgrid -type gpu with circular options uses the polar shader"
puts "=================================================================="
pload MODELING VISUALIZATION
vclear
vinit View1
vaxo
box b 1 2 3
vdisplay b -dispMode 1
vfit
vzoom 0.2
# Shader circular grid: -type gpu with -step <radial> <divisions> picks the polar
# branch. 8 divisions (22.5 deg spokes), radius step 0.5.
vgrid -type gpu -step 0.5 8 -radius 5
vdump $imagedir/${casename}_circ.png
# Finer angular resolution, bigger radial spacing
vgrid -type gpu -step 1.0 24 -radius 10
vdump $imagedir/${casename}_circ_fine.png
# Rotated
vgrid -type gpu -step 0.5 12 -radius 5 -rotAngle 0.4
vdump $imagedir/${casename}_circ_rotated.png
vgrid off