1 / 3

Object Node Table

Object Node Manager. Object Node Table. Object Layout Data. X pos Y pos Class Member. NULL (free). ProSonic Engine. NODES: 0 – Cylinder 1 – Moon 2 – Donut 3 – Diamond 4 – FREE 5 – FREE.

Download Presentation

Object Node Table

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Object Node Manager Object Node Table Object Layout Data X pos Y pos Class Member NULL (free) ProSonic Engine

  2. NODES: 0 – Cylinder 1 – Moon 2 – Donut 3 – Diamond 4 – FREE 5 – FREE The moon and donut are inside the playing field. These objects are visible to the player and are stored in the ONT (Object Node Table). The cylinder and diamond are not inside the playing field, but they are inside the object scope. This means that even though they aren’t visible, they remain in the ONT. The cuboid is outside the object scope entirely, so no reference to it will be fount in the ONT. Notice the nodes. 4 and 5 are free, while 0-3 have references. Within object scope, shown on screen Within object scope, outside of screen Outside object scope ProSonic Engine

  3. NODES: 0 – Cuboid 1 – Moon 2 – Donut 3 – Diamond 4 – FREE 5 – FREE Within object scope, shown on screen Notice now that the cylinder is no longer inside the object scope. It’s node in the ONT is freed, making it available for another object to take. The cuboid has entered the object scope, so the first free node in the ONT will be issued a reference to the cuboid. Node 0 is freed since the cylinder is no longer in the object scope. However, now that a new object has entered the scope, it searches for the first free node. Node 0 now references the cuboid. Within object scope, outside of screen Outside object scope ProSonic Engine

More Related