Page 1 of 1

Kray 1.7 OB6.1 buffers output

Posted: Thu Jan 10, 2008 4:36 pm
by sat
Sorry if this has been asked before, but what buffers (alpha, diffuse, whatever) are supported in the latest release and how do I know their commands? Alpha is "needbuffers 3" if I am not wrong. But are there others?
Again, thanks in advance.

Posted: Thu Jan 10, 2008 5:18 pm
by acidarrow
needbuffers -1; exports all buffers available afaik

Posted: Fri Jan 11, 2008 11:10 am
by sat
Hey thanks AcidArrow.
I hope there will be a good and up-to-date manual soon. :wink:

Posted: Fri Jan 11, 2008 11:59 am
by acidarrow
The most useful commands (such as the buffer export) will be included in the GUI, at least that's the plan.

Posted: Wed Jan 30, 2008 2:39 am
by _mats_
hmm it works, but any idea why the transparency is not taken into account?

is there a header for that?

Matt -

Posted: Wed Jan 30, 2008 7:06 am
by silverlw
Since im no expert in postprocessing/afterFX/razor or whatever, Is that what we want or will transparency in alpha cause problems in some situations? Do we need to have them both,ability to render out alphas with and without trasnparency taken into account? Im interested to hear what the needs are and why.

Posted: Wed Jan 30, 2008 7:55 am
by _mats_
Hmm thanks Silver -

I meant the reflection seems to be lost on the main windopane, (it seems to be reflecting the palm tree but not the environment)

I faked it by placing a solid layer in AFX though, looks like the transparency is OK up to 2 or 4 recursions, but if there is more glass behind it is does not compute (I need to test this, not 100% this is correct)

Also, (lastly) is it possible to have the alpha channel already included in the file itself? ( I think it gives a cleaner alpha than a separate file (or Im not sure how to do this correctly in PS)

Thanks a million !

Matt -

Posted: Wed Jan 30, 2008 10:27 am
by phile_forum
Silverlw wrote:Do we need to have them both,ability to render out alphas with and without trasnparency taken into account? Im interested to hear what the needs are and why.
Yes, yes, yes. Definitely need both.

You can't use Kray to render up, say, a tree and use it in other renders as a flat plane with the alpha map as a clip because the alpha doesn't show the leaves correctly (see my recent post in the bugs section). Also, if transparency is accounted for, it makes life sooo much easier if you want to drop a background in behind the scene in post - for instance when you're inside a room with glass in the windows, or if there is any other transparent object through which the backdrop would be visible.

Also, having both means you can combine them in situations where it's needed. Right now, we don't have that capability.

Am I sounding worked up enough about this? :)

Phil

Posted: Thu May 22, 2008 7:40 am
by geo_n
Will the new release combine the alpha in the TGA file like most appz?

Posted: Thu May 22, 2008 10:07 am
by jure
This was not in the plan. But you can output PNG with alpha already - use http://www.kraytracing.com/wiki/index.p ... at_pnga.3B

Posted: Thu May 22, 2008 4:01 pm
by geo_n
Thanks. I tried needbuffers -1; . Is there a way to output it in single file tga or png? Or its really output to two separate files by kray?
When I use outputformat pnga; the file doesn't contain alpha.

Posted: Thu May 22, 2008 9:07 pm
by jure
Please take a look at Kray Wiki for an answer to your question:
http://www.kraytracing.com/wiki/index.p ... eedbuffers

Posted: Sun May 25, 2008 3:29 am
by geo_n
This code doesn't work for me outputformat pnga;
Only rgb output is in png. No alpha layer.

Posted: Sun May 25, 2008 9:10 am
by jure
Yea seems to be a bug.

Posted: Sun May 25, 2008 4:47 pm
by geo_n
jure wrote:Yea seems to be a bug.
Ok thanks. so its just not me. :lol: