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

Pages: 1 ... 4 5 [6]
76
Graphics / SFML & OpenGL, complaint that my image is too large?
« on: February 26, 2012, 12:20:08 am »
Hmm, but I never use sf::Texture, just sf::Image, why would it limit because of the graphics card, it makes little sense.. and laurent, will the update allowing larger sizes be implemented now or in version 2? I want to get the update as soon as possible :)

Oh, and is there an "easy" way to get a click location (x,y,z), or a click vector on a window using OpenGL, I'd hate to have to build one from archaic GL functions :roll: ?

77
Graphics / Questions About Textures in SFML
« on: February 20, 2012, 01:43:36 am »
use png if you want crisper images, because jpeg compresses them, and if you can, try to keep the dimensions in powers of 8, as processors prefer it, and 100 kb shoulden't be too large as to harm performance (if only you could feel the cringe I got when testing out the 3D game engine I built when rendering 3,000,000 polys....), computers now can take a ton of stress :), and depending on how sfml orders the storage, images might be rounded up to the next largest size i.e 64, 512, 1024, have luck :D

78
Graphics / SFML & OpenGL, complaint that my image is too large?
« on: February 20, 2012, 01:10:21 am »
Thank you, I might try to write a file opening function, if sf::image has a cap, but why wouldn't sfml just store it in a vector, and not an array, since I'm assuming that is the reason for the limit? or is it hardware based issues? and does the thor library contain support for sf::Image's functions? (all I need is height, width, and RGBA values), if it does, I might try that out first, thanks for the help :-)

79
Graphics / SFML & OpenGL, complaint that my image is too large?
« on: February 19, 2012, 03:25:34 am »
Well, first of all I'd like to know the limit, it loaded a 200x200, but when I try to load the 4096x4096, I get

"Failed to create image, its internal size is too high (4096x4096)"

, any way I could get a resolution that large, and is it a SFML complaint, or an OpenGL complaint?

80
General / How do I get the resolution of a screen?
« on: October 22, 2011, 12:19:02 am »
Thankyou! :D  I vote for re-naming of "desktop mode" to "screen mode"

81
General / Problem with installation in Ubuntu SFML 1.6
« on: October 21, 2011, 09:00:05 pm »
did you remember to compile with "-lsfml-system" and  "-lsfml-window ",

and you might try to include "#include <SFML/System.hpp>"

82
General / How do I get the resolution of a screen?
« on: October 21, 2011, 08:30:43 pm »
how do I get the pixel size of a screen? im making a full screen game based on a 32X32 pixel grid. I need to be able to find the centre, and set the background sprite's size accuratley

83
Window / What type is a sf::Key::Down?
« on: October 20, 2011, 03:38:41 pm »
Thankyou, I think I got it working  :)

<<KillPost<<

84
Window / What type is a sf::Key::Down?
« on: October 20, 2011, 03:10:29 pm »
Are all the keys different types? or what are you trying to say..

sf::Key::Code Controls[4];

85
Window / SFML2 not working on GeForce
« on: October 20, 2011, 03:00:07 pm »
you should probably contact someone higher up than the forums, if your sure thats the problem, most people on the forums probably cant even understand what your saying.

86
Window / What type is a sf::Key::Down?
« on: October 20, 2011, 02:12:00 pm »
there was no declaration, SFML has you get a key like this:

sf::Event Event;
while (App.GetEvent(Event)){
  if (Event.Key.Code == sf::Key::Right)
    //do something
}

and I looked and didn't find it in the documentation  :(

87
Window / What type is a sf::Key::Down?
« on: October 20, 2011, 02:02:49 pm »
I want to make a array to hold 4 keys, but I don't know what type to assign it, so that I can make the array. I'm using C++. example,

(KeyTypeHere) Controls[4];

Pages: 1 ... 4 5 [6]