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

Replacement of the rendering engine #26

Open
volca02 opened this issue May 6, 2018 · 0 comments
Open

Replacement of the rendering engine #26

volca02 opened this issue May 6, 2018 · 0 comments

Comments

@volca02
Copy link
Owner

volca02 commented May 6, 2018

After trying to force Ogre3d to do stuff the way it's needed, which has proven to be harder on every step (notably light list population for movable objects, lately), it's time to depart ways with it and implement stuff differently. Obvious choice here is not to reinvent wheel when it comes to rendering API abstractions, which should mean easier transitions to new platforms, among other things.

This change will most likely mean shift away from fixed function rendering, as well as getting rid of Ogre's VFS support that was hijacked to be used here. This project does not necessarily need a full blown scene graph implementation, although there has to be support for object attachments - f.ex. camera can be attached to sub-objects of other objects, AI often has keys or valuables on the belt, etc.

Scene management code currently present in scenemanager/ directory will be partially scrapped, partially moved back to worldrep service, that should newly be responsible for static geometry management and rendering. Note, it would be nice to allow viewpoint instances to exist, so stuff like dynamic shadows instead of pre-baked lightmaps is possible later on.

Initial amount of work can be done sideways - loading of BIN (both LGMM and LGMD) files and displaying them can be prototyped in a separate project and backported. The same is probably true for VFS management code, which should live in a fitting service (did original Dark have any service dedicated to VFS?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant