[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Gerbv with OpenGL



On Dec 2, 2007 7:40 PM, Peter Clifton <pcjc2@xxxxxxxxx> wrote:
>
> On Fri, 2007-11-30 at 15:10 +0000, Peter Clifton wrote:
>
> > Here is another teaser..
> > http://www2.eng.cam.ac.uk/~pcjc2/geda/gerbv_translucent.png
>
> And another...
>
> This is getting less "useful", but more pretty..
>
> http://www2.eng.cam.ac.uk/~pcjc2/geda/gerbv_GL.png
>
> This uses Cairo to render into a memory buffer, and then we use that on
> a GL context created with GtkGLExt. This allows 3D perspective views (if
> we want), and potentially introduces a way to bypass slow rendering.
>
> Whilst zooming (in at least), it is possible to use the same textures,
> letting OpenGL zoom right in, and then redraw the texture at this
> resolution (I've not tried to implement this yet, I'm just rendering at
> reasonable resolution once, then using that).
>
> This isn't so helpful with zooming out unfortunately, as we don't
> particularly want to cache a texture of the whole board at very fine
> resolution.
>
> I mainly knocked this up to play with some OpenGL coding, and as a test
> for a 3D SpaceNavigator "joystick" (6 axis, used for navigating 3D
> objects / worlds).
>
> --
> Peter Clifton
>
> Electrical Engineering Division,
> Engineering Department,
> University of Cambridge,
> 9, JJ Thomson Avenue,
> Cambridge
> CB3 0FA
>
> Tel: +44 (0)7729 980173 - (No signal in the lab!)

That is simply COOL.

-- 
http://www.coe.neu.edu/~efoss/
http://evanfoss.googlepages.com/


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user