[vtkusers] OS X Python Carbon Valid Pixel Format??

Yves Starreveld ystarrev at atamai.com
Tue Mar 11 10:25:39 EST 2003


Hi, Karl,

VTK is currently hard coded to request a hardware accelerated context.

The code requesting the context should be modified to request one, but 
still continue if it doesn't get one.

Have a look at the vtkOpenGLRenderWindow Cocoa and Carbon specific 
files for more info.

Yves
On Monday, March 10, 2003, at 11:23  PM, garsha wrote:

> Greetings,
> I'm still hanging on to the hope that I can get VTK (4.2.1) w/ Python 
> (2.2.2) to work on OS X 10.2.4 with CMake 1.6.  Everything builds fine 
> and installs smoothly--much easier than it was several months ago.  I 
> can import vtk in the python interpreter, and I can go through a 
> simple cone example up until the moment of truth when I attempt to 
> initialize the RenderWindowInteractor: I get an error stating that the 
> CarbonRenderWindow couldn't find a valid pixel format.  When I Google 
> this predicament, I can see that others have experienced this problem, 
> but I haven't been able to find the solution.
>    From what I can tell this may be something related to the OS X 
> implementation of OpenGL--has anyone else seen this?  Is there perhaps 
> an environment variable I need to set?  I'm running an older powerbook 
> without hardware acceleration for OpenGL but I've seen the cone.py run 
> on it (long ago when I could run the early OS X binaries posted at 
> http://www.atamai.com/vtkOnOSX.html). So it seems to be a software 
> hangup.     It is my aspiration to run VTK and MayaVi on OS X...has 
> anyone out there had success building and running VTK with Python 
> wrappers on an updated version of OS X?  Carbon or X11?     Any leads 
> on a way to stomp this valid pixel format issue would be much 
> appreciated-thanks in advance.
> Regards,
> Karl G.
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list