Page 1 of 1

glow effect, too much ram consumption

Posted: 23 Jan 2013, 06:57
by alfred
the ram consumption need 20 MB when using the glow effect, if I apply more glow in one scene, the performance will be slow obviously. Do you have any suggestion to solve this problem?

Thanks!
alfred

Re: glow effect, too much ram consumption

Posted: 23 Jan 2013, 11:20
by Christian Krix Schmidt
You are probably using a render target and glow node for every object you want to have glowing, right? Only use one render target for the glow and not for every individual object. The brute force method would be to simply duplicate your hierarchy of your scene in the render target you use for glow and only keep the objects you want to glow. a better way of handling that would be to use a so called scene head with render paths. that way you would only have one scene hierarchy and can apply a render path wherever you need it in your scene. check the help tutorial project for details.

Re: glow effect, too much ram consumption

Posted: 24 Jan 2013, 02:33
by alfred
I will try to the scene head later on, I am wondering is it possible to use the switch node to achieve the same goal instead?

Thanks!
alfred

Re: glow effect, too much ram consumption

Posted: 24 Jan 2013, 08:54
by Christian Krix Schmidt
I thought of a few ideas on how to use a switch node but i don't think it will work. too complex and difficult to control. the render path nodes are basically multipath rendering and act as a switch. but you have to use them in a head with output nodes. the first time you use them it might seem overlay complex but it is not. just try it out, starting with the regular glow head tutorial scene and then moving on to render passes.

Re: glow effect, too much ram consumption

Posted: 24 Jan 2013, 15:25
by alfred
do you mean by using sharing and reference, as decribed in the subject of Render Target in tutorial?

alfred

Re: glow effect, too much ram consumption

Posted: 24 Jan 2013, 15:54
by Christian Krix Schmidt
that is one of the alternatives but can be getting quite annoying and hard to manage. depends on the situation is guess. with render paths you have a general and optimal solution.

Re: glow effect, too much ram consumption

Posted: 25 Jan 2013, 05:48
by alfred
render path? I didn't find the render path node, but i found render pass instead, do you mean this one?

thanks
alfred

Re: glow effect, too much ram consumption

Posted: 25 Jan 2013, 11:37
by Christian Krix Schmidt
sorry yes. render pass. my bad.

Re: glow effect, too much ram consumption

Posted: 25 Jan 2013, 15:17
by alfred
Christian, I am very appreciate your kind help :D

alfred