blob: e9ef4a2f50b8a0e7a33082a9188b1a161350de80 [file] [edit]
puts "=================================================================="
puts "0030979: Aspect_GDM_Points renders dots at rectangular grid intersections"
puts "=================================================================="
pload MODELING VISUALIZATION
vclear
vinit View1
vaxo
box b 1 2 3
vdisplay b -dispMode 1
vfit
vzoom 0.2
# Lines mode (default): full grid with horizontal and vertical lines.
vgrid -type rect -step 0.5 0.5 -mode lines
vdump $imagedir/${casename}_lines.png
# Points mode: only the intersections light up (uDrawMode=1 in shader,
# alpha = aAlphaX * aAlphaY instead of max(aAlphaX, aAlphaY)).
vgrid -type rect -step 0.5 0.5 -mode points
vdump $imagedir/${casename}_points.png
# Circular grid with points (dots at ring x spoke intersections).
vgrid -type circ -step 0.5 8 -mode points
vdump $imagedir/${casename}_circ_points.png
vgrid off