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.


Topics - zarka

Pages: [1]
1
SFML projects / Particles!
« on: September 22, 2007, 11:51:00 pm »
I thought i would share some screen shoots of my current SFML project, as the topic already reveled it's about particle systems.
I have used an approach similar to that of Ogre3ds with particle systems built up by emitters and affectors. the system is being developed for use in 2d but shouldn't be to hard to scale up to 3d.



what is seen in the picture?
one particle system containing 2 point emitters. each emitter is affected by a fade in affector a fade out affector and a linear force affector.

what is currently on my to do list? Adding manager and factory classes, perhaps some way to create system from config files,  code cleanup and bug testing.

EDIT: code now available on the wiki: http://www.sfml-dev.org/wiki/en/projects/particle_system

2
Graphics / Upside down screenshoots
« on: August 21, 2007, 12:03:25 am »
I just tried to run sfRenderWindow::Capture and the image came out upside down.. am i doing something wrong or is this a bug ?

Code: [Select]

mSprite.Rotate(mApp.GetFrameTime()*50);
mApp.Draw(mSprite);
//Draw our console
mConsole.Draw(mApp);
if(mTakeScreen)
{
mApp.Capture("screenshoot.jpg");
mTakeScreen = false;
}
/// Update the window
mApp.Display();


mConsole.Draw(mApp) renders some sfStrings and a sfSprite using mApp.Draw()

Pages: [1]
anything