attach Material to Geometry

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>
trivial change to cache a current program in a variable

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>
move setMaterial to NodeObj

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>
enable rtti support for easy node traversal

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>
polymorphism at Node::draw or Geometry::draw level

don't use rtti in Render::drawNode

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>
very immature ShaderGenerator code

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>