[vtkusers] New Wiki Example: RenderPassExistingContext
Hellice
saouli-abdelhak at hotmail.com
Sat Apr 21 17:42:22 EDT 2012
Hi sir
I have implemented ray casting using cuda end opengl
what i need know is to make some vkt objects and information like camera
position orientation, and even the intractor event to be passed as inputs to
my works let me give you exmple
// vtk code
vtkCamera *CameI = vtkCamera::New();
CameI->SetClippingRange(0.0475,2.377);
CameI->SetFocalPoint(0.0,0.0,0.0);
CameI->SetPosition(0.0,0.0,-2.0);
CameI->ComputeViewPlaneNormal();
CameI->SetViewUp(1,0,0);
ren1->SetActiveCamera( CameI );
ren1->ResetCamera();
iren->Start();
// protype of rendring in opengl context
void renderVRopengl(CameI,.....) // is tht possible ?
--
View this message in context: http://vtk.1045678.n5.nabble.com/New-Wiki-Example-RenderPassExistingContext-tp4472067p5656800.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list