I have start working with openinventor. I have a socube in viewer. I would like to check if socube is infront of camera or not. So when I move cube somewhere away from camera view value should be false.
SoSeparator root = new SoSeparator();
SoMaterial Material = new SoMaterial();
Material.diffuseColor.SetValue(1.0f, 0.0f, 0.0f); // Red
root.AddChild(Material);
root.AddChild(new SoCone());
viewer = new SoWinExaminerViewer(this);
viewer.SetTitle("Example 1.1 .NET");
viewer.SetSceneGraph(root);
viewer.ViewAll();
Now I want to add a behavior something like if I move cone away from camera it returns false