Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 1.6 released soon  (Read 25852 times)

0 Members and 2 Guests are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 released soon
« Reply #15 on: February 07, 2010, 10:30:49 am »
Quote
Is is so that SFML 1 is now finished (bug fix only), and any changes will happen only in SFML 2?

Absolutely.

Quote
If so, then I would like more graphic documentation.
I am thinking about the section of the tutorial that explains how SFML draws things on the screen, in particular.
But actually, the whole tutorial (which seems to be the main documentation) could do with graphical representations of how things work, throughout, to help those of us who are graphic learners understand better.

I'm not sure I understand 100% what you mean. Can you explain more, or give an example?
Laurent Gomila - SFML developer

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
SFML 1.6 released soon
« Reply #16 on: February 07, 2010, 05:48:21 pm »
Maybe he means screenshots.

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
SFML 1.6 released soon
« Reply #17 on: February 07, 2010, 09:05:15 pm »
No, not screen shots...  :) What does a screen shot of a programming library look like? Is it a photo of a screen with the source code on it? :lol:

What I mean is graphical illustrations of how things work.

Let's take rendering a sprite, for instance.
How many coordinate systems are at work here? How do they relate to each other? What am I doing to which one when I set Sprite.SetCenter, or any of the other possibilities SFML gives me?
How do I get from that drawing of a teddy bear that I made in paint, to that scaled, centered, and rotated 30 degrees counter-clockwise around its tail version in the SFML view port? How do I know in advance whether its nose will be sticking out of the screen?

A couple of nice illustrations could explain all this nicely, I believe.

For an example of how such an illustration might look, take a look at chapter 3 "Multiple coordinate systems" in 3D Math Primer by Fletcher Dunn and Ian Parberry, if you have that available.

But that is not the only subject that could do with graphical illustration. Another nice thing would be an overview of everything that is SFML, and how they go together. A graphical illustration of all the parts of SFML, and their relations.

Pretty much every part of the documentation could be improved with imagery.
It may not mean much to you, but many people learn things faster, gain a deeper understanding,  and remember things better, if there is a simple graphical illustration to go along with the text. They are not meaningless fluff, but graphical explanations.

I really believe this could open up your library for many more people, especially beginners.

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
SFML 1.6 released soon
« Reply #18 on: February 10, 2010, 05:12:04 am »
Oh, and I have one more request:

If at all possible, I think it would be best if the many compiler warnings during debug compile could be taken care of.
I know they can be suppressed, but should they have to be?

And if I take the steps to suppress them, could other warnings, that I might want, be suppressed, too?
Not being the expert, I really don't have a clue. So I just let the compiler moan, even though I really don't like it.

I think this is very confusing, especially for beginners, and I know I have found it to be.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 released soon
« Reply #19 on: February 10, 2010, 07:40:48 am »
Quote
If at all possible, I think it would be best if the many compiler warnings during debug compile could be taken care of.
I know they can be suppressed, but should they have to be?

What warnings? There's no warning in SFML, except in the external libraries that I include directly to the source code (and I won't fix those).
Laurent Gomila - SFML developer

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
SFML 1.6 released soon
« Reply #20 on: February 10, 2010, 07:56:44 am »
Here is a small selection of the warnings I get in Visual C++ 2008 Express:
Code: [Select]
1>sfml-system-s-d.lib(Platform.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\libs\SFML-1.5\lib\vc2008\sfml-system-s-d.lib' or at 'C:\Documents and Settings\Administrator\Dokumenter\Visual Studio 2008\Projects\B2BodyMaker\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Clock.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\libs\SFML-1.5\lib\vc2008\sfml-system-s-d.lib' or at 'C:\Documents and Settings\Administrator\Dokumenter\Visual Studio 2008\Projects\B2BodyMaker\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Sleep.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\libs\SFML-1.5\lib\vc2008\sfml-system-s-d.lib' or at 'C:\Documents and Settings\Administrator\Dokumenter\Visual Studio 2008\Projects\B2BodyMaker\Debug\vc90.pdb'; linking object as if no debug info
I get 71 of those in my current project. But if they come from external libraries, then of course you shouldn't fix them. :)

I am very, very happy with SFML, by the way!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 released soon
« Reply #21 on: February 10, 2010, 08:13:48 am »
These are linker warnings about debug symbols not being found. I don't know why some people get them, it doesn't happen on my computer.
Laurent Gomila - SFML developer

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
SFML 1.6 released soon
« Reply #22 on: February 10, 2010, 08:53:39 am »
That's weird - which compiler are you using? And do you set it up in a special way?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 released soon
« Reply #23 on: February 10, 2010, 10:49:47 am »
I'm using Visual Studio 2008 professional, and I do nothing special.
Laurent Gomila - SFML developer

gsaurus

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
    • Evolution Engine
SFML 1.6 released soon
« Reply #24 on: February 10, 2010, 02:21:06 pm »
SFML 1.6 will allow to draw drawable objects to images (being Image a RenderTarget)?

I did a quick look at the trunk snapshot, I see a reference to a RenderImage class on sf::Image, but I don't find it.
Pluma - Plug-in Management Framework

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 released soon
« Reply #25 on: February 10, 2010, 02:55:10 pm »
No, sf::RenderImage is available only in SFML 2. I removed all the references to this class in the current trunk, I forgot to remove them a long time ago.
Laurent Gomila - SFML developer

Dravere

  • Newbie
  • *
  • Posts: 37
    • View Profile
SFML 1.6 released soon
« Reply #26 on: February 11, 2010, 04:03:15 pm »
Quote from: "Laurent"
These are linker warnings about debug symbols not being found. I don't know why some people get them, it doesn't happen on my computer.

Well, because they aren't in the package. Probably they are on your computer, because VS automaticly creates them, but you didn't add them to the archive you distribute.

But it is really simple to resolve those warnings. Simply rebuild the SFML project with VS.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 released soon
« Reply #27 on: February 11, 2010, 04:38:14 pm »
Quote
Well, because they aren't in the package. Probably they are on your computer, because VS automaticly creates them, but you didn't add them to the archive you distribute.

I don't understand how debug informations work in VC++. I'm almost sure that I've already used debug libraries, and those libraries contained their debug symbols directly, not in a separate PDB file.

I also tried to remove every PDB from my SFML directory, and I still got 0 linker warning.

I really need to figure out what's going on with PDB files and debug symbols :)
Laurent Gomila - SFML developer

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
SFML 1.6 released soon
« Reply #28 on: February 11, 2010, 07:01:03 pm »
maybe its a problem between different minor versions of visual studio...

beverett

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://beverett.com
Libraries compiled with gcc4.4.x
« Reply #29 on: February 21, 2010, 08:43:11 pm »
Well, I'm new here, but will the libraries be compiled with GCC 4.4.x? Could they be?

 

anything