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

Do we want custom culling ? #924

Closed
tomluchowski opened this issue Aug 18, 2015 · 6 comments
Closed

Do we want custom culling ? #924

tomluchowski opened this issue Aug 18, 2015 · 6 comments
Assignees
Milestone

Comments

@tomluchowski
Copy link
Member

As in question , I implemented a version of custom made culling and the framerate significantly rised .
There were two mechanism involved sometimes causing crashes. The issue is whether is worth for me to reimplement them ; would they be merged into final code if I somehow achieve the non-crashing status for my code ?

@Bertram25 Bertram25 added this to the Later milestone Aug 23, 2015
@Bertram25
Copy link
Contributor

The issue is whether is worth for me to reimplement them ; would they be merged into final code if I somehow achieve the non-crashing status for my code ?

Good question, actually. Getting better FPS is always tempting, for sure.
That said, we remove the custom culling because it has several flaws, and IIRC more than two crashes root causes. Weren't there also tiles culled while they shouldn't be?

Another thing is I'm pretty sure Ogre already does culling on unviewable tiles (otherwise FPS would be very low whatever the viewpoint), so is it worth it? I know such technical stuff can take time and I wonder whether you'd rather want to spend your time on more requested features than this one, being potentially not functional enough in the end. (Remember that now we have normal maps, fps are forcefully a but lower.)

@oyvindln @hwoarangmy WDYT?

@hwoarangmy
Copy link
Contributor

As you say, better FPS is always welcome. However, since it is a pretty technical feature, could you please explain how you want to do it ?
Note that if you go for it, since it is technical, it will require to be pretty well documented (by comments in the code) so that we can all review and fix/improve what needs to be.
Moreover, since Ogre 2 is supposed to have a good culling algorithm (according to @oyvindln ), it might be a good idea to wait a bit (even if it is announced since so long that we cannot know when it will be really released)

@tomluchowski
Copy link
Member Author

For large maps ( 400x400 ) I get speedup from 30fps to 44fps . By using the tile culling .
Do you think it is worth programming time ?

@Bertram25
Copy link
Contributor

See #954 for the start of implementation. Missing fixes are there.

@Bertram25
Copy link
Contributor

@hwoarangmy Isn't this done, btw?

@hwoarangmy
Copy link
Contributor

Yes, done in #1198

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

No branches or pull requests

3 participants