Author Topic: Massive Render Dimensions  (Read 13806 times)

2016-06-24, 13:59:58

ParticleSkull

  • Active Users
  • **
  • Posts: 10
    • View Profile
Hey guys, how's things going?

A client just asked me to render some images on the huge dimensions of 29528 x 29528p

i've successufully done it through backburner, using slices, but it would take forever on my machine. Then I've tried to send it to Rebus Farm but i'm getting an error saying:

The renderer is running out
of memory. Please optimize
your scene for smaller memory
footprint. If it takes more
than 64GB we cannot render it.


What would optimize my scene for render? Reduce the amount vertex, smaller textures, less lights? Sincerelly, I have no idea.

Does anyone had a similar problem? Should I render it somewhere else?
Any tips will helpful.

Thx,
Alvaro
facebook.com/particleskull

2016-06-24, 14:07:02
Reply #1

pokoy

  • Active Users
  • **
  • Posts: 1988
    • View Profile
Try to figure out where most of memory is used and do some math. If you have many large textures, it's good to resize them, sure. The frame buffer for the whole image takes 4.9 BG in 16 bits, each additional render element will need the same amount of memory on top. Rendering scanlines is probably still a good idea to reduce memory usage, also switching off the frame buffer can help, too.

2016-06-24, 14:19:29
Reply #2

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
actually just beauty + alpha + weights (minimum Corona does) is 18 GB at this resolution, because we have 32bit-only frame buffer
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-06-24, 14:21:34
Reply #3

arqrenderz

  • Active Users
  • **
  • Posts: 1075
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
What about disabling the render buffer? just put a noise limit and save the image, i manage to render a big image that way..

2016-06-24, 14:24:44
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13709
  • Marcin
    • View Profile
The most important question is whether such huge resolution is really needed here. What kind of render is this?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-06-24, 14:31:58
Reply #5

ParticleSkull

  • Active Users
  • **
  • Posts: 10
    • View Profile
Thx for the quick reply guys,

I have a lot of render elements, 12 I think, could it be the problem?

Beside of that my scene is not that complex. It have around 500k vertices, a couple of 1200p textures and no animation. It have a Corona Sun + Corona Sky on the background and the lighter blue parts (inside the object and contourning some fragments) are light. I'm attaching a print screen of it.

https://1drv.ms/i/s!AgYbcqSddOAHgvMLIBD3PlReOYyuFw

Daniel, in fact i managed to start rendering it here on my machine but, since it would take forever, i've decided to send it to RebusFarm but i'm getting this problem there. I will give their support this idea though, thx - edit: i've just realize what u mean and they probably have it disabled

Maru, it's a 5m print with 150dpi. I believe it would be totally fine to print it at 72dpi using 14174p but my client want it like this so i'm giving my best. If it doesn't work and somehow I manage to render it with the lower-res, i'll try to convince them ;)

Thx,
Alvaro
« Last Edit: 2016-06-24, 14:40:36 by ParticleSkull »
facebook.com/particleskull

2016-06-24, 14:37:18
Reply #6

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 768
    • View Profile
    • blacksquid
If I am not mistaken each render element will add 2 GB or Ram usage.
If you make use of the denoiser feature then switch it off. Because this consumes a lot of RAM.

2016-06-24, 14:40:22
Reply #7

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
A little (secret) trick that can be used in cases where client are requesting huge renderers without any logical reason is to render it out at a lower size and then upscale it in Photoshop. This way the client gets what he wants without you having a major headache.

Of course it has to be a secret :)

2016-06-24, 14:42:24
Reply #8

ParticleSkull

  • Active Users
  • **
  • Posts: 10
    • View Profile
Thx belly, I'll give it a try right now. I do have the denoiser on, i'll swithc it off
PROH, it can be my last resort ;)
facebook.com/particleskull

2016-06-24, 14:55:30
Reply #9

Frood

  • Active Users
  • **
  • Posts: 2002
    • View Profile
    • Rakete GmbH
You could try this:

https://forum.corona-renderer.com/index.php/topic,9312.msg60171.html#msg60171

