knightcrawler25 / optix-pathtracer Goto Github PK
View Code? Open in Web Editor NEWSimple physically based path tracer based on Nvidia's Optix Ray Tracing Engine
Simple physically based path tracer based on Nvidia's Optix Ray Tracing Engine
How can I give input to the program? I have downloaded a blend file (scene?) and here is the command I use
$ ./optixPathTracer -s ../../samples/grey.white.room.03.bs.blend
Unknown option '-s'
Usage: ./optixPathTracer [options]
App Options:
-h | --help Print this usage message and exit.
-f | --file <output_file> Save image to file and exit.
-n | --nopbo Disable GL interop for display buffer.
-s | --scene Provide a scene file for rendering.
App Keystrokes:
q Quit
s Save image to 'optixPathTracer.png'
f Re-center camera
I'm very glad to see this awesome project. But when I try to write some different shaders, I fail to set breakpoint in neither the .cu files nor the compiled ptx files with cuda-gdb. Could you please give me some guidance about the debug?
I have tried to build the project with latest optix 7.3 and cuda 11.3 with visual studio 2019. However it did not work. Is there any upgradation plan for this project?
Couple of question:
1- Is it fine to load a render over ssh with X11 forwarding?
2- Should OpenGL driver be installed with the Nvidia driver?
Currently, I am sshing to a node with "ssh -Y". The segmentation fault I receive is at:
$ ./optixPathTracer -scene ../../src/data/bedroom.scene
material Boxes
material PlasticCable
material LampEmitter
material Blankets
material Bedsheets
material Window
material PictureBacking
material Picture
material Rocks1
material Rocks2
material Rocks3
material DecoPlant
material Painting1
material Painting2
material Painting3
material Carpet
material Matress
material WoodFloor
material Walls
material Walls2
material WoodFurniture
material Mirror
material Aluminium
material BookCover
material BookPages
material LampMetal
material Vase
material Glass
material PictureFrame
material CurtainRod
material Curtains
material StainlessSmooth
material Curtains
material Curtains
Segmentation fault (core dumped)
I built the Debug binary and with gdb, I see
material StainlessSmooth
material Curtains
material Curtains
Program received signal SIGSEGV, Segmentation fault.
0x000000000026737c in ?? ()
(gdb) bt
#0 0x000000000026737c in ?? ()
#1 0x0000555555588b3a in main (argc=3, argv=0x7fffffffe7a8)
at /mnt/local/mnaderan/op/Optix-PathTracer/src/optixPathTracer/optixPathTracer.cpp:669
That line is here.
Is seems that IL (or DevIL) is needed here. I am not sure what may cause this error?
DevIL, OpenGL, X11 forwarding, ...
Any feedback?
Hi,
can you briefly explain how to load the scenes after extracting data.rar into src/data?
Thanks!
At the end of build I see some messages related to DevIl
[100%] Linking CXX executable ../bin/optixPathTracer
/usr/bin/x86_64-linux-gnu-ld: /home/mahmood/Optix-PathTracer/src/support/DevIL/lib/x64/Release/DevIL.lib(DevIL.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
I didn't find any variable for DevIL
. I have that but don't know how to tell Optix-PathTracer.
Hi,
I tried the SSS material provided by the Disney BRDF in this path tracer, but I couldn't achieve the nice translucency effect of subsurface scattering.
Below is a description of the SSS material
material sss
{
color 0.79 0.8 0.04
roughness 0.17
specular 0.5
subsurface 1.0
clearcoat 1.0
clearcoatGloss 0.93
}
For comparison, the same scene in Blender:
Any tips on how to achieve this effect?
I run sample I was caught exception as follows.
OptiX Error: 'Invalid context (Details: Function "_rtProgramGetId" caught exception: Validation error: _Z6SampleR17MaterialParameterR5StateR19PerRayData_radiance function with semantic type BINDLESS_CALLABLE_PROGRAM accesses the rtCurrentRay semantic variable.)'
What's up??
I Develop under Optix 6.0,0.
Hi!
Thanks for your amazing job!
Could you please tell me how you convert the dining-room.blend file to many separate obj files? I use blender to read dining-room.blend and then export to obj, but I could only get one big obj file.
Thanks for your help!
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.