|P is for Practical|
Re: RFC: A Perl module for DirectXby kejohm (Hermit)
|on Mar 19, 2010 at 04:47 UTC||Need Help??|
Thanks for the comments so far. I really appreciate the input.
Regarding your comments about GLUT, some of the more recent DirectX SDKs contain a library called DXUT, which is used to build a lot of the samples that are included. The library includes code to build windows and controls, cameras, shapes, etc. and supports both Direct3D 9 and Direct3D 10. It is quite similar to GLUT.
Technically, it isn't a DirectX component, so the libraries have to built from source. Hopefully I can get it to work. Otherwise, I could try creating a pure Perl version of my own, although that would probably be best left for later.
Also, regarding your comment on installation, I have been working on modifying the Makefile.pl so that it goes looking for the required headers and libraries, and even skip components if it can't find all the files. Unfortunately, all the required files are packaged up in the DirectX SDK, which at a few hundred megabytes, is something I can't really distribute with the module, or by using an Alien:: package. The best I could do is to get people to download the SDK themselves.
You're right, it's probably best to just stick with the 'thin' interface for now, although if I can get DXUT working, I might not need to bother with my own.
Thanks for the offer, although probably not just yet, the module isn't quite ready for testing. Stay tuned. I will definitely need people to test the module before I release it. Any ideas on where I could make it available? (I could just email it directly to anyone who wants to test the module)