Skip to content

nfEngineDemo Description

Michał Witanowski edited this page Nov 16, 2015 · 4 revisions

#nfEngineDemo

Our main application for testing Core functionalities of the Engine is nfEngineDemo. Similarly to nfRendererDemo, the application consists of different scenes. Each of these uses different resources and tests the Engine under different circumstances.

##Prerequisites

nfEngineDemo heavily relies on large-file resources, which are by default not available inside our repository. The resources can be downloaded from here. Read through Introduction page to get more information about how to build nfEngineDemo.

##Controls

  • Scene selection controls:
    • 0-9 - recreate scene for the current window
  • Movement controls (enabled when Left Mouse Button is held):
    • W/S - move forward/backward
    • A/D - strafe left/right
    • R/F - strafe up/down
    • Left Shift - move faster
    • Left Control - move slower
  • Utility controls:
    • O - Place white Omni Light at current camera position
    • T - Place orange Spot Light at current camera position and orientation
    • V - Switch secondary view on/off
    • C - Match secondary view camera transform to primary view camera transform
    • N - Open new window (the new window shows the same scene as the old one)

##Design

nfEngineDemo is divided into separate scenes, each consisting of different resources and using different Engine systems. By default, all scenes should be available and fully functional.

##Scenes

Following describes specific scenes currently available in nfEngineDemo.

###Basic (0)

The first scene to launch. It should consist of simple room with a lot of boxes and four entry halls, one on each wall.

###Performance (1)

Similar to Basic Scene, however the room mentioned above is multiplied and set in 10x10 grid. Keep in mind, this scene might make nfEngineDemo unusable on slower PCs due to a lot of entities being spawned.

###Sponza (2)

The common Sponza scene, also known as The Atrium Sponza Palace. The scene was modeled by Crytek and is available for free download on Crytek website. Used mainly for GPU performance testing.

###Minecraft (3)

Map from video game Minecraft, ripped from the game using jMc2Obj Project. Right now it contains no lighting at all, however in the future it will be used to test open-world scenes and mechanisms related to them.