Implicit surface rendering via ray tracing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ZCWang fe893f8ba9 Commit local directory 2 years ago
..
NvFoundation.h Commit local directory 2 years ago
README.md Commit local directory 2 years ago
include_gl.h Commit local directory 2 years ago
linux_file_dialog.h Commit local directory 2 years ago
nvpfilesystem.cpp Commit local directory 2 years ago
nvpfilesystem.hpp Commit local directory 2 years ago
nvpsystem.cpp Commit local directory 2 years ago
nvpsystem.hpp Commit local directory 2 years ago
nvpsystem_linux.cpp Commit local directory 2 years ago
nvpsystem_win32.cpp Commit local directory 2 years ago
nvpwindow.cpp Commit local directory 2 years ago
nvpwindow.hpp Commit local directory 2 years ago
perproject_globals.cpp Commit local directory 2 years ago
perproject_globals.hpp Commit local directory 2 years ago
platform.h Commit local directory 2 years ago
resources.h Commit local directory 2 years ago
resources.rc Commit local directory 2 years ago

README.md

Helpers nvp

Table of Contents


nvpsystem.hpp

class NVPSystem

NVPSystem is a utility class to handle some basic system functionality that all projects likely make use of.

It does not require any window to be opened. Typical usage is calling init right after main and deinit in the end, or use the NVPSystem object for that. init

  • calls glfwInit and registers the error callback for it
  • sets up and log filename based on projectName via nvprintSetLogFileName
  • if NVP_SUPPORTS_SOCKETS is set, starts socket server as well

nvpwindow.hpp

class NVPWindow

base class for a window, to catch events

Using and deriving of NVPWindow base-class is optional. However one must always make use of the NVPSystem That takes care of glfwInit/terminate as well.