Help on getting trees rendered quicker?

Post your tutorials and help questions in this forum
Locked
Jahun
Posts: 40
Joined: Thu Nov 15, 2007 7:55 pm

Help on getting trees rendered quicker?

Post by Jahun »

So I got a couple of trees here in a arch viz scene, (trees made by Pawel's excellent plugin). But as stated on these forums before, they don't quite render quickly in Kray.. It seems that alot of rays are fired into the leaves..

I am trying to use the new surface shader panel to get those specific surfaces to render faster but it isn't really getting superfast yet..
Any pointers or general things to try?

I am trying to see if I can do them seperately.. but that adds to the complexity ofcourse...

(I did find that using transparancy map as clipping tool for leaves it alot slower than clip map)
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

Yes since transparency will be evaluated as transparency with eventual refraction/reflection/Finalgather rays etc. I havent tried trees myself yet but will tell you what i find out when i do.
Jahun
Posts: 40
Joined: Thu Nov 15, 2007 7:55 pm

Post by Jahun »

Thanks for that swift reply Silverw, maybe you can help me with trying to render it in different passes?

So whatever option I take in Kray (surfaces panel etc), the image takes me about 10 minutes, whereas it was around 3 minutes without the trees. So I am trying:

1)
Render the scene in Kray with the trees set to:
Unseen to camera

2)
Render the scene in Fprime/LW with all objects except trees set to black matte objects, trees white ofcourse (very quick pass)

3)
Render the scene in Frpime with all objects except trees (could be grass etc too) set to unseen to camera (relatively quick)

The issue is in step 1.. Kray does go pretty fast there and it does render the shadows of the trees correctly. But when it goes into AA pass, it detects the edges of the "Unseen to camera" trees, and spends alot of time on them.. Ofcourse there is nothing there in the image that needs AA'ing, at least I think so...

Any way to get rid of that? It would help a big deal again..


If anyone knows a way to get less rays fired into the tree and do it all in Kray is great to ofcourse.. I hate to do 3 passes and paste them onto eachother.. leaves opportunities for mistakes ofcourse...
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

I still havent started a tree project but you should be able to render trees very fast by using Kray's new shader on the treesurfaces and force it to example:Photonfiltered or Photonfiltered+direct or lowering FG rays.
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

My quick and dirty test with 730 instanced trees

Post by silverlw »

Cached lightmapradiosity and adaptive grid3 AA. I turned on Photonmapfiltered only for the trees and they renders really quickly. If i can do 730 trees under 2 minutes per frame anything is possible.
Attachments
Trees00002.png
Trees00002.png (513.94 KiB) Viewed 4999 times
NiGMa
Posts: 129
Joined: Thu Sep 14, 2006 2:38 am
Location: Australia

Post by NiGMa »

yes, I know a quick way to do fast renders with trees. every job of mine needs plants trees so I have found quick settings with kray.

TURN OFF CACHE IRRADIANCE

set min FG to 50-150, max FG to 0

AA settings: quasi random
0.0001 15 30
rest all zero except thickness=1

should be 2hrs for a 3600x2600 image on a quad core
silverlw
Posts: 453
Joined: Thu Jun 02, 2005 7:05 pm
Location: Sweden
Contact:

Post by silverlw »

Remember that you can turn off Irradiancecache just for the trees if that suits you. The new shadertool offers lot's of flexibility.
Jahun
Posts: 40
Joined: Thu Nov 15, 2007 7:55 pm

Post by Jahun »

Hmm thanks guys, I'll try these things later today and hope they work..
Thanks for the input yet again!
Locked