Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: RFC: A Perl module for DirectX

by kejohm (Hermit)
on Mar 19, 2010 at 04:47 UTC ( #829544=note: print w/replies, xml ) Need Help??

in reply to RFC: A Perl module for DirectX


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 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)

Thanks again,


Replies are listed 'Best First'.
Re^2: RFC: A Perl module for DirectX
by BrowserUk (Pope) on Mar 19, 2010 at 08:43 UTC

    Having looked at the size of the SDK 500MB compressed, and the non-uninstallable nature of the 100MB "redistributable", unless you can make this a binary distribution, I doubt that you'll get many users. Hell. Even the EULA is 135k.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://829544]
[zentara]: TGIF, I'm blowing my mind watching Casimir Effect & Black Holes - Sixty Symbols I love 60 Symbols. :-)
zentara ..oO the vacuum is teeming with photons and micro-blackholes
zentara .. and probably NSA bugs ;-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-06-23 16:12 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (552 votes). Check out past polls.