Coder Social home page Coder Social logo

cdaut / nvpro_core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nvpro-samples/nvpro_core

0.0 0.0 0.0 11.54 MB

shared source code and resources needed for the samples to run

License: Apache License 2.0

C++ 61.17% Python 0.34% C 35.73% Lua 0.44% CMake 1.74% GLSL 0.57% Batchfile 0.01%

nvpro_core's Introduction

nvpro_core

Repository

This folder is a repository of shared source code : most other samples use it as library or directly reference code from it.

It means that you must clone this repository (with submodules) prior to trying those samples that refer to this repository as a dependency.

Folders

  • cmake: 'find' files to search for cmake packages
  • doxygen: folder for doxygen doc generation
  • fileformats: various helpers to load some files
  • nvh: API agnostic helpers to simplify the code of samples.
  • nvgl: helpers for OpenGL
  • nvvk: helpers for Vulkan (to aid extension use and simplify initialization of Vulkan structs, some files were generated from scripting)
  • nvvkhl: helpers for Vulkan High-Level for creating samples; applications, loading scenes, HDR-environment, G-Buffers, etc.
  • nvvkhl/shaders: commonly use functions for shading, tonemaper, etc.
  • nvoptix: helpers for Optix
  • nvdx12: helpers for DirectX 12
  • nvmath: math library used by most samples
  • imgui: a version of imgui and some implementations to render it (derived from its examples).
  • GL/KHR: include files for OpenGL (we use a subset of extensions that is generated and defined by nvgl/extensions_gl.lua)
  • resources: icons etc.

Files

  • nvpsystem[_linux|win32].hpp/cpp: defines the base class NVPSystem
  • nvpwindow.hpp/cpp: defines the main class NVPWindow
  • docgen.py: python script that generates README.md files from comments gathered in various headers
  • CMakeLists.txt: project definition for the nvpro_core library
  • resources...: win32 resources
  • include_gl.h: shortcut for including the file that contains the GL extension definitions
  • platform.h / NvFoundation.h: platform specific NV_... macros that aid cross platform coding

Dependencies

Some samples may rely on few additional libraries in order to compile (mostly for win32). You can find them in third_party/binaries. The use of Vulkan or DirectX APIs requires that the appropriate SDKs are installed.

The minimum Vulkan SDK version is currently: 1.3.261.0

License

nvpro_core is licensed under the Apache License 2.0.

Third-Party Libraries

This project embeds or includes (as submodules) several open-source libraries and/or code derived from them. All such libraries' licenses are included in the PACKAGE-LICENSES folder.

The include file mechanism inside nvh/shaderfilemanager.cpp is derived from the OpenGL Samples Pack. Only the hash combine logic was derived from Boost (https://www.boost.org/doc/libs/1_35_0/doc/html/boost/hash_combine_id241013.html).

nvpro_core's People

Contributors

mklefrancois avatar tlorach avatar pixeljetstream avatar nvmheyer avatar nbickford-nv avatar dylanlacewell avatar dsandler-bos-msk avatar cdaut avatar iesser avatar nbickford avatar jcowles avatar ikapoura avatar k1ngst0m avatar lectem avatar marcinslusarz avatar sashinde avatar thehamsta avatar joshuafc avatar rumblehhh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.