<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
hi<br>first of all thanks for ur email :)<br>Here is in brief what I'm trying to do and on the basis of that kindly guide me whether I'm right or wrong.<br><br>1. By using VTK , I&nbsp; have design a prototype i.e&nbsp; Pre operative surgical tool.<br>2. Now, I need to do some advancement (for example Haptics ) and for Volume Rendering&nbsp; I will need to move on GPU programming etc.<br>3. OpenGL is very strong and many libraries support OpenGl as u know. <br>4. However, I m confuse herer and want help. Can I use my OPENGL stuff (i.e in C) and call from VTK(C++). or Can i use directly OPENGL from VTK. <br><br>As, i have gone through VTK and Yes it does use OPENGL. A<span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">s u said "</span></span><span style="font-weight: bold; color: rgb(255, 0, 0);">VTK deals with OpenGL for you".  <br><span style="color: rgb(0, 0, 0);"><br>So, In Similar manner how can i use my OpenGl (u can say generic code in VTK)/ how can i use direct opengl code with my VTK code.<br><br>I will so glad if u kindly clear my concept. <br></span></span><br><div>
<strong><font color="#0000ff">Saira Saleem Pathan</font></strong><img src="http://graphics.hotmail.com/greypixel.gif" height="2" vspace="9" width="100%"><BR>
 Ph.D. Student<BR>
Univerity of Leeds <BR>
United Kingdom.<br><br>&gt; Date: Fri, 3 Aug 2007 15:20:17 +0100<br>&gt; From: andrew.porter@manchester.ac.uk<br>&gt; To: vtkusers@vtk.org<br>&gt; Subject: Re: [vtkusers] HELP ----OpenGL and VTK<br>&gt; <br>&gt; Hi Saira,<br>&gt; <br>&gt; &gt;&gt; This is very basic but I´m very confuse .............can any body help me regarding how can i use OPENGL code( written is C) with VTK<br>&gt; &gt;&gt; I know this is very basic but very important to me. <br>&gt; &gt;&gt; Can anybody guide me or some sample code ( just to see how it works)<br>&gt; &gt;&gt; I will really appreciate ur response :)<br>&gt; &gt;&gt;<br>&gt; One of the advantages of using VTK is that it deals with OpenGL for you <br>&gt; so that you don't have to.  Could you give a bit more background on what <br>&gt; you are trying to do?<br>&gt; <br>&gt; Cheers,<br>&gt; <br>&gt; Andrew.<br>&gt; <br>&gt; -- <br>&gt; <br>&gt; Dr Andrew Porter<br>&gt; School of Chemistry, University of Manchester,<br>&gt; Manchester Interdisciplinary Biocentre,<br>&gt; 131 Princess Street,<br>&gt; Manchester, M1 7DN.<br>&gt; <br>&gt; e: andrew dot porter at manchester dot ac dot uk<br>&gt; t: +44 (0)161 306 2715<br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list. <br>&gt; Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br></div><br /><hr />Change is good. See what's different about Windows Live Hotmail. <a href='http://www.windowslive-hotmail.com/learnmore/default.html?locale=en-us&ocid=RMT_TAGLM_HMWL_reten_changegood_0607' target='_new'>Check it out!</a></body>
</html>