61
Feature requests / Some features
« on: March 06, 2008, 10:14:58 pm »
I guess there are no underlying libaries for Network, windowcreation, threads and timing.. He's simply using the API functions.. I think..
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.
Quote:
One question: If I would change something inside the read only buffer(tricking the const ptr by typecasting), would that actually change the image?
Absolutely not, that's why it would be a non-sense to get a write access.
Moreover, the Image instance and its OpenGL texture may have a different array of pixels because of potential padding.
But I disagree about texture coordinates : they are completely defined by the SubRect property.
/usr/include/SFML/Network/Selector.inl: In member function »Type sf::Selector< <template-parameter-1-1> >::GetSocketReady(unsigned int) const«:
/usr/include/SFML/Network/Selector.inl:128: Fehler: expected `;' before »It«
/usr/include/SFML/Network/Selector.inl:129: Fehler: »It« wurde in diesem Gültigkeitsbereich nicht definiert
SocketTable::const_iterator It = mySockets.find(static_cast<SocketHelper::SocketType>(i));
if (It != mySockets.end())
Your manager is already too high-level for SFML. I mean, not everybody will want this kind of management. And it's more the job of an engine than a low-level API like SFML.
I prefer provide such critical functions directly (and nicely wrapped) in sf::Image. Giving a write access to the internal buffer would be too dangerous for beginners.
Quote:
Maybe (woul be very cool.. I already coded this for Irrlicht so maybe I can do a port) Interpolated GetPixel (Linear Biqubic and Qubic)...
For what purpose ?
Quote:
Accessing Vertex Color, Vertex Offset and vertex Texcoord might come handy for the sprites
These informations are already available, but in a human-friendly interface (Drawable::GetColor, Sprite::GetSubRect, ...). I don't see the point of giving such low-level internal informations to the user.
Hey, it seems you just want to use plain OpenGL... Wink