| puts "==================================================================" | |
| puts "Restored CPU circular grid path: V3d_CircularGrid + ActivateGrid" | |
| puts "==================================================================" | |
| # Exercises the legacy CPU circular grid (rings + spokes drawn into a | |
| # Graphic3d_Structure). The shader path with arc support is covered by | |
| # circ_gpu and bounded_circ. | |
| pload MODELING VISUALIZATION | |
| vclear | |
| vinit View1 | |
| vaxo | |
| box b 1 2 3 | |
| vdisplay b -dispMode 1 | |
| vfit | |
| vzoom 0.2 | |
| # 8 divisions (22.5 deg spokes), radius step 0.5 | |
| vgrid -type circ -step 0.5 8 | |
| vdump $imagedir/${casename}_circ.png | |
| # Finer angular resolution, bigger radial spacing | |
| vgrid -type circ -step 1.0 24 | |
| vdump $imagedir/${casename}_circ_fine.png | |
| # Rotated | |
| vgrid -type circ -step 0.5 12 -rotAngle 0.4 | |
| vdump $imagedir/${casename}_circ_rotated.png | |
| # Points mode | |
| vgrid -type circ -step 0.5 8 -mode points | |
| vdump $imagedir/${casename}_circ_points.png | |
| vgrid off |