It avoids large framebuffer memory usage by using rendertype #blowup + region - not available in standard GUI afaik. Saved several a*s*s during 4GB limit days. Maybe 5x5 tiles will do it.

Good Luck

Never underestimate the power of a well placed level one spell.

2016-06-24, 15:23:23
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13709
  • Marcin
    • View Profile
A little (secret) trick that can be used in cases where client are requesting huge renderers without any logical reason is to render it out at a lower size and then upscale it in Photoshop. This way the client gets what he wants without you having a major headache.
What I was about to write. :>
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-06-24, 15:39:27
Reply #11

sebastian___

  • Active Users
  • **
  • Posts: 197
    • View Profile
A few years ago I asked on a forum which image had better quality and higher resolution.
About half of the people chose the lower resolution image as "the one with a higher resolution"

But I used a plugin with a better algorithm for re-sizing (I don't remember which one, there are a few for After Effects as well). The photoshop bicubic sharp one is not enough. Even lanczos is better for that.

A little (secret) trick that can be used in cases where client are requesting huge renderers without any logical reason is to render it out at a lower size and then upscale it in Photoshop. This way the client gets what he wants without you having a major headache.

Of course it has to be a secret :)

2016-06-24, 20:58:00
Reply #12

Juraj

  • Active Users
  • **
  • Posts: 4815
    • View Profile
    • studio website
A little (secret) trick that can be used in cases where client are requesting huge renderers without any logical reason is to render it out at a lower size and then upscale it in Photoshop. This way the client gets what he wants without you having a major headache.

It doesn't have to be secret at all. Clients (actually, pretty much no one, not even most 3D guys, just read cgarch and chaosgroup, the simpler people don't get it either )don't understand the relationship between digital input and the print process. You can print using 2400 DPI offset technology if you want, and it doesn't matter what your input is, if it's 600px Instagram crap, 6k px/24MP photo or 30 000 px render. It takes 10 minutes of explaining and then just sending what you find reasonable. DPI =/= PPI.

I am surprised you even tried to render it :- ) Your client probably didn't do any mathematics, he just asked for 5 meter big 150 dpi print. Did he really ask for the exact resolution (30k) directly ? Because I've seen often it's just something 3D artists assume it's asked from them.

30k render would be ridiculously stupid, no kind of texture or geometry detail would look good at that size. And it would never render.

I am rendering currently 12k 360 panorama, and it's taking 30 hours using 60 cores (of E5 Xeons, 120 threads !!). 30k would take like a full week using half of my render farm. Or something like 250+ euro on Rebus. Just no.

But nonetheless, Corona could do away with little bit less memory hungriness. It's not too high priority but when I routinely use my 64gb memory it's kinda funky :- ).

If you go the up-scaling way, try fractal upscaling using some plugin. I had surprisingly good result, it keeps nice AA although of course it won't introduce detail that's not there. But still way better than some bicubic interpolation :- )
« Last Edit: 2016-06-24, 21:01:43 by Juraj_Talcik »
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2016-06-25, 03:58:18
Reply #13

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
A little (secret) trick that can be used in cases where client are requesting huge renderers without any logical reason is to render it out at a lower size and then upscale it in Photoshop. This way the client gets what he wants without you having a major headache.

that's so hardcore man! but anyway, that's already been my secret way for some big image render :D it's surprisingly to know that i'm not alone and this isn't even a secret here lol :D
30k render would be ridiculously stupid, no kind of texture or geometry detail would look good at that size. And it would never render.
yes I'm totally agree with juraj. we should to know how big our texture is.. if not we're doing unreasonable thing.
if I were particleskull I have to make client understand this but I don't know how to make a good explanation to the client.

If you go the up-scaling way, try fractal upscaling using some plugin. I had surprisingly good result, it keeps nice AA although of course it won't introduce detail that's not there. But still way better than some bicubic interpolation :- )
did you mean ON1? I heard it from some friend but never tried

2016-06-25, 11:07:34
Reply #14

sebastian___

  • Active Users
  • **
  • Posts: 197
    • View Profile
I found this plugin "Blow Up" http://www.alienskin.com/blowup/

 

another one was a AE plugin from redgiant. Maybe this one
https://www.redgiant.com/products/instant-4k/