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

Author Topic: SFML Book Scene Graph Matrix  (Read 2344 times)

0 Members and 1 Guest are viewing this topic.

Michalus

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
SFML Book Scene Graph Matrix
« on: August 17, 2013, 11:11:49 pm »
I reading the sfml game developing book, but I am have problems to understand the scene graph   
in connection with the matirx (Transformation).
The problem is, that I dont know a matrix good.
I know only that a matrix is a table with rows and rives, but not anymore.
Where i can learn to understand the matrix from sfml with rotation and transformation and the other matrix stuff that I dont know ?

Sorry if the question is difficult to understand, but I am german.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: SFML Book Scene Graph Matrix
« Reply #1 on: August 17, 2013, 11:35:06 pm »
Most of those operations involve matrix multiplication, so I guess start with that?

http://www.mathsisfun.com/algebra/matrix-multiplying.html

As for why we care about matrix multiplications for computer graphics, I think the OpenGL tutorial I read is a good way to get a feel for what they're used for (if it doesn't melt your brain):

http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/

Of course that's for 3D graphics and SFML is strictly 2D (until you start using OpenGL through it), but 2D transformations are just special cases of 3D ones so it should still help.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML Book Scene Graph Matrix
« Reply #2 on: August 17, 2013, 11:41:19 pm »
Transformation matrices are a mathematical concept which you can learn pretty much everywhere, just google a bit.

On the other side, we can't really help you regarding scene graph, since you haven't asked an actual question. With what exactly are you having problems with? What are you trying to do and what doesn't work?

PS: There's also a German community: http://www.sfml-dev.de/
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything