pollend / Nabla-Examples-and-Tests

Nabla's Tests and Examples source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples and Tests

The Nabla Examples are documentation-by-example and building blocks for our future Continuous Integration GPU Integration Tests.

Where can I find the makefiles or IDE projects/solutions?

Given an example in folder XY.ExampleName, CMake will generate either a target or a separate makefile/project/solution called examplename (no number, always lowercase).

Whenever CMake generates separate makefiles/solutions/projects, they will be generated in the ./examples_tests under the build directory you supplied to CMake.

Samples are meant to be built into the ./bin directory in the source (its git-ignored) and invoked with that Current Working Directory.

WARNING: If you're using an IDE different than Visual Studio you need to set the CWD correctly for when you start the example for Debugging!

WARNING: Only generation of IDE projects by standalone CMake is supported, we do not use or rely on IDE integrations of CMake.

Maintenance Matrix

Example MSVCx64Release MSVCx64RWDI MSVCx64Debug Androidx86_64Release Androidx86_64RWDI Androidx86_64Debug Win32OpenGL Win32OpenGLES* Win32Vulkan X11**OpenGL X11**OpenGLES X11**Vulkan AndroidOpenGLES AndroidVulkan RequiredCMakeOptions****
01.HelloWorld
02.ComputeShader
03.GPU_Mesh
04.Keyframe
05.NablaTutorialExample
06.MeshLoaders
07.SubpassBaking
08.
09.ColorSpaceTest
10.AllocatorTest
11.LoDSystem
12.glTF COMPILE_WITH_GLTF_LOADER
13.
14.ComputeScan
15.
16.OrderIndependentTransparency
17.SimpleBulletIntegration BUILD_BULLET
18.MitsubaLoader BUILD_MITSUBA_LOADER
19.
20.Megatexture
21.DynamicTextureIndexing
22.RaytracedAO BUILD_MITSUBA_LOADER
23.Autoexposure
24.
25.Blur
26.
27.PLYSTLDemo COMPILE_WITH_STL_LOADER,COMPILE_WITH_PLY_LOADER
28.
29.SpecializationConstants
30.
31.
32.
33.Draw3DLine
34.LRUCacheUnitTest
35.GeometryCreator
36.CUDAInterop COMPILE_WITH_CUDA
37.
38.EXRSplit
39.DenoiserTonemapper COMPILE_WITH_CUDA,COMPILE_WITH_OPTIX
40.GLITest COMPILE_WITH_GLI_LOADER
41.VisibilityBuffer
42.FragmentShaderPathTracer
43.SumAndCDFFilters
44.LevelCurveExtraction
45.BRDFEvalTest
46.SamplingValidation
47.DerivMapTest
48.ArithmeticUnitTest
49.ComputeFFT
50.NewAPITest
51.RadixSort
52.SystemTest
53.ComputeShaders
54.Transformations
55.RGB18E7S3
56.RayQuery
57.AndroidSample
58.MediaUnpackingOnAndroid
59.
60.ClusteredRendering

Legend

Already Works

Has a known bug

Work-In-Progress, sample logic not complete or temporarily modified

Intended to be Supported (requires some work to port after an API change)

No support

Examples numbered 00 are provisional and are not part of the example suite.

Notes

* Only Nvidia provides a working GLES 3.1 driver with OES_texture_view on Windows, so we only test there.

** Needs the Xcb implementation of the ui:: namespace to be complete.

*** Only x86_64 architecture supported for Android builds, also NBL_BUILD_ANDROID is required.

**** NBL_BUILD_EXAMPLES is needed for any example to build!

About

Nabla's Tests and Examples source code


Languages

Language:C++ 89.9%Language:GLSL 8.5%Language:CMake 1.1%Language:Batchfile 0.2%Language:C 0.2%Language:Cuda 0.1%