I'd assume that as long as those perl GL APIs recognize the Wx::GLContext
object you set as your canvas' current context, they should be just fine.  I
made a derived wxGLCanvas in my project and the c++ OpenGL APIs worked
straight away with it.

Best of luck.

Brian

-----Original Message-----
From: Ron Grunwald [mailto:ron...@yahoo.com.au] 
Sent: Tuesday, August 14, 2012 10:24 AM
To: Brian Jones; wxperl-users@perl.org
Subject: Re: Using Wx::GLCanvas

Thanks for your suggestions, Brian. There is a Perl module with bindings to
OpenGL. In fact the German Perl journal "$foo" published a two part series
on how to create simple graphics with the "OpenGL" module. I think I'll
reread that particular article and see if it can be applied to Wx::GLCanvas.

Cheers,


Ron.
[ron...@yahoo.com.au, ron.grunw...@ecu.edu.au] [http://www.dvlcorner.org]


>________________________________
> From: Brian Jones <brian_jo...@intercept.com>
>To: 'Ron Grunwald' <ron...@yahoo.com.au>; wxperl-users@perl.org
>Sent: Monday, 13 August 2012 10:01 PM
>Subject: RE: Using Wx::GLCanvas
> 
>I've used this in some c++ code with wxWidgets before, but not with perl.
>I'm pretty sure you'd need to find some kind of perl opengl interface 
>in order to actually make the gl calls.  For simple 2d drawings in 
>WxPerl, I've just used a MemoryDC to draw a bitmap and then blit it too 
>a Wx::Panel with a ClientDC.
>
>Brian Jones
>
>-----Original Message-----
>From: Ron Grunwald [mailto:ron...@yahoo.com.au]
>Sent: Sunday, August 12, 2012 10:29 AM
>To: wxperl-users@perl.org
>Subject: Using Wx::GLCanvas
>
>Hello all,
>
>I recently came across Wx::GLCanvas and am a bit intrigued about it. 
>Just wondering if anyone has used this widget, and if so, what you 
>think about it? For those who have used it, are you willing to share some
sample code?
>
>I know only very little about WxPerl at this stage, but am interested 
>to know what drawing area widget is recommended.
>
>Cheers,
> 
>Ron.
>[ron...@yahoo.com.au, ron.grunw...@ecu.edu.au] 
>[http://www.dvlcorner.org]
>
>
>
>

Reply via email to