Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mioan

Pages: [1]
1
Graphics / That's good news.
« on: July 20, 2009, 05:17:51 pm »
Thank you for giving me the "lights". I will try to merge it in to my software.
Mike

2
Graphics / flicker?
« on: July 20, 2009, 03:35:25 pm »
Thank you for answering.

If I draw them in the sequence of the layer, the screen will flicker, right?
E.g. if an object in layer 1 is partially coverred by an object in layer 2.

Should I put the whole screen in double buffer? Isn't that too much memory and CPU load to copy the whole screen?

Sorry for asking basic questions I am new to graphics.

I wish there was a way to assign all these "tasks" to a simple graphics engine and the engine would take care  of them. This is why I am searching for a graphics library.

Mike.
P.S. The graphics I will produce are very simple. See the screenshot of the night sky here to get an idea of what I am trying to achieve:
http://www.starmessage.info/screenshots.html

3
Graphics / Newbie: Can SFML do this? (Does it have graphic Layers?)
« on: July 20, 2009, 09:26:28 am »
Hi,
I am searching for a cross platform library for simple graphics.
I am collecting my findings here:
http://www.24hsoftware.com/DevelopersForum/CrossPlatform-C-Library.html

SFML looks a very good solution but there is something I was not able to answer by reading the site.

My screensaver has about 4 layers of graphics (excuse me for not using the most appropriate graphics terms).
Layer 0 is a static background made of a tiling image.
Layer 1 to 3 display objects either by drawing them with pixels and lines or by puting bitmaps.
Every object has x,y,Layer, speed_x, xpeed_y. (they are moving inside their layer)
Objects in higher layers should be in front of object is lower layers.

Does SFML have layers to do such operations easily?
Any code samples?

Thank you very much for any help.

Mike

Pages: [1]