Page 1 of 1

Cannot load large (250mb) HDR probes

Posted: Sun Mar 31, 2013 7:24 pm
by dysfunctional
Hi, I'm having problems once again, and I don't seem to see any similar problem posted in the forums, so here goes:

In an effort to get more realistic lighting results, I recently purchased several extremely high resolution HDR probes from hdrmaps.com. Unfortunately, the plugin is having difficulty loading them into the texture environment node. The first thing that happens, is that the computer just takes a figurative dump, Windows processing wheel spinning wildly, response from the mouse intermittent, my music skipping wildly. After several minutes (maybe 2 or 3) control is restored, and it appears the probe has been loaded (the texture environment node is showing the name of the .hdr file under 'texture').

When I try to render, then, Octane can't render even the first sample. The plugin throws this error:

Cuda error: CUDA error 1 on device 0: One or more of the parameters passed were not within acceptable range of values. (refer to cuda.log for details).

The .hdr probes I'm having difficulty loading are about 250mb in size (20,000x10,000 px). In contrast, I have no issues loading smaller sized .hdr files (around 150mb in size).

Is this message indicating that the plugin cannot load a file that large? How can this be remedied? If these .hdr files cannot be loaded in Octane, I've really wasted a bit of money.

Thanks in advance for the help.

Re: Cannot load large (250mb) HDR probes

Posted: Mon Apr 01, 2013 7:21 am
by phdubrov
Free texture 10000x5000 takes 380M in my card. So 20000x10000 will take about 1.5G. Do you have enough memory?

Re: Cannot load large (250mb) HDR probes

Posted: Mon Apr 01, 2013 7:32 am
by face
Try to load the HDR in the standalone and see what happens.
Have a look to the memory status bar.

face

Re: Cannot load large (250mb) HDR probes

Posted: Mon Apr 01, 2013 7:50 am
by face_off
It's certainly looking like they are too big for your card. There are a lot of freebie HDR images at http://render.otoy.com/forum/viewtopic.php?f=21&t=146. Some work better than others. I haven't found the need to mega high resolution (although I tend to not go over 1200x1200 for renders).

As face suggested, try loading into Octane Standalone - I'm pretty sure it will give you the same result unfortunately.

Paul

Re: Cannot load large (250mb) HDR probes

Posted: Mon Apr 01, 2013 11:10 pm
by roeland
You should disable environment importance sampling, which was not designed to work with textures this size. It is slow on big environment maps, and it will not work on texture maps bigger than 130 megapixels.

--
Roeland

Re: Cannot load large (250mb) HDR probes

Posted: Tue Apr 02, 2013 12:42 am
by dysfunctional
face wrote:Try to load the HDR in the standalone and see what happens.
Have a look to the memory status bar.face
It was able to load, though it did take a few minutes of total non-responsiveness of my computer. I have no .ocs files to test a render with though, since I am exclusively using Paul's plugin.

The 'Info' reads this in the image = texture node: 20000x10000 pixels, 96 bpp, RGB HDR, 3125000 KB.

I turned off importance_sampling in the standalone when I loaded it. I don't know if that will only come into play while rendering or not, so I will try another test using Paul's plugin with importance_sampling turned off and see if I still get the CUDA error.

Thanks for all of your help so far, gentlemen. :D