Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting rid of the scene graph #9

Open
zuck opened this issue Sep 20, 2013 · 0 comments
Open

Getting rid of the scene graph #9

zuck opened this issue Sep 20, 2013 · 0 comments
Labels

Comments

@zuck
Copy link
Contributor

zuck commented Sep 20, 2013

Marciano proposed on the forum:

We are currently thinking about taking out the scene tree (transformation hierarchy) from the Horde core. Why?

I begin to think more and more that is not a good idea if the 3d engine (and even less the renderer) is modifying transformations. Without a scene tree, all horde scene objects would just be added directly into a flat list. Besides making the game engine integration strategy clearer, this would also help to further simplify the horde code and would definitely be beneficial for performance, as the scene tree does not have to be updated every frame (an operation which causes a lot of cache misses).

The change would have the introduction of model resources as dependency. Along with it, we would probably give more control over the model update as well. It needs to be possible to explicitly and immediately apply the skeletal animation to a model, so that the joint matrices can be read back to manually attach an object to a joint. A simple function updateModel could take care of that and control as well when morphers and software skinning should be applied. BTW, if anyone really needs it, it would be possible to have a scene tree in the utility library.

Discussion on official thread:
http://horde3d.org/forums/viewtopic.php?f=8&t=1117

@zuck zuck added this to the 2.0.0 milestone Feb 17, 2014
@zuck zuck added change and removed enhancement labels Feb 17, 2014
@zuck zuck modified the milestones: 1.0.0 (final), 2.0.0 Feb 17, 2014
@zuck zuck removed this from the 2.0.0 milestone May 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant