I am trying to make OptiX (v3.0.1) render data that can not fit in mine GPU memory and I’ve got a crash here.
I am using the “glass” pre-compiled example on Windows 7 64b, with 12GB of RAM and nVidia GTX 690 (driver v332.21).
If i replace the input .obj of the “glass” example (named wineglass.obj), with bigger one (lets say .obj that is 60-70 MB) everything is fine.
If I replace it with a lot bigger (832MB) it is crashing with message
OptiX Error: ObjLoader::loadImpl - glmReadOBJ( ‘media/glass/waterglass.obj’ ) failed.
You can find the file I test with here https://www.dropbox.com/s/rumvrr2rv2zgx0v/wineglass.obj
Can it be that it can’t load one huge file and it must be split ?
p.s. If the problem is that is one huge file, I will upload a version with many .hdr files loaded in OptiX, but it is crashing again when I run over the memory limit (with a c++ bad_alloc exception, but I really don’t think that my 6 free gigs of RAM may be fragmented enough for that to happen. Again it starts crashing with the .hdrs when I run over the GPU memory capacity). This test is made again with slightly modified SDK sample. Should I explicitly call some OptiX SDK function to enable that ?