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

Pages: [1]
1
General discussions / Re: SFML 3 - What is your vision?
« on: June 14, 2017, 02:50:57 pm »
We have some sort of roadmap here: https://en.sfml-dev.org/forums/index.php?topic=21542.msg153137#msg153137 I think you'll find many of the wishes made in this thread on the roadmap.
Thank you for the link!  This is exactly what I was hoping to see, mainly because it contrasts with what this thread exhibits.  I'm still feasting on much of the contents under discussion, and expect to be for some time.  Brain food, as it were.   ;D

. . . 3) more community PR.

I think this last point would really help make SFML better with faster progress. It's obvious that the core team has many things to do and many other activities besides SFML, so if we could delegate more to the community that'd be awesome.
I agree.  Do you have anything specific in mind?  How can I help?

Thank you for sharing your thoughts, Hiura.  I appreciate it.

2
General discussions / Re: SFML 3 - What is your vision?
« on: June 10, 2017, 10:02:11 pm »
I must say, this thread fascinates me. 

It's quite a success, in the sense that I see wishlists and suggestions aplenty over its 300+ posts written over 3 years, many of which I wholeheartedly endorse.  Kudos to those who contributed their thoughts, and to the creators for asking in the first place.

What concerns me is the wealth of time and energy that was spent dismissing suggestions as impractical or beyond scope.  Granted, some fall into these categories for good reason, but in all of these posts, I don't recall seeing anyone in authority publicly saying, "That's brilliant, let's add it to the list."  Not once.  It leaves me with the impression -- rightly or wrongly -- that the powers-that-be are less interested in hearing the community's vision for SFML 3 than maintaining the status quo.  I find that quite distressing.

I've kept a casual eye on SFML for just over 4 years now, and I honestly find it to be one of the best written open source projects I've ever come across, in or out of game development.  I'd love to build a game framework on top of it.  The only thing holding me back is this perpetual holding pattern it seems to be in, and threads like this make it seem as if those in charge just aren't interested in breaking out of it. 

So, I'd like to give the creators an opportunity to address this by turning the thread's question back on them.  What is YOUR vision for SFML 3?  Did you find any worthwhile ideas in this thread?  If so, what are they?  Have they been added to the roadmap for SFML 3?  IS there a roadmap?

Thanks for your time and effort.

3
Graphics / Re: ConvexShape::getGlobalBounds() Problem
« on: November 23, 2013, 10:42:36 pm »
@FRex - Ahhh, understood.  Well, that makes it arguably less useful, but at least the behavior is explained.  Thanks for the illustration, it's most helpful!

@Nexus - In regards to the shape being concave, I refer you to the Shapes tutorial...

http://www.sfml-dev.org/tutorials/2.1/graphics-shape.php
Quote
Officially, sf::ConvexShape can only create convex shapes. But in fact, its requirements are a little more relaxed. In fact, the only technical constraint that your shape must follow, is that if you draw a line from its center of gravity to any of its point, you mustn't cross an edge. With this relaxed definition, you can for example draw stars.

The arrow's shape meets this criterion.

4
Graphics / ConvexShape::getGlobalBounds() Problem
« on: November 23, 2013, 10:20:25 pm »
Hello, SFML gurus.  :)

I've been kicking around with the ConvexShape class today, and came across something curious.  When I make a call to the ConvexShape::getGlobalBounds() method, it returns a FloatRect whose position and/or size seems to be flawed as the shape rotates.

Here's a simple program to demonstrate...

#include <SFML/Graphics.hpp>

using namespace sf;

int main() {
   RenderWindow window(VideoMode(800, 600), "Bounding Box Demo");

   ConvexShape arrow(4);
   arrow.setPosition(400.0f, 300.0f);
   arrow.setFillColor(Color::Blue);
   arrow.setOutlineColor(Color::Blue);
   arrow.setOutlineThickness(1.0f);
   arrow.setPoint(0, Vector2f(0, -20));
   arrow.setPoint(1, Vector2f(30, 60));
   arrow.setPoint(2, Vector2f(0, 40));
   arrow.setPoint(3, Vector2f(-30, 60));

   Vertex pivotPoint[1];
   pivotPoint[0].position.x = 400.0f;
   pivotPoint[0].position.y = 300.0f;
   pivotPoint[0].color = Color::Yellow;

   FloatRect bounds;
   RectangleShape boundingBox;

   Event event;

   while (window.isOpen()) {
      while (window.pollEvent(event)) {
         if (event.type == sf::Event::Closed) window.close();
      }

      window.clear(Color::Black);

      arrow.rotate(0.01f);

      bounds = arrow.getGlobalBounds();
      boundingBox.setPosition(Vector2f(bounds.left, bounds.top));
      boundingBox.setSize(Vector2f(bounds.width, bounds.height));

      window.draw(boundingBox, RenderStates::Default);
      window.draw(arrow, RenderStates::Default);
      window.draw(pivotPoint, 1, sf::PrimitiveType::Points, RenderStates::Default);

      window.display();
   }

   return 0;
}
 

If the arrow is rotated in any of the cardinal compass directions (0, 90, 180, 270 degrees) , the bounding box matches the vertices flawlessly.  However, as the arrow rotates, the bounding box grows increasingly inaccurate as it approaches the diagonal directions (45, 135, 225, 315 degrees), leaving a sizable gap around the arrow's tip, while remaining true to the two ends of the arrow's tail...








I've tried running this using SFML 2.1, plus the latest source snapshot downloaded from the downloads page, and the same behavior persists.  I'm wondering if there's a problem with the ConvexShape::getGlobalBounds() method, or if perhaps I'm just misunderstanding what it's intended to provide.

Any insight would be greatly appreciated!

- Syn

5
Java / Re: I cannot run a JSFML application (UnsatisfiedLinkError)
« on: June 16, 2013, 11:52:25 pm »
Thank you for the update!   8)

D.

6
SFML website / Re: Database Errors When Searching
« on: June 08, 2013, 05:47:47 pm »
That's a useful tip, and I appreciate it.  I'll be sure to narrow the focus of my future searches.

Are you saying that if I have an issue I want to search all forums for, I'm unable to do that without getting a cryptic database error?  That's somewhat disturbing, don't you think?

 :-\

7
DotNet / Re: C# SFML Visual Studio - Error on Build
« on: June 08, 2013, 05:09:54 pm »
Phew!  I'm really glad I stumbled across this post.  Same exact problem on my end, and same exact solution.

Thanks so much!

8
SFML website / Database Errors When Searching
« on: June 08, 2013, 05:02:10 pm »
I'm trying to perform a search of the forums, but consistently get database errors, and told to report the error to an administrator.

Before:


After:


I'm using Google Chrome 27, but have also tried this on Firefox 21 with the same result.  Also tried disabling JavaScript, to no avail.

... --- ...

9
Java / Re: I cannot run a JSFML application (UnsatisfiedLinkError)
« on: June 08, 2013, 04:03:06 am »
Hey guys, I just ran into this same problem running JSFML on Linux as well.  Did you manage to get the fixed version in place?  The latest link I see on the download page is dated January 2013...

Thanks!   ;D


Pages: [1]