The first of many tutorials is up

Howdy,

Yesterday, Sof. T. suggested creating a page full of graphics techniques
using SDL (from dithering to interpolation to whatever). It sounded like
a good idea to me, so I’ve started working on a series of tuts. The first
one, a lesson on direct pixel plotting, is up and running.

http://gazuga.dynu.net/~ninjadroid/pixelplotting.html

Any and all feedback is welcome. The next bits will be on linear and
bilinear interpolation, dithering, and creating gradients. My biggest
concern is redundancy with the SDL Doc Project, although I suppose a
certain amount will be unavoidable in order for both endeavors to be able
to stand on their own.

Peace,

=Pete

well, the doc project from its name implies its just documentation on how
functions work and such (which yeah, there will be some overlap of
explanation of the basics), but id think you should be ok.

An idea might be where after each tutorial you list each SDL function used,
where each function name is a clickable link INTO the doc project itself to
find more information about the function.

just cause they are seperate entities doesnt mean they cant be intertwined
IMHO (;> ----- Original Message -----

From: ninjadroid@ml1.net (Pete Bessman)
To:
Sent: Saturday, March 15, 2003 3:36 PM
Subject: [SDL] The first of many tutorials is up

Howdy,

Yesterday, Sof. T. suggested creating a page full of graphics techniques
using SDL (from dithering to interpolation to whatever). It sounded like
a good idea to me, so I’ve started working on a series of tuts. The first
one, a lesson on direct pixel plotting, is up and running.

http://gazuga.dynu.net/~ninjadroid/pixelplotting.html

Any and all feedback is welcome. The next bits will be on linear and
bilinear interpolation, dithering, and creating gradients. My biggest
concern is redundancy with the SDL Doc Project, although I suppose a
certain amount will be unavoidable in order for both endeavors to be able
to stand on their own.

Peace,

=Pete


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Howdy,

Yesterday, Sof. T. suggested creating a page full of graphics techniques
using SDL (from dithering to interpolation to whatever). It sounded like
a good idea to me, so I’ve started working on a series of tuts. The first
one, a lesson on direct pixel plotting, is up and running.

http://gazuga.dynu.net/~ninjadroid/pixelplotting.html

Looks pretty good. You might mention that the technique you’re using
is almost the slowest possible way to do it. e.g. lock, plot 1 pixel,
unlock, and update the entire screen.

In a follow-up series, you might examine each other possibility and
evaluate when you might want to use it.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

An idea might be where after each tutorial you list each SDL function
used,
where each function name is a clickable link INTO the doc project itself
to
find more information about the function.

Good idea, I’ve incorporated your suggestion.

Peace,

=Pete

I’ve just had a look, good job!

Sof.T

“Peter” wrote in message
news:20030316031113.52AA52C162 at www.fastmail.fm…> > An idea might be where after each tutorial you list each SDL function

used,
where each function name is a clickable link INTO the doc project itself
to
find more information about the function.

Good idea, I’ve incorporated your suggestion.

Peace,

=Pete

On Sat, 15 Mar 2003 19:10:11 -0800, “Sam Lantinga”
said:

Looks pretty good. You might mention that the technique you’re using
is almost the slowest possible way to do it. e.g. lock, plot 1 pixel,
unlock, and update the entire screen.
In a follow-up series, you might examine each other possibility and

I’ve added a “Note on Efficiency” section. I’m hesitant to write a
followup
on the various other pixel plotting methods. I think it would be better
to write tutorials on complete tasks, like drawing gradients, lines, or
particle systems, and addressing the efficiency issues of pixel plotting
as they pertain to the overall goal.

I want to keep these bits as small and topical as possible, which means
there is going to be some futzing about figuring out what should be
discussed
where.

Thanks for the suggestion,

=Pete