• Create Account

Need scary sound effects or creepy audio loops for your next horror-themed game? Check out Highscore Vol.3 - The Horror Edition in our marketplace. 50 sounds and 10 loops for only \$9.99!

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;
}


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;
}


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