i want to create a shape, that shows the camera view frustum of a
specific camera. my*question:
is there a simplier way, than create a shape (SoTriangleStripSet) to
see the viewfrustum?
so i didn't no that way, i created a unit cube (sidelength 2 ;
center=(0,0,0) ) with a triangle strip set and want to transform it to
a view frustum.
SbViewVolume myVol = myCamera->getViewVolume();
SbMatrix mat = myVol.getCameraSpaceMatrix();
the matrix mat i wnated to use inverse, to get the inverse camera
space transformation, so
the transform node is used to transform the shape. but it didn't work.
i don't know, if i use the correct matrix from camera (the
transformation from specific view frustum to a unit cube)???
can anyone help me??