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

Pages: 1 2 [3]
31
Feature requests / 3D additions
« on: November 23, 2009, 04:33:42 pm »
Quote from: "Laurent"
Maybe ;)
But that's a huge project and you probably won't hear of it before a long time.


Project called SFGE? How do i know?  :roll:

// edit: Ok i dont know :D Just found notice in Matrix3.inl that this file is part of SFGE ;]

32
Window / [SFML2] Minor header issue
« on: November 22, 2009, 12:25:45 am »
There is no:
Code: [Select]
#include <SFML/Window/ContextSettings.hpp>
in SFML/Window.hpp header file. Is this for purpose? I think that this is against SFML include policy ;).

33
Window / [SFML2] sf::Window create close memory issue
« on: November 21, 2009, 03:41:50 pm »
Running following code constantly consumes RAM. Running for 1 minute consumes ~10 mb of memory.

Code: [Select]
#include <SFML/Window.hpp>

using namespace std;

int main()
{
    sf::Window* wnd = new sf::Window(sf::VideoMode(800, 600, 32), "SFML_test", sf::Style::Close|sf::Style::Titlebar|sf::Style::Resize, sf::ContextSettings(32, 8, 0));
    while( wnd->IsOpened() )
    {
        wnd->Display();
        wnd->Close();
        wnd->Create(sf::VideoMode(800, 600, 32), "SFML_test", sf::Style::Close|sf::Style::Titlebar|sf::Style::Resize, sf::ContextSettings(32,8,0));
    }
return 0;
}


Why is that? Code seems to be valid usage of Close() and Create() methods. I am using Xubuntu linux.

34
General discussions / Java
« on: November 17, 2009, 04:54:35 pm »
Quote from: "JannoT"
https://sfml.svn.sf.net/svnroot/sfml
and SFML2 branch:
https://sfml.svn.sf.net/svnroot/sfml/branches/sfml2/


Thanks. I didnt got it that url on download page was for browser and not for svn client.

35
General discussions / Java
« on: November 17, 2009, 04:08:50 pm »
Quote from: "Laurent"
Maybe you should wait for SFML2 (or already start working on it from SVN), a lot of things have/will change.

Ok. Thats good idea. SFML2 code is available at http://sfml.svn.sourceforge.net/viewvc/sfml/ ? I cannot checkout this repository, I'm getting message "Error: Repository moved temporarily to '/viewvc/sfml/'; please relocate". I don't get it what I'm doing wrong? I'm using windows TortoiseSVN.

36
General discussions / Java
« on: November 17, 2009, 01:58:56 pm »
Quote from: "Laurent"
I won't do it myself, and so far I've never seen someone interested to write such a binding. Why don't you do it? :)

Hi. I am interested in writing such a binding. In fact I started it few days ago. For this I am using JNI. I am right now under heavy deadline at work, so development moves slow. Implemented things so far:
sf::Clock
sf::Randomizer
sf::Vector2
sf::Style
sf::VideoMode
sf::Window (90%)
sf::WindowSettings

Right now I am focused on implementing and wrapping Event and Window GetEvent method and all events in overall. I will release code when i will consider it working enough and have ported few examples of SFML applications. Window creation looks like that:
Code: [Select]
Window window = new Window(new VideoMode(800, 600, 32), "jSFML", Style.Close|Style.Titlebar, new WindowSettings() );
Constructor takes these arguments:
Code: [Select]
public Window(VideoMode, String, int, WindowSettings)

I will try to provide posts with weekly updates and changes in jSFML binding. Anyone even interested in using such a binding :?: Except me and ravenheart :].

Pages: 1 2 [3]