From: BartC <bc@freeuk.com>
Subject: Re: Best way to put an array-based pixmap on a screen?
Date: Sun, 26 Mar 2017 22:00:10 +0100
Date: 2017-03-26T22:00:10+01:00 [thread overview]
Message-ID: <ob99va$i70$1@dont-email.me> (raw)
In-Reply-To: <ob7tt0$1jmn$1@gioia.aioe.org>
On 26/03/2017 09:25, Dmitry A. Kazakov wrote:
> On 2017-03-26 03:01, LaeMing Ai wrote:
>> I am hoping to learn some Ada with an explicit interest in simple
>> software 3D rendering (ie: writing the render code in Ada, NOT calling
>> external libraries such as OpenGL).
> Cairo rendering is more or less simple:
>
> https://www.cairographics.org/tutorial
Ah! Perhaps a simpler way to get into Cairo, since I got bogged down
last time (trying to use it via C). I click Download on your link,
scroll to Windows, and it says I need to download GTK+ as it will have
Cairo.
OK, GTK download page, Windows, it says I will need GLib, cairo, Pango,
ATK, gdk-pixbuf and GTK+ developer packages.... Then it says it's best
to install MSYS2 to download binaries (we are still trying to download a
simple rendering package, right?).
This is obviously going to lead nowhere. Back a few pages, it suggests
Glade, but, looking at it, it appears to have nothing to do with GTK. Or
with Cairo (remember that?).
A very familiar pattern.
I would suggest to the OP, especially if having similar problems trying
to install purportedly 'simple' packages, to just create an N by 2N
array of pixels, and draw directly into it.
But to view the result, it will necessary to write it to a file in some
recognised format (PPM is perhaps the simplest), and use some external
utility to display. Perhaps the OS will already be able to show it.
--
Bartc
next prev parent reply other threads:[~2017-03-26 21:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-26 1:01 Best way to put an array-based pixmap on a screen? LaeMing Ai
2017-03-26 8:25 ` Dmitry A. Kazakov
2017-03-26 9:55 ` Simon Wright
2017-03-26 13:27 ` reinert
2017-03-26 16:48 ` gautier_niouzes
2017-03-26 19:10 ` Lucretia
2017-03-26 19:13 ` Lucretia
2017-03-26 21:00 ` BartC [this message]
2017-03-26 21:48 ` Dmitry A. Kazakov
2017-03-26 9:35 ` Dirk Craeynest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox