Kray 1.7 OB6.1 buffers output

General disscusion about Kray
Locked
sat
Posts: 69
Joined: Wed Jan 02, 2008 3:19 pm
Location: Germany

Kray 1.7 OB6.1 buffers output

Post 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.
User avatar
acidarrow
Posts: 140
Joined: Wed Jan 31, 2007 7:42 pm
Contact:

Post by acidarrow »

needbuffers -1; exports all buffers available afaik
sat
Posts: 69
Joined: Wed Jan 02, 2008 3:19 pm
Location: Germany

Post by sat »

Hey thanks AcidArrow.
I hope there will be a good and up-to-date manual soon. :wink:
User avatar
acidarrow
Posts: 140
Joined: Wed Jan 31, 2007 7:42 pm
Contact:

Post by acidarrow »

The most useful commands (such as the buffer export) will be included in the GUI, at least that's the plan.
_mats_
Posts: 247
Joined: Sun Nov 19, 2006 11:53 pm
Location: Seattle, wa

Post by _mats_ »

hmm it works, but any idea why the transparency is not taken into account?

is there a header for that?

Matt -
Attachments
screenshot10.jpeg
screenshot10.jpeg (219.97 KiB) Viewed 10506 times
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post 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.
_mats_
Posts: 247
Joined: Sun Nov 19, 2006 11:53 pm
Location: Seattle, wa

Post 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 -
Attachments
screenshot13.jpeg
screenshot13.jpeg (175.27 KiB) Viewed 10487 times
User avatar
phile_forum
Posts: 177
Joined: Wed Aug 16, 2006 11:12 pm
Location: UK
Contact:

Post 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
Planet Indifferent - CGI by Phil Emery
http://www.planetindifferent.co.uk
geo_n
Posts: 363
Joined: Tue May 20, 2008 3:01 pm
Location: jpn

Post by geo_n »

Will the new release combine the alpha in the TGA file like most appz?
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Post 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
- Jure
geo_n
Posts: 363
Joined: Tue May 20, 2008 3:01 pm
Location: jpn

Post 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.
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Post by jure »

Please take a look at Kray Wiki for an answer to your question:
http://www.kraytracing.com/wiki/index.p ... eedbuffers
- Jure
geo_n
Posts: 363
Joined: Tue May 20, 2008 3:01 pm
Location: jpn

Post by geo_n »

This code doesn't work for me outputformat pnga;
Only rgb output is in png. No alpha layer.
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Post by jure »

Yea seems to be a bug.
- Jure
geo_n
Posts: 363
Joined: Tue May 20, 2008 3:01 pm
Location: jpn

Post by geo_n »

jure wrote:Yea seems to be a bug.
Ok thanks. so its just not me. :lol:
Locked