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

Entity Renderer #2

Open
2 of 12 tasks
AterAnimAvis opened this issue May 2, 2020 · 2 comments
Open
2 of 12 tasks

Entity Renderer #2

AterAnimAvis opened this issue May 2, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request in progress
Milestone

Comments

@AterAnimAvis
Copy link
Owner

AterAnimAvis commented May 2, 2020

MinecraftWiki:StandardizedViews

  • Calculate Render Size based on Scale and Angle
  • UI to change Partial Ticks
  • UI to select / preview Entity
  • UI to change viewing angles
  • Bulk Render
  • API to declare Entity Bound Box
    • Vanilla values
  • API to declare / modify Entity for View
    • Zombie Arms
    • Silverfish
    • Guardians
    • Anything Else
  • Entity Particles (e.g. Blaze)
@AterAnimAvis AterAnimAvis self-assigned this May 2, 2020
@AterAnimAvis AterAnimAvis added the enhancement New feature or request label May 2, 2020
@AterAnimAvis
Copy link
Owner Author

Current Bounding Box is just the entities AABB + .5f

Current Rendering State Cave Spider
Current Rendering State Zombie

@AterAnimAvis
Copy link
Owner Author

AterAnimAvis commented May 17, 2020

Blue Bounding Box is a unit cube centered on (0, 0, 0)
Red Bounding Box is declared Entity Render Box

Fixed an issue with centering not taking into account none equal x and z values.

Javascript files get loaded from /renders/scripts/*.bounds.js using Nashorn (With ES6 enabled).
Can also register 'BoundsProvider' by a ServiceLoader or programatically.

TODO:

  • Priority System?
  • Further Sandboxing
  • Utility functions for API
  • A whole lot of JS files for Vanilla Mobs

Current Render State:

BoundsProviderJS
BoundsProviderJSResult

@AterAnimAvis AterAnimAvis added this to the 2.0.0 milestone Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress
Projects
None yet
Development

No branches or pull requests

1 participant