lighthouse2
lighthouse2 copied to clipboard
Lighthouse 2 framework for real-time ray tracing
in `void RenderCore::SetMaterials( CoreMaterial* mat, const int materialCount )` under `RenderCore_Optix7`, the `hostMaterialBuffer` is initialized with size `materialCount`, but `materialBuffer` has size `materialCount` and attribute `ON_DEVICE` set. This triggers `if...
I wanted to ask if you considered to create a DOI for the lighthouse2 framework. This allows researchers to reference a version of the framework with ease and can be...
I have received a fetal error, says unable to open rendercore_optixprime_b, the specified module could not be found. 
https://github.com/jbikker/lighthouse2/blob/a046e58b7d281885977c5e096c409926ebda829c/apps/pbrtdemoapp/main.cpp#L189-L190 I think this should be: ``` float3 camPos = renderer->GetCamera()->transform.GetTranslation(); float3 camDir = renderer->GetCamera()->transform.GetForward(); ```
Fix camera get postion and direction error. Add keyboard tips. Add imgui.ini make layout com comfortable.
Camera has no position or direction members... 5>D:\lighthouse2\apps\pbrtdemoapp\main.cpp(189,51): error C2039: 'position': is not a member of 'lighthouse2::Camera' 5>D:\lighthouse2\lib\RenderSystem\camera.h(25): message : see declaration of 'lighthouse2::Camera' 5>D:\lighthouse2\apps\pbrtdemoapp\main.cpp(190,52): error C2039: 'direction': is not...
The render function in RenderCore_Minimal contains an [incorrect call](https://github.com/jbikker/lighthouse2/blob/e61e65444d8ed3074775003f7aa7d60cb0d4792e/lib/RenderCore_Minimal/rendercore.cpp#L77) to glTexSubImage2D: ``` glTexSubImage2D( GL_TEXTURE_2D, 0, GL_RGBA, screen->width, screen->height, 0, GL_RGBA, GL_UNSIGNED_BYTE, screen->pixels ); ``` Based on the [docs](https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexSubImage2D.xhtml), the call...
Hello, I am researching real-time ray tracing for a project that I am working on to update an older SDL2/OpenGL 3D game to a modern renderer and would definitely like...
I observe a strange double image artifact when running at >= 48 samples per pixel. Any ideas? 