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

Pages: 1 ... 4 5 [6] 7 8 ... 34
76
Of course, I was intending to give a possible reason as to why it isn't very noticeable. At least for myself!

77
DotNet / Re: SFML.NET 2.4 Update
« on: June 20, 2017, 04:33:21 am »
Testing! Try it out, use it, and respond with any feedback you have!

78
I've noticed this as well, on Windows 7 thru 10, on Intel and Nvidia cards.

It's easy to miss or forget about it, since it most often happens (in my experience) when the process is terminating, so it's kind of a "oh well".

79
General / Re: Error while capturing resized window?
« on: June 15, 2017, 03:03:30 am »
Do you have any transformations applied to the sprite?

Might just be the video, but it looks to me like there *might* be some scaling going on.

80
DotNet / Re: Detecting entered text in C# (help required)
« on: June 14, 2017, 07:51:04 pm »
So, basically, assign a function to the event like one should in C#, then use the args.
Yep, exactly that!

No worries!

Fyi, the source is well documented and straightforward to read through public fields and function signatures, so that might be a helpful (and quicker) solution if you can't find something else in the future!

81
DotNet / Re: Detecting entered text in C# (help required)
« on: June 06, 2017, 07:03:09 pm »
For the C# bindings, all SFML events are accessible via C# events, as members of a window.

So you'd do something like:
yourWindowObj.EventOfInterest += YourHandleFunc

82
You may want to do some research into "state machines".

83
Graphics / Re: VBO creates bug ?
« on: June 03, 2017, 09:57:45 am »
Oh I see how you're using it now, that makes sense. I meant for the drawing to the sf::RenderTexture to go in an if().
Though I don't think you should have an if() at all in System::Render() then?

As for the Intel vs Nvidia case, I'm afraid someone else with some more familiarity with drivers will have to help you, I'm not familiar enough with the drivers to be of much use.

If you get a stack trace, I might be able to help, otherwise you'll have to wait for someone else to come along.

84
Graphics / Re: VBO creates bug ?
« on: June 03, 2017, 03:17:45 am »
Stack trace of the crash?

Nope, changed to a regular sf::RenderTexture created at each rendering cycle, no change. Now, there's no crash, but the SFML part just doesn't show.
Your System::Render(), shouldn't you only be conditionally calling renderWidgets() if the container was updated? Something like:
void System::Render()
{
    windowMain.clear(sf::Color(50,0,0));
 
    renderOpenGL();

    if (primaryContainer.wasUpdated())
    {
        windowMain.pushGLStates();

            renderWidgets();

        windowMain.popGLStates();
    }

    windowMain.display();
 
    numberOfFrames++;
}

85
Graphics / Re: VBO creates bug ?
« on: June 02, 2017, 08:01:56 pm »
What code of yours does it pass through first?
First, let's try to prove it's not your code, before looking at SFML.

Can you paste a stack trace, and any relevant code?

86
Graphics / Re: VBO creates bug ?
« on: June 02, 2017, 07:09:14 pm »
Have you used a debugger to trace the source of the seg fault?

87
Graphics / Re: VBO creates bug ?
« on: June 02, 2017, 06:56:36 pm »
You should be using either resetGLStates() alone, OR pushGLStates() and popGLStates(). Not both. Does that make a difference?

88
Graphics / Re: VBO creates bug ?
« on: June 02, 2017, 06:21:03 pm »
The code you've posted doesn't reflect this, so, have you read this?

tl;dr:
sf::RenderWindow::popGLStates()
sf::RenderWindow::pushGLStates()
sf::RenderWindow::resetGLStates()

89
DotNet / Re: OpenTK AccessViolationException on any OpenGL call
« on: May 18, 2017, 10:48:15 am »
If you don't mind building the master branch, does it still occur?
(CSFML 2.4 can be downloaded from the website)

90
DotNet / Re: Where can i get SFML.Net 2.3 or 2.4?
« on: May 12, 2017, 07:49:49 pm »
I worked on updating .NET to 2.4 - the master branch is updated to 2.4, but it is not tagged due to a lack of feedback confirming that it works as it should (beyond my testing).

I can echo Hiura in appreciating it if you can test it out!

Pages: 1 ... 4 5 [6] 7 8 ... 34