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

Pages: [1]
1
I had recently looked into the = operator of sf::Texture and it "returns" a reference and not a copy. In my suggestion, it implies that we can use just one instance of sf::RenderTexture to create many instances of sf::Texture. We cannot do this however, if GetTexture() returns only references.

2
Graphics / Just a simple question about sf::RenderTexture
« on: December 23, 2011, 09:25:33 am »
Does deactivating (calling SetActive(false)) an sf::RenderTexture reduce overheads?

If available, kindly include some evidence to your claim.

3
This suggestion is just for convenience. Perhaps we could an overloaded version of sf::RenderTexture's GetTexture() which returns a copy of sf::RenderTexture's texture.

Please note that we will not be wasting resources when done in this way for we can "recycle" an sf::RenderTexture (in other words, use it to create another texture). But then we will have to modify sf::RenderTexture::Create() to free the previous resources used (I have looked into the code).

Hoping for Laurent's very kind consideration.  :wink:

4
Feature requests / stay on top
« on: December 23, 2011, 08:08:11 am »
Its very intrusive and annoying for the user.

5
I think that we should really implement this feature on SFML's graphics.

Please note that there's lots of useful things that these functions can do like rendering stars, graphical effects, dotted lines, etc.

And its just simple to implement (glReadPixels() perhaps).

6
General / Can sfml classes be serialized?
« on: November 27, 2011, 07:32:26 am »

7
Graphics / Hehehe... Same ol' GUI problem
« on: November 19, 2011, 09:54:27 am »
Maybe you should find a GUI library for SFML. CEGui may fit you.

And, i'm currently (and informally) developing a GUI library just for SFML (I still keep it for myself). Hope I will have enough inspiration to develop it.

8
Graphics / Concern: sf::RenderTexture's Create member
« on: November 19, 2011, 09:47:49 am »
I wonder if sf::RenderTexture's Create member will free the resources created by previous Create member function calls. After wandering through it's source(please be noted that i'm do not know OpenGL stuffs) no function call or statement gave me a hint of previous resource deletion. I hope you will clarify me of this issue.

9
Feature requests / Mouse wheel access for sf::Mouse
« on: November 19, 2011, 09:40:42 am »
Perhaps we should(if not must) add a convenience static function to sf::Mouse that will access the mouse wheel.

Pages: [1]