[vtkusers] HELP ----OpenGL and VTK

Wylie, Brian bnwylie at sandia.gov
Fri Aug 3 11:25:01 EDT 2007


Just a observation...

Saira may be able to use VTK along with the vtkShader classes to achieve what he wants. The vtkShader classes allow a user to load up a GLSL or Cg shader and use them within VTK. 

  Brian Wylie - Org 1424
  Sandia National Laboratories
  MS 0822 - Building 880/A1-J
  (505)844-2238 FAX(505)845-0833    
       _______ __
      /_  __(_) /_____ _____
       / / / / __/ __ `/ __ \
      / / / / /_/ /_/ / / / /
     /_/ /_/\__/\__,_/_/ /_/
            VTK Informatics Toolkit
  

> -----Original Message-----
> From: vtkusers-bounces+bnwylie=sandia.gov at vtk.org 
> [mailto:vtkusers-bounces+bnwylie=sandia.gov at vtk.org] On 
> Behalf Of Dominik Szczerba
> Sent: Friday, August 03, 2007 9:18 AM
> To: Saira Saleem Pathan
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] HELP ----OpenGL and VTK
> 
> He wants something like painGL in QT. I dont think it's 
> possible while 
> someone else might say I dont think you want it at all. VTK 
> is based on 
> the concept of actors, interactors etc.
> 
> - Dominik
> 
> Saira Saleem Pathan wrote:
> > hi
> > first of all thanks for ur email :)
> > 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.
> > 
> > 1. By using VTK , I  have design a prototype i.e  Pre 
> operative surgical 
> > tool.
> > 2. Now, I need to do some advancement (for example Haptics 
> ) and for 
> > Volume Rendering  I will need to move on GPU programming etc.
> > 3. OpenGL is very strong and many libraries support OpenGl 
> as u know.
> > 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.
> > 
> > As, i have gone through VTK and Yes it does use OPENGL. As 
> u said "VTK 
> > deals with OpenGL for you".
> > 
> > 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.
> > 
> > I will so glad if u kindly clear my concept.
> > 
> > *Saira Saleem Pathan*
> > Ph.D. Student
> > Univerity of Leeds
> > United Kingdom.
> > 
> >  > Date: Fri, 3 Aug 2007 15:20:17 +0100
> >  > From: andrew.porter at manchester.ac.uk
> >  > To: vtkusers at vtk.org
> >  > Subject: Re: [vtkusers] HELP ----OpenGL and VTK
> >  >
> >  > Hi Saira,
> >  >
> >  > >> 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
> >  > >> I know this is very basic but very important to me.
> >  > >> Can anybody guide me or some sample code ( just to 
> see how it works)
> >  > >> I will really appreciate ur response :)
> >  > >>
> >  > One of the advantages of using VTK is that it deals with 
> OpenGL for you
> >  > so that you don't have to. Could you give a bit more 
> background on what
> >  > you are trying to do?
> >  >
> >  > Cheers,
> >  >
> >  > Andrew.
> >  >
> >  > --
> >  >
> >  > Dr Andrew Porter
> >  > School of Chemistry, University of Manchester,
> >  > Manchester Interdisciplinary Biocentre,
> >  > 131 Princess Street,
> >  > Manchester, M1 7DN.
> >  >
> >  > e: andrew dot porter at manchester dot ac dot uk
> >  > t: +44 (0)161 306 2715
> >  > _______________________________________________
> >  > This is the private VTK discussion list.
> >  > Please keep messages on-topic. Check the FAQ at: 
> > http://www.vtk.org/Wiki/VTK_FAQ
> >  > Follow this link to subscribe/unsubscribe:
> >  > http://www.vtk.org/mailman/listinfo/vtkusers
> > 
> > 
> --------------------------------------------------------------
> ----------
> > Change is good. See what's different about Windows Live 
> Hotmail. Check 
> > it out! 
> > 
> <http://www.windowslive-hotmail.com/learnmore/default.html?loc
> ale=en-us&ocid=RMT_TAGLM_HMWL_reten_changegood_0607>
> > 
> > 
> > 
> --------------------------------------------------------------
> ----------
> > 
> > _______________________________________________
> > This is the private VTK discussion list. 
> > Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> 
> -- 
> Dominik Szczerba, PhD
> Computer Vision Lab CH-8092 Zurich
> http://www.vision.ee.ethz.ch/~domi
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 




More information about the vtkusers mailing list