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

Make 3D modeling happen. #514

Open
LemTheLemon opened this issue Mar 21, 2018 · 7 comments
Open

Make 3D modeling happen. #514

LemTheLemon opened this issue Mar 21, 2018 · 7 comments

Comments

@LemTheLemon
Copy link

Basically, in order to place pixels you would need to find the x, y and z coordinate for that single pixel.

For example, x1, y1, z1 would be placed at the right bottom corner of the model

The models would be measured by pixels of course. It would be 16x16x16 maximum and 1x1x1 minimum

@LemTheLemon
Copy link
Author

Forgot to mention, would you need to edit MCGalaxy aswell? I'm 99% sure I think you should

@UnknownShadow200
Copy link
Collaborator

I don't quite understand what you're asking. Are you asking for multiple sub-cuboids in a block (like fence, stairs, gate, etc) ?

@Goodlyay
Copy link
Collaborator

That's basically what he's asking. Except this in case, you would be able to place up to 4096 single cuboids, I suppose.

@LemTheLemon
Copy link
Author

yes, multiple sub-cuboids in a block

@UnknownShadow200
Copy link
Collaborator

UnknownShadow200 commented Mar 21, 2018

There's a limit of 65536 total vertices per face / 4096 blocks per chunk / 4 vertices per face, so you could only safely have max of 4 sub-cuboids in a block.

Also for reasons explained before, this would require a lot of work and so isn't really a high priority.

@LemTheLemon
Copy link
Author

dang, I thought it would be hard to implement as well I guess

@UnknownShadow200
Copy link
Collaborator

Would need to rewrite block culling calculation, entity-block collision, particle-block collision, 2D block in gui drawing, block model rendering, chunk mesh builder, entity shadows, picking/selected block detection, respawning code, probably more

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