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

Path forward #19

Open
Innoviox opened this issue Nov 6, 2017 · 2 comments
Open

Path forward #19

Innoviox opened this issue Nov 6, 2017 · 2 comments

Comments

@Innoviox
Copy link
Owner

Innoviox commented Nov 6, 2017

for improvement that I wrote down after the ESS test:

Things to do:

  1. Fix HUD
  2. Make sky prettier with ambient lighting
  3. Implement optimizations & render a landscape
  4. Collide with the landscape. Basic motion "game"
  5. Generate a large world
  6. Fully implement different lights.
  7. Scene: Skybox, a house next to a road, a streetlight that throws light on the road and the house, a moving sun in the sky. Day and night.
  8. Animation: A person walks down the street while the sun moves overhead. Can go into the house; door opens and closes.

Ideas for restructuring and improvement

  • Facilitate Item creation
    Item I = new Item(modelFile, textureFile)
    .setScale(...)
    .setPosition(...)
    .setRotation(...);

  • Add object that moves with Camera ==> TiedItem extends Item implements Tieable

  • CollidableItem implements Tieable

  • Camera implements Tieable

  • PseudoMesh: a mesh that doesn't render

UML for TiedItem

  • Tieable t
  • TiedItem(Tieable t, String modelFile, String textureFile)
  • update

Restructure item package
item
interfaces => Tieable, Collidable
model => Material, Texture, Mesh
lighting => Light, ...
Item, CollidableItem, TiedItem, ...

@Innoviox
Copy link
Owner Author

Innoviox commented Nov 7, 2017

  1. Enabled back-face culling. Further optimizations:
  • Make a Mesh Map, then render based on map.get(mesh).getItems() instead of iterating through the entire item loop each time.

@Innoviox
Copy link
Owner Author

Innoviox commented Nov 8, 2017

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

1 participant