Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Multiple "world spaces" in the same window?  (Read 959 times)

0 Members and 1 Guest are viewing this topic.

syndicatedragon

  • Newbie
  • *
  • Posts: 3
    • View Profile
Multiple "world spaces" in the same window?
« on: June 14, 2013, 11:07:37 pm »
Is is possible to have multiple world coordinate spaces in the same window? Here is an example of what I mean. Let's say I want to put a map display in one half of the window, and a text display in the other. What I would like is that the origin of both the map display and text display to both be 0, 0. That way they can be rendered independently of each others' size and position. It seems like I could accomplish this by rendering to textures and then putting those textures where I want them, but I wanted to make sure the engine didn't already support this in a different way before I started.

Thanks.

The Hatchet

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • Email
Re: Multiple "world spaces" in the same window?
« Reply #1 on: June 14, 2013, 11:09:24 pm »
Pretty sure you can accomplish what you want with Views.  http://www.sfml-dev.org/tutorials/2.0/graphics-view.php