> 1) I want to know how to be able to include an image embedded in the > code somehow rather than as a seperate, external file (this way > there's no pathing issue possible when compiling the thing).
A method that I like is using a program such as : http://www.wilsonc.demon.co.uk/d10resourceeditor.htm to insert an image into either the exe or a dll (or even fake dll...which is really nothing but a resource file) then use Win32::Resources to get at them. I would use Win32::Resources to add them, but something seems broken about the module in that regard. Also, if you are using the PDK, there is a bundle file feature in the PerlApp GUI and an associated method to extract them in one of ActiveState's modules....probably Win32.pm. I would look into that option, because it can be part of your build process then. > 2) I want to be able to draw directly on something. I'm guessing I > have to combine WxWidgets with somehting else, but i don't know what > exactly. Can I embed ImageMagick somehow maybe? Is there a more > efficient way, since IM is pretty hefty? The last response covered image handling, but if you mean drawing lines and stuff to a window or screen, you can look into how Wx draws to a DC "surface", Wx::Polygon might be some help (don't know, never used it). Also, on the image handling front, it has been a long time since I have Wx'd anything, but as I recall, there is a method in the image widget to allow copying from memory, so your image library options can also extend to the ActiveX world. As long as the license doesn't strangle you, GflAx http://perso.orange.fr/pierre.g/xnview/endownloadgflwin.html is a really FAST ActiveX image library. See Wx::ActiveX > 3) I'd REALLY like to be able to do some real-time OpenGL 3D stuff. > Totally lost on how. Wx::GLCanvas ... worked last time I used it... For the daring, the newer http://cpan.uwinnipeg.ca/dist/OpenGL has glut, which if I recall correcctly, handles basic window/input options, but might require some glue to make it run with the Wx loop. On a much more functional front, consider using something like http://www.truevision3d.com/home.php , which is cheap for commercial, free for non-commercial, and in my opinion is a far better option than writing the mountain of code to make OpenGL a full 3D engine. Nothing against OpenGL, it is great, but just like DirectX, it isn't an engine, it is a 3D framework / foundation library.
