Graphics Library for D
Matt Taylor
taylorius at gmail.com
Mon Jan 13 15:46:42 PST 2014
Hi
I'm a new contributor to this site - I'm trying D out, and liking
it a lot. Though I'm new to D, my background is in computer
graphics, so I'm excited to see graphics capabilities being
discussed, and I thought I'd add my two-penneth.
Firstly, there seems to be disagreement on exactly what is to be
developed. I've seen 3 types of things discussed.
1. GUI Library. It seems to me that a really well designed GUI
system would be - by far - the most valuable thing for increasing
the widespread use of D. I would use it in a heartbeat if such a
thing existed.
2. 2D/3D Graphics interface to underlying hardware. This can be
useful - though it's not clear to me that the 2D part would be
terribly useful on its own, without 3D OpenGL support, or
possibly acting as primitives for a GUI library. I suppose 2D
games could use it.
3. High quality 2D, SVG-style renderer, capable of rendering to
arbitrary bitmaps. Not sure what the point of this is, or who
would use it. At any rate, it seems sufficiently specialised that
it doesn't belong in a core library.
If it were up to me (I know, it isn't) - I would create a
graphics system for D based on a modern web-browser's Javascript
DOM. I daresay not everything would map well to D, but I would
start with that, and adapt it where necessary. I would include
WebGL 2.0 support, mouse handling callbacks etc.
But that's just me :-)
Best Regards
Matt Taylor
More information about the Digitalmars-d
mailing list