Shows to perform picking on buffered shapes

VSG extension Demonstates how to perform picking on buffered shapes and how to use or display the information provided by the picking mechanism.

The SoBufferedShape node brings the support for picking in order to be able to query data at specific positions from GPU buffer objects.

This demo also displays the result of the triangle callback (it uses generatePrimitives) to display a generic representation of the shape using triangles callback. This feature shows how it is important, when new custom shapes node, to provide the generatePrimitives for different kind of basi geometric operations like rayPick.



SoBufferedShape, SoBBox, SoGpuBufferObject, SoRayPickAction, SoDetail, SoPrimitiveVertex


Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.