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.


Topics - Acrobat

Pages: [1] 2
1
SFML projects / Any success stories ?
« on: July 22, 2013, 11:13:06 am »
Looking for a sfml game released in bigfishgames or else.

I got many bugs from bfg QA.
For example : Render Texture not working on G965 Express Chipset Family (windows XP only, windows 7 - Ok)
The texture is created, but can't be displayed, also crashes at exit (i'm sure because of this)
Also problem with outdated drivers, and hardware that have no official support (but works with win 7/8)

What do you think about it ?

2
General / Some information SFML2.0
« on: March 18, 2013, 08:35:04 pm »
I got an old computer, with stupid video card, and found some issues.
1. Render to texture issue
Before i used 1 RenderTexture to render anything i need, and copy it to other texture via sf::Image
Everything worked well except this computer, sfml can't recreate RenderTexture with new size (view create method). All textures were the same. The obvious solution was to create many RenderTextures for my needs.
2. OpenAl32.dll
Sfml uses software sound. Again on this computer i had issues with performance, the sound was awful. Solution is to rebuild OpenAl to use hardware (take sources from creative svn), rebuild sfml to use new lib and dll. (Also you need to add one more wrap_oal.dll)
3. Audio issue.
I got USB sound card, it works well, but when you unplug it, and plug again, application crashes. Solution was to comment out Joystick initialization and events. That's because windows detected sound card as input device.

3
Graphics / Printscreen in Windows
« on: March 07, 2013, 08:41:06 am »
Does anybody have a solution to make screenshots in Windows in Fullescreen ? First of all you can't handle printscreen button (via sfml), second, by default you got black screen. So i think we need to handle it, and upload our picture ?

4
Window / Windows screensaver preview
« on: March 04, 2013, 10:49:40 am »
I'm trying to make a preview for my screensaver, but i have a problem.
Render Window is created with parent handle, and WindowImplWin32::globalOnEvent is never called. I can't get any events in my application and correctly close it. Does anybody have any suggestions ?

5
General / Standard Libs on Mac
« on: January 29, 2013, 03:24:26 pm »
Very soon my game will be released, still have questions.
I'm using some new features from C++11, and there are some problems with them on 10.6, 10.5 OSX

Errors something like :
Symbol not found : __NSConcreteGlobalBlock
Referenced from : ....
Expected in : /usr/lib/libSystem.B.dylib

Should i ship this system libraries with my application and make links correct with install_name_tool, or there are any other better ways ?

6
Window / SFML crash on MacOS 10.6
« on: January 28, 2013, 09:10:03 am »
How to fix this ? On 10.7, 10.8 everything is Ok.
0 libstdc++.6.dylib 0x0000000101aca002 0x101aca000 + 2
1 Module 0x000000010078915f sf::VideoMode::isValid() const + 15
2 Module 0x0000000100789f47 sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) + 215

7
Window / Closing window via Dock do not send closing Event (MacOnly)
« on: January 13, 2013, 01:50:16 pm »
MacOS only
Then you close your window with right click on application in doc - Quit, there is no event sf::Event::Closed generated, so you can't correctly save your game, and release resources.

Solution is to set application delegete, and override
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender
to return  NSTerminateCancel and add close event to queue.

Discuss.

8
General / Link problem
« on: January 10, 2013, 09:09:24 am »
I have a strange problem with xcode (4.4, 4.4.1, 4.5) on OSX 10.8 (On 10.7 there was no error, this happened after i  reinstalling a new version)
I can't link sndfile framework with project, also can't build it from sources (compile errors), does anybody had this problem ?
P.S. all paths settet correctly

9
Graphics / SFML with no window
« on: December 18, 2012, 08:47:41 pm »
I wonder, is it possible to initialize ogl with sdl or else (without sf::Context), and use drawing with sfml ?
I need it to finish the screensaver for OSX (problems with Garbage Collection and window package)

10
General / SFML and GC on Mac
« on: December 11, 2012, 04:21:09 pm »
MacOS only
With GC (Garbage collector) supported/Required in application. You can't get a valid sf::Context in other created thread => can't load resources in threads and other stuff, how to fix this ? Get error :
Quote
invalid context
Error. Unable to create the context.

and when i try to load texture :
Quote
Failed to create texture, its internal size is too high (512x256, maximum is 1x1)

With unsupported GC everything works.

11
Graphics / RenderTexture artifacts (Mac only)
« on: December 04, 2012, 11:05:06 am »
I have a strange problem with Render Texture. I have a button with label on animated mesh, what i do:
1. create a render target with proper width and height.
2. render label in it.
3. copy result to image
sf::Image * image = new sf::Image(m_renderTexture->getTexture().copyToImage());
4. create new texture from image.
5. delete render texture.

Result:
When i repeat this for a couple times, i can see strange artifacts with other textures. They are valid, but memory is corrupted, or something like a sliced page in memory. I can see parts of textures from browser or else.

I can repeat it only on Mac.

12
Window / Screensaver
« on: November 21, 2012, 03:33:04 pm »
Does anyone have any experience in creating screensavers on sfml ? I need to create a screensaver for my game, do I need to handle any special events ? Or just handle mouse/key down/move events and close window ?

13
Window / Mono, Pinvoke, MacOS, issue with events
« on: September 11, 2012, 11:42:33 am »
I'm trying to integrate SFML window in my application, i created a separate SFML window (with Pinvoke), everything works well, except event handeling. In C# i created a timer :
renderTimer.Interval = 1;
renderTimer.Enabled = true;
renderTimer.Tick += (object sender, EventArgs e) => {
        Render();
};

[DllImport("Lib", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
static extern void Render();
 

In Render function i do poling events and rendering content. I faced a problem that i can catch MouseButtonPressed event only if i start to spam clicking mouse button (is there a multithreaded implementation of event handeling ?). With combination of isButtonPressed and getPosition everything works as expected.
P.S. on Windows everything is Ok.

14
Graphics / Software Render to Texture
« on: July 12, 2012, 04:22:07 pm »
Currently there are problems with hardware render to texture, does anyone tried to implement a software renderer ?
It's is important to support old cards. Something like prerender text on textures (localization), or else. Perfomance is not important.
Any ideas ?

15
Graphics / Render Target
« on: June 06, 2012, 11:32:16 am »
I found something interesting with Intel card, last time when i tried to render content to render texture i ended up that they are not working on some cards (render texture was 1024*768), but when i tried again (128*128) everything was ok. Maybe all the problems is about render textures size ?

Also i am trying to make a post effect (something look like underwater), anybody have ideas how to make it w/o render target ?

Pages: [1] 2