Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMadhed

Posted 22 December 2012 - 08:07 AM

Like L.Spiro wrote, the scenegraph should only be used as a transformation hierarchy. The general consensus these days also seems to be that a Draw() method does not belong in the entities themselves, rather the entities should provide all information that is needed to draw them to the render system.

This reduces the scenegraph basically to:
class Node {
    Matrix transform;
    Node parent;
}

#2Madhed

Posted 22 December 2012 - 08:07 AM

Like L.Spiro wrote, the scenegraph should only be used as a transformation hierarchy. The general consensus these days also seems to be that a Draw() method does not belong in the entities themselves, rather the entities should provide all information that is needed to draw them to the render system.

This reduces the scenegraph basically to:
class Node {
    Matrix transform;
    Node parent;
}

#1Madhed

Posted 22 December 2012 - 08:07 AM

Like L.Spiro wrote, the scenegraph should only be used as a transformation hierarchy. The general consensus these days also seems to be that a Draw() method does not belong in the entities themselves, rather the entities should provide all information that is needed to draw them to the render system.

 

This reduces the scenegraph basically to:

class Node {
    Matrix transform;
    Node parent;
}


PARTNERS