2 puts "0030076: Visualization, TKV3d - API to update certain vertex attribute(s) without recomputing a presentation"
12 vdrawparray a triangles -deinterleaved -mutable v 10 0 0 {*}$c1 v 11 0 0 {*}$c1 v 11 1 0 {*}$c1 v 11 1 0 {*}$c2 v 10 1 0 {*}$c2 v 10 0 0 {*}$c2
14 vdump $imagedir/${casename}_1.png
15 vdrawparray a -patch triangles -deinterleaved -mutable v 10 0 0 {*}$c2 v 11 0 0 {*}$c2 v 11 1 0 {*}$c2 v 11 1 0 {*}$c1 v 10 1 0 {*}$c1 v 10 0 0 {*}$c1
16 if { [vreadpixel 200 150 rgb name] != "RED" } { puts "Error: array was not updated" }
17 if { [vreadpixel 200 250 rgb name] != "BLUE" } { puts "Error: array was not updated" }
18 vdump $imagedir/${casename}_2.png