Search this site
Embedded Files
Devyn Lehrman
  • Home
  • About
  • Write-Up Proposal
  • Engine System Update #1
  • Engine System Update #2
  • Engine System RELEASE
  • Final Project Proposal
  • Final Project Write-Up
Devyn Lehrman
  • Home
  • About
  • Write-Up Proposal
  • Engine System Update #1
  • Engine System Update #2
  • Engine System RELEASE
  • Final Project Proposal
  • Final Project Write-Up
  • More
    • Home
    • About
    • Write-Up Proposal
    • Engine System Update #1
    • Engine System Update #2
    • Engine System RELEASE
    • Final Project Proposal
    • Final Project Write-Up

Downloads:
Assignment05 64-Bit (DirectX)

My Game Running:

This GIF demonstrates the visible demands of this assignment:

  • One GameObject who can change its mesh. (Press 'G' to change)

  • The GameObject moving around. (Arrow Keys)

  • The Camera moving around. ('WASD' for U/D/L/R movement, 'R' to move forward, 'F' to move back)


I don't have enough hands for this.

My GameObject

My GameObject stores a Rigidbody, a reference to the Mesh, and a reference to the Effect.


When making games, the User can load the Mesh via the Mesh class, and then assign a new reference to that Mesh to the GameObject (and change meshes on the fly) by using the ChangeMesh function. 

Same thing for ChangeEffect.

Interfacing with my GameObject

Really, just grab the mesh reference out of the game object. The Mesh stores the data needed for Graphics, so SubmitMeshData will handle the rest.

Sizeof(Mesh)

Currently up to a max of 64 Bytes, up from 48 (ASG4). We weren't required to use rotations in this assignment, so the only addition is an sVector for the position so we can inform the Draw Call Constant Buffer.

Why Extrapolation:

Our game runs Simulation Steps at 15FPS, but renders far faster. We use extrapolation so that instead of drawing where the character is only 15 times per second, which is noticeably jittery to the eye, we can guess based on the underlying game state and pass that information to the graphics engine to draw something that will be close-enough. This maintains the illusion of smoothness.

Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse