W00t! Yay! Spinning pink-blue cube! Flickery but it works (half anything OGL on my laptop is flickery anyway, so I don't hold it as a bad thing by any means)
Now to start hacking the demo and see if I can't get shadows, etc in there. Is the 'Light' one (with all the blue) supposed to not have any shadows and shading? Just to verify this is working the way I think it is and all. Either way, now it's time to start hacking Model3D::WavefrontObject to have a subroutine that exports a struct of the right type to draw in this! And next, the world! On 29/10/2007, Mark Dootson <[EMAIL PROTECTED]> wrote: > Hi, > > Most of the messages you get inside the demo are fine - they just indicate > that the wxWidgets isn't compiled to use wxGraphicsContext. > > You can ignore the messages and just use the demo to look at the GLCanvas > demo. It is under > Windows->wxGLCanvas. > > But .... WxGLCanvas fails to load because you have installed a version of > OpenGL built for perl56. Where did this come from? > > Anyhow, you need to replace it. > > ppm remove OpenGL > ppm install http://www.wxperl.co.uk/wxppm/unicode/OpenGL.ppd > ppm install http://www.wxperl.co.uk/wxppm/unicode/OpenGL-Image.ppd > ppm install http://www.wxperl.co.uk/wxppm/unicode/OpenGL-Shader.ppd > > > Then, 'wxperl_demo' should work. > > Let me know!! > > Regards > > Mark > > > > Dodger wrote: > > Aye but... > > > > On 29/10/2007, Mark Dootson <[EMAIL PROTECTED]> wrote: > >> ppm remove Alien-wxWidgets > >> ppm remove Wx > >> ppm remove Wx-GLCanvas > >> > >> ppm install http://www.wxperl.co.uk/wxppm/unicode/Alien-wxWidgets.ppd > >> ppm install http://www.wxperl.co.uk/wxppm/unicode/Wx.ppd > >> ppm install http://www.wxperl.co.uk/wxppm/unicode/Wx-GLCanvas.ppd > >> ppm install http://www.wxperl.co.uk/wxppm/unicode/Wx-Demo.ppd > >> > >> wxperl_demo > > > > The part that is coming next (inside the demo) is: > > > > 10:16:27 AM: Warning: BEGIN failed--compilation aborted at > > D:/Perl/site/lib/Wx/DemoModules/wxGLCanvas.pm line 19. > > 10:16:27 AM: Warning: Compilation failed in require at > > D:/Perl/site/lib/Wx/Demo.pm line 306. > > 10:16:28 AM: Warning: Skipping module 'Wx::DemoModules::wxGraphicsContext' > > 10:16:28 AM: Warning: Wx/DemoModules/wxGraphicsContext.pm did not > > return a true value at D:/Perl/site/lib/Wx/Demo.pm line 306. > > > > So I checked that out and got the use OpenGL line... > > > > So I tested it all by its lonesome annnnnd.... > > > > D:\Documents and Settings\Administrator>perl -e "use OpenGL qw(:glconstants > > :glf > > unctions);" > > Can't load 'D:/Perl/site/lib/auto/OpenGL/OpenGL.dll' for module OpenGL: > > load_fil > > e:The specified module could not be found at D:/Perl/lib/DynaLoader.pm line > > 230. > > > > at -e line 1 > > Compilation failed in require at -e line 1. > > BEGIN failed--compilation aborted at -e line 1. > > > > (and a nifty dialog box that said, typoes may ensue due to modality: ) > > This application has failed to start because perl56.dll was not found. > > Re-installing the application may fix this problem. [ OK ] > > > > Except, wee, I'm not *using* Perl 5.6 -- I'm using Perl 5.8 like most > > of the world I thought was for the last few years... > > > > So I'm lost again and getting more bemohawked by the second as I tear > > the hair form the sides of the scalp. > > > > By the way, I really do appreciate all the help. I'm sorry if I sound > > really frustrated (mostly it's that I am really frustrated). I know > > nobody's obligated in any way to say a word, and the fact that people > > are helping is great. I just wish I didn't have to ask so many dumb > > questions over and over. > > > -- Dodger
