Introduction
I have added the very first Optix (and RTX hardware trough Optix) support. This work is ongoing on optix_intersection branch and will be merged with main branch after the v2.4 release.
Note: The following test shave been done on a NVIDIA RTX 2070 Super.
Simple scenes
As expected, it provide very little or no benefits for very simple scenes:
PATHOCL with CUDA => samples/sec 7.29M
PATHOCL with CUDA+Optix => samples/sec 7.35M
Optix speedup: 2%
Medium scenes
On a 4 millions (3932.2K) triangles scene but with a very simple shapes (i.e. basically a cube and a sphere):
PATHOCL with CUDA => samples/sec 4.60M
PATHOCL with CUDA+Optix => samples/sec 5.42M
Optix speedup: 18%
Complex scenes
On a 10 millions (9456.6K) triangles scene with a quite intricate geometry were LuxCore BVH has never worked very well:
PATHOCL with CUDA => samples/sec 0.91M
PATHOCL with CUDA+Optix => samples/sec 5.50M
Optix speedup: 604%
Conclusion
Optix/RTX speed up will be highly related to the type of scene rendered. Do not expect any particular speed up on (geometry) simple scenes. On real world complex scenes, the benefit will start to be noticeable. There will be corner cases where the speedup will be insane ... still laughing about the 604% speedup
Short version: it works as expected.
Optix/RTX support
Re: Optix/RTX support
Some additional notes:
- I'm working on instances support and other stuff. Once it is done, it will possible to run some test with real world scenes.
- I'm considering the idea of writing a PATHOPTIX render engine, using the complete Optix frame work, not just ray intersection related functions. It is a not a trivial amount of work that may not deliver any benefit at all (or may be a lot faster, it is unknown) so I'm a bit cautions on this point.
- I will add the support for Optix denoiser to the image pipeline. It is trivial to do in the context of this work.
- I'm working on instances support and other stuff. Once it is done, it will possible to run some test with real world scenes.
- I'm considering the idea of writing a PATHOPTIX render engine, using the complete Optix frame work, not just ray intersection related functions. It is a not a trivial amount of work that may not deliver any benefit at all (or may be a lot faster, it is unknown) so I'm a bit cautions on this point.
- I will add the support for Optix denoiser to the image pipeline. It is trivial to do in the context of this work.
Re: Optix/RTX support
Some incredible news
This all sounds very exciting!- I'm considering the idea of writing a PATHOPTIX render engine, using the complete Optix frame work, not just ray intersection related functions. It is a not a trivial amount of work that may not deliver any benefit at all (or may be a lot faster, it is unknown) so I'm a bit cautions on this point.
- I will add the support for Optix denoiser to the image pipeline. It is trivial to do in the context of this work.
Re: Optix/RTX support
That is awesome and welcome improvement
there are rumors about some crazy hardware stuff (the guy speculate about a kind of dedicated PU for raytracing aka traversal Coprocessor) : https://youtu.be/i537qwchiAw
That is a good news indeed as modern CGI artwork require far more than a simple Cube. In fact i've seen in my work that GPU performance tend to fall drastically with scene compexity making them unwanted for big production scenes files this will be solved by Optix/RTX. If we Add the fact that we already have OOC it is a Huge jump.Optix/RTX speed up will be highly related to the type of scene rendered. Do not expect any particular speed up on (geometry) simple scenes. On real world complex scenes, the benefit will start to be noticeable. There will be corner cases where the speedup will be insane ... still laughing about the 604% speedup
that one will be very appreciaed- I will add the support for Optix denoiser to the image pipeline. It is trivial to do in the context of this work.
I would wait and see How new hardware and tech from both AMD and NVIDIA unfold with the release of RDNA 2 and AMPERE before doing such a drastic work.- I'm considering the idea of writing a PATHOPTIX render engine, using the complete Optix frame work, not just ray intersection related functions. It is a not a trivial amount of work that may not deliver any benefit at all (or may be a lot faster, it is unknown) so I'm a bit cautions on this point.
there are rumors about some crazy hardware stuff (the guy speculate about a kind of dedicated PU for raytracing aka traversal Coprocessor) : https://youtu.be/i537qwchiAw
Re: Optix/RTX support
So exciting news. I can't wait to test it in real projects and see who much it can speed up in a more complex scene with more details.
Nice improvements.
Nice improvements.
Omid Ghotbi (TAO)
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Last update information
viewtopic.php?p=34390#p34390
My Artstation https://www.artstation.com/omidghotbi
My Instagram https://www.instagram.com/omid.ghotbi
Re: Optix/RTX support
Amazing, this will be quite an acceleration for production scenes for sure.
Also, will it be possible to use the optix denoiser in viewport in the same way we do now with Cycles? (real time during the render I mean)
Also, will it be possible to use the optix denoiser in viewport in the same way we do now with Cycles? (real time during the render I mean)
Re: Optix/RTX support
Yes, it will be just another image pipeline plugin like OIDN one.
Re: Optix/RTX support
First rendering with instances support. This is a rendering of old LuxMark Hotel scene without Optix:
and this with Optix:
PATHOCL with CUDA => samples/sec 3.24M
PATHOCL with CUDA+Optix => samples/sec 3.83M
Optix speedup: 18%
and this with Optix:
PATHOCL with CUDA => samples/sec 3.24M
PATHOCL with CUDA+Optix => samples/sec 3.83M
Optix speedup: 18%
Re: Optix/RTX support
this the gap between some GPU model. It also mean a 60 min aka 1 hour render will finish 10mn earlier. It is also sometime the lastest bit that make someone switch from a renderer A to renderer B.Optix speedup: 18%
Every bit of performance is welcome.