nvpro-samples / vk_shaded_gltfscene Goto Github PK
View Code? Open in Web Editor NEWRendering glTF scenes with ray tracer and raster (Vulkan)
License: Apache License 2.0
Rendering glTF scenes with ray tracer and raster (Vulkan)
License: Apache License 2.0
when I try to load big scene and if data not fit to memory, I have red message nvpro_core\nvvk\memallocator_vma_vk.inl(142): Vulkan Error : VK_ERROR_OUT_OF_DEVICE_MEMORY and program exit.
when I try to load same scene with vk_raytrace I have many messages "downgrade memory" but scene fit to memory and render continue work and renders ok.
nvvk::DeviceMemoryAllocator works better vs vma.
How to switch memory manager to nvvk::DeviceMemoryAllocator?
I'm using an NVIDIA RTX 3090 and Intel i9-10900X CPU and I don't understand how can I have higher FPS with ray tracing.
Using the FPS and frame generation time on the top I average around 1000 FPS / 0.9ms using ray tracing, but in raster I get around 430 FPS / 2.3ms without any super sampling multiplier (ie. no AA).
Also I tried using my own timer for the raster and ray tracing function and I get around ~0.2ms for ray tracing, and ~0.4ms for raster.
For reference here are my scene stats:
Instances: 120
Mesh: 120
Materials: 99
Triangles: 7858115
Lights: 0
Textures: 104
Images: 68
4k environment map.
I have nvidia 3060 laptop and with default scene I have 85%-95% of GPU usage.
Why speed is variable?
When I try run on nvidia 4090, I have 25% -35% of GPU usage.
How to use 95% - 100% of GPU in RTX mode on ANY GPU?
I'm trying to load Sponza Base Scene
OpenHardwareMonitor.exe shows 5964.2 mb of VRAM usage
Windows resource monitor shows 5,7 gb usage
but NVML monitor shows 6.25/6.44 gb usage
and program aborted - out of memory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.