Page 1 of 1

Plant with aplha leaves

Posted: Sun Jul 12, 2015 11:43 pm
by Asmithey
I have a small plant that I purchased from XFROG. On my 40 core work station it has a benchmark of 36 and says it will take 5 hours at 12 sl to render this small bush......

Here is a short render only to 5 sl and a screen grab of the model.

Image

Image

Re: Plant with aplha leaves

Posted: Mon Jul 13, 2015 11:49 am
by AlexP
It will always take ages, try to make as small leaves as possible to leave very small transparent area. Sometimes it's better to make geometry leaves, it takes more RAM but will be rendered a lot faster.

Re: Plant with aplha leaves

Posted: Mon Jul 13, 2015 1:31 pm
by numerobis
Image
http://www.maxwellrender.com/forum/view ... 35&t=42222

75% longer render time with 50% transparent nonintersecting geometry and you have maybe 80-90% i think and intersecting geometry.

Render time seems to increase almost linearly with the size of the clipped area with ~15% more render time per 10% clipped geometry.
The subdivision of the textured surface seems to add maybe logarithmically - but less with increased complexity.
(without intersecting faces)

I have optimized some of my trees by subdividing the leaves and removing as much of the transparency as possible.
But it has to be balanced since the subdivision is also increasing the render time.

But 5 hours for sl12 is really huge and i think this must be something different.

Re: Plant with aplha leaves

Posted: Mon Jul 13, 2015 6:26 pm
by Asmithey
Thanks for the info.

99% of all my plants are actual geometry with no alpha masks. I just needed a rosemary plant quick. So I bought this from xfrog. I wonder why they make them like this if they not optimized for some rendering engines.

This is the scene I am working on. I have one tree in here with transparent leaves, no intersecting. The rest trees and plants are a geometry with no alpha maps.

The mountains are geometry, to scale, 31 miles away.

Renders fine on my computer. 3600x2400 9 hours 15 SL.

Image

Re: Plant with aplha leaves

Posted: Mon Jul 13, 2015 8:57 pm
by Mihai
As noted I agree it seems the problem with this particular model is the planes are so big AND heavily intersecting, compared to what will actually be visible in the end. Lots checks Maxwell has to do "for nothing", when a more optimized model would have the leaves cover most of the texture space and only a very small area would become invisible.

Re: Plant with aplha leaves

Posted: Tue Jul 14, 2015 2:31 am
by jfrancis
"Don't use Opacity Maps (or Clip Maps) on hundreds/thousands of instanced leaves. Geometry leaves will be processed much faster than Opacity Maps."

http://blog.maxwellrender.com/tips/maxw ... and-donts/

Re: Plant with aplha leaves

Posted: Tue Jul 14, 2015 5:55 am
by Asmithey
Got it.