Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

mirrormack

my particle system demo with mirroring

This topic is 5841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

if you have linux with sdl and imlib2 installed, check out my particle demo (triangle and point particle sources and a big mirror) at http://www.hut.fi/~vhelin/lgpsm.tar.gz all comments are welcome. and for people without such nice things there''s a screenshot on (scroll down) http://www.hut.fi/~vhelin/lg.html

Share this post


Link to post
Share on other sites
Advertisement
Sorry I don''t have Imlib. How can I get it ? May I download it from its web site, or is it a package included in linux distros ?

Share this post


Link to post
Share on other sites
ah, here you can get it (imlib2):

http://sourceforge.net/project/showfiles.php?group_id=2

a good image loader/saver (the code''s really messy,
but it works).

Share this post


Link to post
Share on other sites
I''ve been playing a long time with linux libraries, but finally I got it working !
Well, almost : it doesn''t read textures. Apart from that it runs fine. Mirrors are correctly calculated from any point of view.

Don''t you think it''s a bit slow ? Maybe there are too many particles ...

Share this post


Link to post
Share on other sites
hmm... if it doesn''t read the textures then you don''t
have the *loader* libraries installed correctly, i guess (it
still runs, but you get gray textures and errors like
''TXT_LOAD_DATA_IMLIB2: Could not load image "xyz".'').

anyway, it''s not that slow on my work machine (P4/2.4 & GF4TI4600). on my home machine (athlon classic 700 & gf2pro)
it is a little slow... time for an upgrade i say. that
radeon 9700 looks tasty (if i had the money)...

Share this post


Link to post
Share on other sites
It''s possible that I don''t have the libraries correctly installed, but in that case it''s imlib that makes incomplete installation because I used the standard rpm and I had no error or even warning message.

It''s not very slow... just working around 60 fps !
I created less particles (modified source code) and yes it works clearly faster ! but obviously not so sweet with less particles

Share this post


Link to post
Share on other sites
you did rpm -i all the *loader* -rpms as well??? not only
the basic imlib2.rpm? it might be that the loaders aren''t in the
library path? here they seem to install to

/usr/lib/loaders/image, so perhaps adding that to the lib path
(/etc/ld.so.conf and running ldconf) might help???

Share this post


Link to post
Share on other sites
You mean that in addition to imlib and imlib2, I have to install a loader for each file format ?
Darn, this library is hellish !

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
@mirrormack:
Are there any advanteges in using imlib2 rather than SDL_image?

Share this post


Link to post
Share on other sites
vincoof:

yes, that''s true. i don''t know why the person in charge of
imlib2 wanted to do that, but that''s the way imlib2 works. ;P

anonymous poster:

holy sh*t, i didn''t know there was such a thing as SDL_Image!
it wasn''t mentioned in the SDL doc project so i''ve missed
it completely. i think it''d be wiser to ditch imlib2 support
and use SDL_Image instead... thanks for the info!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!