hi,
agrees with rolf, all those matrix of vectors in opengl could make a
beginner mad.
Bid the best prayer too u all for the continuity of god given world of
computing (this forum :-D)
Best to all
hi rolf, ok to call u that?
What about those donation ? just 1 email, just 1 pls! it could help one
kid 4 1 month
Rolf Magnus wrote:[color=blue]
> Ville Ahonen wrote:
>[color=green]
> > I'm just learning C++ and thought I'd program a simple screensaver[/color][/color]
in[color=blue][color=green]
> > VC++ as my first assignment. I've found some tutorials showing how[/color][/color]
to[color=blue][color=green]
> > create a screenasver using OpenGL, but I found it very confusing[/color][/color]
and[color=blue][color=green]
> > perhaps uunnecessarily complex for my needs. What I would like to[/color][/color]
do is[color=blue][color=green]
> >
> > 1) know the dimensions of the screen (eg. 1024x768x32bit)
> > 2) be able to use some sort of framebuffering, i.e. drawing to one[/color][/color]
frame[color=blue][color=green]
> > while showing the other to avoid flickering[/color]
>
> You mean double buffering.
>[color=green]
> > 3) perhaps have some timer that would be able to trigger a drawing
> > method at a frequency matching the refresh rate of the monitor[/color]
>
> It's better to synchronize the buffer swap with the refresh of the[/color]
monitor[color=blue]
> itself.
>[color=green]
> > A reference to a good tutorial or some simple stump of code that[/color][/color]
draws a[color=blue][color=green]
> > white pixel in the center of the screen would be just perfect. I[/color][/color]
already[color=blue][color=green]
> > have the rest of the code done, i.e. I am able to produce a vector[/color][/color]
with[color=blue][color=green]
> > x and y values I'd like to plot on the screen.[/color]
>
> You could have a look at SDL (
http://www.libsdl.org)[/color]