Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use renderer? #1

Open
tigrazone opened this issue Sep 28, 2021 · 3 comments
Open

How to use renderer? #1

tigrazone opened this issue Sep 28, 2021 · 3 comments

Comments

@tigrazone
Copy link

Hello.
I'm build renderer and try to use it.
Load obj to it and set sky color to 10 10 10 and try to render - nothing is rendered. Black screen.
I do create instance, select obj, filenames to save bvh and json and when all is loaded and bvh is created I push render checkbox.
Maybe you publish test scene or explain how to make render to start render?
Thank you

@AdamYuan
Copy link
Owner

Sadly the project is no longer maintained.
This is one of my early projects, which might have tons of errors. The path tracer is also not numerically correct, and the only reliable thing is the SBVH and Compressed Wide BVH building code, in /src/BVH/.
A possible reason why you see a black screen is that glDeleteShader is incorrectly called before glLinkProgram when loading shaders, which also appears in many of my old OpenGL projects. see https://github.com/AdamYuan/SparseVoxelOctree/issues/4
A rewritten version is on the way (currently WIP https://github.com/AdamYuan/VkAdypt, will replace the origin repo after finishing)

For now I highly recommend you to try knightcrawler25' GLSL-PathTracer https://github.com/knightcrawler25/GLSL-PathTracer, which is much more robust and feature-rich.

@tigrazone
Copy link
Author

@tigrazone
Copy link
Author

Hello. Can you help me with raytracer? Please read email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants