Zhuoran’s Week 7 Report

Goals

-implement a spatial data structure for selectively rendering objects near to the player.

Accomplishments

– I implemented a spatial hash table that would enable the client to only render objects within a certain distance to the player, and whereas before, the client had to render all 200,000 place holder cubes. Spatial hashing works by taking in and hashing a 3-d coordinate vector and return a cell, which contains all objects within that cell’s 3d space. This data structure can be used to get near objects by checking what are in the nearest 9 cells.

Unaccomplished goals

-There seems to be a technical problem with either Visual Studio or Opengl. We tried to use a smaller ground tile texture for a bigger ground plane, by using Opengl texture repeat. However under debug configuration in VS, Opengl does not seem to repeat, and only under release config with optimization turned on does Opengl display the ground texture properly.

Next Week’s goal

– Fix the above issue, or use a different approach for ground plane, maybe individual ground tile plane instead of a big ground plane. Explore visual effects like particles.

This Week’s lesson

-With week 7 and 8 coming up, I need to manage my time better for both project and other school works.

Individual Morale

– Time is pressing, but I still look forward to see our final result.

Leave a Comment

Your email address will not be published. Required fields are marked *