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 - K-Bal

Pages: 1 2 3 [4] 5 6 7
46
General / Build problem (libsndfile related)
« on: September 28, 2009, 06:13:06 pm »
Sound works with 1.0.20.

However, I get those:

Quote

An internal OpenAL call failed in SoundBuffer.cpp (73) : AL_INVALID_OPERATION, the specified operation is not allowed in the current state
An internal OpenAL call failed in SoundBuffer.cpp (73) : AL_INVALID_OPERATION, the specified operation is not allowed in the current state
AL lib: alSource.c:2291: alcDestroyContext(): 28 Source(s) NOT deleted
AL lib: alBuffer.c:1097: exit() 4 Buffer(s) NOT deleted

47
General / Build problem (libsndfile related)
« on: September 26, 2009, 10:46:45 pm »
I've tested it:

- wav works;
- .oggs from the samples don't work, neither do any I've tested.

48
Graphics / Re: Use of SOIL and SFML
« on: September 26, 2009, 08:22:51 am »
Quote from: "RixCoder"

E: Is it at all possible to use sf::image and bind that manually for use within a point sprite system?


Code: [Select]
sf::Image::Bind();

I can't say anything related to Soil. However, there is a ready to use particle engine here in the forum. I think it's called SPARK (?) .

49
Graphics / OpenGL bug? Nvidia driver bug? SFML bug? My fault?
« on: September 26, 2009, 12:42:55 am »
I still have the same error on my Laptop (ATI Radeon Xpress 1100). However, on my PC (Nvidia) it works.

50
General / Build problem (libsndfile related)
« on: September 25, 2009, 06:20:53 pm »
Is 1.0.18. still a working version? I get the error message "File contains data in an unimplemented format" when loading .ogg.

Ubuntu 9.04 x64

51
General discussions / Automatic batching in sfml2 branch
« on: September 25, 2009, 02:52:31 pm »
Okay, thank you ;)

52
General discussions / Automatic batching in sfml2 branch
« on: September 25, 2009, 02:30:34 pm »
I can't get pure OpenGL to work with SFML2. Minimal example:

Code: [Select]
#include <SFML/Graphics.hpp>
#include <GL/freeglut.h>

int main(int argc, char** argv)
{
    glutInit(&argc, argv);
    sf::RenderWindow myWindow(sf::VideoMode::GetDesktopMode(), "Ogl with SFML2");
    myWindow.UseVerticalSync(true);

    while(myWindow.IsOpened())
    {
        sf::Event event;
        while(myWindow.GetEvent(event))
        {
            switch(event.Type)
            {
                case sf::Event::Closed:
                {
                    myWindow.Close();
                    break;
                }
                default:
                {
                    break;
                }
            }

            myWindow.Clear();

            glMatrixMode(GL_PROJECTION);
            glLoadIdentity();
            glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);

            glBegin(GL_POLYGON);
            {
                glColor3f(1.0,1.0,1.0);
                glVertex3f(0.25, 0.25, 0.0);
                glVertex3f(0.75, 0.25, 0.0);
                glVertex3f(0.75, 0.75, 0.0);
                glVertex3f(0.25, 0.75, 0.0);
            }
            glEnd();
            myWindow.Flush();

            myWindow.Display();
        }
    }


    return 0;
}

53
Graphics / OpenGL bug? Nvidia driver bug? SFML bug? My fault?
« on: September 24, 2009, 03:57:48 pm »
Seems like it's working now, thanks ;)

54
Feature requests / Small request
« on: September 23, 2009, 02:51:49 pm »
Nevermind, I got it working with all the images SFML can load ;)

55
Feature requests / Small request
« on: September 21, 2009, 03:08:37 pm »
I'm working on a MD2 loader, too. PCX support would be great ;)

56
Graphics / OpenGL bug? Nvidia driver bug? SFML bug? My fault?
« on: September 17, 2009, 12:21:37 pm »
Is there any resource on the web that tells when the next nvidia driver is integrated in the repositories? I can't get the one from nvidia.com to work properly and the ones from the repository cause the errors above.

57
Graphics / Masking sprites.
« on: September 16, 2009, 10:20:30 am »
I would recommend using pngs with alpha blending ;) With masking you can get artifacts and no semi-transparency.

58
General discussions / Sigvatr's Newbie Thread
« on: September 16, 2009, 10:16:39 am »
Quote from: "Sigvatr"

Also, btw, how do I make an sf::Window fullscreen?


Give the constructor of sf::RenderWindow for the third parameter a sf::Style::Fullscreen.

59
Graphics / Animating Sprites
« on: September 13, 2009, 09:27:43 pm »
Spidyy, looks interesting ;) Is there any license you are using for this?

60
Graphics / Bullets in SFML.
« on: September 13, 2009, 08:14:02 pm »
Quote from: "tiago221"

Code: [Select]

class Projectile
{
public:
sf::Image BulletImage;
static sf::Sprite Bullet;


This does not seem to make great sense. What are you trying to achieve here?

Pages: 1 2 3 [4] 5 6 7