Re: X11 and OpenGL drawing together in one window
Re: X11 and OpenGL drawing together in one window
- Subject: Re: X11 and OpenGL drawing together in one window
- From: Geoff Stahl <email@hidden>
- Date: Wed, 2 Jul 2003 11:17:49 -0700
On Wednesday, July 2, 2003, at 11:08 AM, Robert Cox wrote:
> We have an brain surface visualization program that uses OpenGL to
> render the surfaces. The user can draw a region-of-interest (ROI) on
> the projected surface. During the mouse movement part of the drawing,
> the program just draws (with XDrawLines) over the user's trace. When
> the user releases the mouse button, then the surface is re-rendered
> with the ROI properly shaded, colored, etc. This dual method is for
> speed - we can't render the surface fast enough to keep up with mouse
> movements (about 300,000 triangles - takes about 0.25 s to redraw on
> my iMac, 0.20 on my PowerBook).
I suspect this can be improved drastically. I have a 300,000 polygon
model that animates very smoothly. You should look to display lists
for static data or vertex array range or vertex array object for
dynamic data (see <http://developer.apple.com/opengl> for more info on
these extensions).
---
Geoff Stahl
3D Software Engineer
Apple
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.