baker

General disscusion about Kray
Mario
Posts: 135
Joined: Sat Dec 23, 2006 9:42 pm

Post by Mario »

o.k. but you can aplly grayscaled image to bump chanell to add bumps?
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

sure. Textures/images are no problems.
tajino
Posts: 45
Joined: Thu Nov 16, 2006 10:22 am
Location: Malaysia
Contact:

About shared GI and animation

Post by tajino »

What is the correct way to setup shared GI if it is to be distrubuted to render on say 5 machines? (for cases where only the camera moves)

Here are a list of methods that i'm going to try but just need some advice before doing so.

1.
If it is set to "Both" mode, which means each machines after rendering an alternate frames, will save the additional FG data onto the GI file, so here is the question, what if both or more machines are writing the same GI file (which is shared by all) at the same time? will the GI file be messed?

2.
If set to "Load", then which mean i'll need a fairly good GI file with most of the FG already cache say every 25 frames or render a large bakemap so most of the visible FG will be stored, in order not have to recalculate the FG for everyframes?

3.
What about duplicating the GI file for each machine having their own, and mode set to 'both'. Which means each machines will have their own shared GI within the set frame steps. But then there will be redundent calculation of FG from the neighbouring frames that will increase the render time more that neccesary right?

pc 1 render frames : 1 6 11 16 21 26 ... sharing it's own GI file
pc 2 render frames : 2 7 12 17 22 27 ... sharing it's own GI file
pc 3 render frames : 3 8 13 18 23 28... sharing it's own GI file
pc 4 render frames : 4 9 14 19 24 29 ... sharing it's own GI file
pc 5 render frames : 5 10 15 20 25 30... sharing it's own GI file

Is this an effiecient setup?

or is it better to have each machines render in a continuous time chunk, say pc1 do frame 1-50, pc 2 : 51-100, pc 3 : 101-150... etc etc?

need some advice here. Thanks

and Eddy, I'm very happy with 1.7 :)
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Re: About shared GI and animation

Post by jure »

Well kray seems to keep GI file in memory untill you stop rendering and then it dumps it to a file. This means that if you're computers are rendering consequtive frames they won't realy share GI data untill you stop and restart render.

So IMHO I would proceed this way:
First render a frame or two with "Both" on single computer. This way you'll get GI file with irradiance data and a little bit of FG data. Then use that GI file on every computer and set each computer to a different frame range (pc1: 0-100, pc2 101-200...)
This will cause a little bit of extra time for first frame on each comp but then it will render just about the same speed as it would on one comp. It is neccesary to share the first GI file so you don't get sudden light changes because of different irradiance computation.
- Jure
Mario
Posts: 135
Joined: Sat Dec 23, 2006 9:42 pm

Post by Mario »

Good question.
Would like some manual how to setup distirbutive rendering
tajino
Posts: 45
Joined: Thu Nov 16, 2006 10:22 am
Location: Malaysia
Contact:

Post by tajino »

Jure, thanks for the tip.
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Post by jure »

I was just checking this Vray fly-through tutorial and I got another idea about setting up Animation on render farm.
There I read that the guy rendered irradiance map on single computer for only every 5th step because camera was moving slow. Then he used this saved GI file for all other computers but used only "From file" mode.

This could be translated to Kray by calculating every 5th frame with "Both" mode selected on single computer. This will create GI file with enough GI data which can be used on other computers then. You send this GI file to every computer on the network and use "Load" mode. This way network computers will render remaining of the animation very fast because all the GI data is allready stored.

Well that's the theory at least. :)
Let me know if someone tries that...
- Jure
pixym
Posts: 53
Joined: Tue Aug 30, 2005 8:11 pm
Location: In front of a PC

Post by pixym »

Mario wrote:Good question.
Would like some manual how to setup distirbutive rendering
I think REAL Distributing Rendering (as Final Render and Vray do) IS the way to go...
A single master machine that manage all the other ones.
Eddy MARILLAT
PIXYM
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Post by jure »

pixym wrote: I think REAL Distributing Rendering (as Final Render and Vray do) IS the way to go...
A single master machine that manage all the other ones.
Yes that's the plan...
- Jure
Pavlov
Posts: 72
Joined: Sun Aug 21, 2005 2:20 am
Location: Italy

Post by Pavlov »

Silver, probably you meant "no shaders".... procedurals are almost fully compatible with Kray, there aer just some issues to fix in advanced layering modes and mostly when gradients are involved, but for the rest Kray is as LW-compatible as Fprime.

bye
Paolo
Locked