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 - ferdekk

Pages: [1]
1
General discussions / SFML 1.6 released soon
« on: March 09, 2010, 04:00:47 am »
sfml 1.6.

when i can download from main page?
i dont want from svn. ;)

2
Feature requests / sf::Stream, or similar.
« on: March 24, 2008, 09:32:58 am »
Hello...

Would be cool, if sfml will have be functions/classes for Streams, with possible to register new my own stream, all working by URI (example uri: 'ftp://blabla').

would be possible something like this: (pseudo-code) ;).

Code: [Select]

sfStream *http = CreateStreamFromURI("http://mypage.com/mytestfile.zip");
sfStream *ftp =
CreateStreamFromURI("ftp://mypage.com/mytestfile.zip");
sfStream *zip =
CreateStreamFromURI("zip://C:/example.zip#infile.bmp");

zip->Seek(10,...);               // offset change
http->Seek(100,...);            // offset change if HTTP/1.0 by Range:
bytes=100- etc.
ftp->Seek(100,...);             // offset change....

int howmuch = ftp->Read(100,mybuffer);      //

ftp->SetAsync(true);               // non-blocking reading/writing



and register new my own streams like:

Code: [Select]

class MyOwnStream : public IStreamCreator {
     public:
          MyOwnStream();
          virtual ~MyOwnStream();
     public:
          char*          GetURIPrefix();                   // get "ftp://" or something.
          sf::Stream *CreateStream();               // create interface (use by CreateStreamForURI);....
};

RegisterCustomStream("myzip://",mMyOwnStreamPointer);



BlitzMax have similar streams.
etc, etc.... i hope someone understand me :).
sorry, for bad english.

3
General discussions / [Seeking] Easy 3d-model loading library
« on: October 21, 2007, 12:26:55 am »
yeah. sfml should have implemented 3D format and render it, with animation.
Nice format is Blitz3D (*.b3d), nice if would be supported with animations to sfml.

4
Feature requests / Clock return in ticks?
« on: August 28, 2007, 07:41:39 pm »
int Ticks =  (int)(Clock.GetElapsedTime()*1000.0f);

that not enough? o_O

5
Graphics / Functions to flip images ?
« on: August 27, 2007, 02:07:07 am »
same problem here, but i solve that.

data in corona,freeimage.lib (img->getPixels() or FreeImage_GetBits) are placed from bottom to top. not top to bottom.

use:
FreeImage_FlipVertical(FIBITMAP *dib);.  (in freeimage)
or
FlipImage(Image* source, CA_Y); (in corona)

thats not foul of sfml.
sry, for english.

6
General discussions / this looks interesting
« on: August 14, 2007, 07:10:53 pm »
yea, this lib look interesing. Now i start making simple game with this Lib. hmm... i will see... ;).

Pages: [1]