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

Scale/Detail #11

Open
davestevens opened this issue Jul 14, 2012 · 6 comments
Open

Scale/Detail #11

davestevens opened this issue Jul 14, 2012 · 6 comments
Labels

Comments

@davestevens
Copy link
Collaborator

I was thinking about what sort of scale we should be using, at the moment all of the items which are draw aren't very detailed, to be able able to draw with more details obviously we would need to use more voxels per item, obviously this would cause the collision detection to have more work to do.

I may be jumping the gun and it may require us to run some tests before making a decision on this, its an aesthetic as well as an implementation detail i guess. Do we want a simple graphical game or a detailed one? and can we actually run at the speed we want at the level of detail we want?

@17twenty
Copy link
Collaborator

Minecraft has a reasonable block size and I read most of the slow down is due to Java combined with targetting OpenGL 1.0, and even that is pretty damn fluid so I wouldn't be too concerned on using more blocks to give us more granular design.

@iamscottmoyers
Copy link
Owner

Does minecraft run on phones? Still I think since we're just drawing opaque cubes then we probably won't hit any GPU issues as long as we're careful. The problem with naively drawing so many cubes is that we waste a lot of time drawing internal faces that we will never see so we could hit performance problems sooner than we think. I've enabled back face culling which will make things faster but there is still a lot of internal geometry that we could avoid drawing if we were clever.

@riazm
Copy link
Collaborator

riazm commented Jul 14, 2012

There is a minecraft mobile addition yeah. Minecraft is one block = 1m^3. But other stuff is modelled using smaller blocks.

@davestevens
Copy link
Collaborator Author

ok, so we'll probably be fine whatever we choose. i've been playing with it today and maybe its because of how its being drawn but it causes my fan to come on, nothing else really does :S
whatever, we can do some tests and see what kind of limits. with regards to issue #7 we might be able to limit the redrawing because of moving by voxel rather than a GLfloat.

@iamscottmoyers
Copy link
Owner

That fan thing is a bug, I take it you're running the GLUT version? We registered a glutIdle function which will be called whenever there is any spare processor time. Try GLUT with revision 056179a

@davestevens
Copy link
Collaborator Author

thats quieter.

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

4 participants