Comments (12)
Hey!
Once you've built the solution navigate to the bin/release folder then you can use:
optixPathTracer -scene ../../../src/data/coffee.scene or any of the other scene files available. Make sure the data.rar you extract isn't in another data/data subfolder.
Also, right now most of the folders etc are hard coded in the code so it should be simpler to modify the src/optixPathTracer.cpp file since you would need to build the code anyways to run it.
You can browse to line 651 in src/OptixPathTracer.cpp and change the scene file from there:
scene_file = sutil::samplesDir() + std::string("/data/spaceship.scene");
from optix-pathtracer.
Thanks for your help. However, I'm having an issue compiling your code on Windows. Although the installation instructions for Windows (https://github.com/knightcrawler25/Optix-PathTracer/blob/master/INSTALL-WIN.txt) are very clear, I got stuck at this step: "Select the "src" directory from optix_advanced_samples as the source file location."
I have looked in my Optix install folder but cannot find the optix_advanced_samples directory. Can you let me know where to find this "src" directory?
Thanks in advance
from optix-pathtracer.
Oh the instructions were from here: https://github.com/nvpro-samples/optix_advanced_samples. As I mentioned in the readme, almost all of the base code is from the advanced samples (specifically the optixGlass sample) and I haven't modified the install instructions so it still says optix_advanced_samples there.
After you select the src and bin folders in cmake, you would have to manually set the OptiX_INCLUDE
and OptiX_INSTALL_DIR like so:
Then click on configure again and generate. That should work.
from optix-pathtracer.
Thanks a lot for the quick reply. Generating the project works, but compilation with VS 2017 produced some new errors (Building NVCC ptx file lib/ptx/optixPathTracer_generated_path_trace_camera.cu.ptx
nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier)
I will give this another try tomorrow.
from optix-pathtracer.
What version of visual studio did you build it for? Also, what CUDA and Optix versions do you have installed?
from optix-pathtracer.
We were able to build and run it on Ubuntu after making some changes. It looks awesome, thanks for sharing this project.
from optix-pathtracer.
I only added small additions to the existing code so can't take much credit there. By the way, are you Sam Lapere from raytracey.blogspot.com?
from optix-pathtracer.
It's the first open sourced Optix project with an advanced material system that I could find.
I am indeed the author behind Ray Tracey blog :)
from optix-pathtracer.
Your blog is a gold mine! In fact another project of mine: https://github.com/knightcrawler25/GLSL-PathTracer has Nvidia's SBVH from your last tutorial (modified to work with GLSL). Learnt a lot from your blog posts over the years and in fact I got interested in graphics due to your earlier Brigade posts. Thanks a lot :D
from optix-pathtracer.
Glad my blog helped! I'm quite new to Optix, and I wasn't very convinced of its speed/quality until trying your modified Optix path tracer.
BTW, I tried you GLSL path tracer as well. The quality and speed is really nice, on par with the Optix version.
from optix-pathtracer.
Thanks :) Not sure if this info would help you since you are just investigating the framework, but there are a few other really nice Optix based projects on GitHub that might also interest you:
https://github.com/shocker-0x15/VLR (Full spectral)
https://github.com/NVlabs/fermat (PT/BDPT/MLT/PSSMLT)
from optix-pathtracer.
Cool, I already discovered Fermat two weeks ago, but hadn't seen the Spectral path tracer before. That one could be quite useful actually. Cheers.
from optix-pathtracer.
Related Issues (11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optix-pathtracer.