[UPDATED .bend]19 Billions of Polygons, not a ridiculous number anymore

EDIT 3: Now the waiting “copying transformation to the device” is pretty much gone! (it initialized a lot faster now)
(it seems there is a bug making particle instances transfer slower when they are scaled, so apply the transformation to the mesh (ctrl+a) workaround the problem )

EDIT 2: Blend File updated and optimized to render TWICE as fast and looks right! :eyebrowlift:
(not taking into account the BVH building time)

The BVH building time is considerable for this file in a single frame render with a powerful GPU, so it is not really good file for BENCHMARK.
But for animation with BVH caching that problem goes away!

EDIT: Blend File at the bottom of the post :wink:

I wanted to test Cycles performing landscapes, so i setup a quick scene with 54K instances of two tree meshes each one aprox 200K and 150K polygons and four texture maps about 512^2pixels, the blender memory indicator displayed about 200MB and the process window showed about 500MB ram so there is a bunch of memory left to put a lot more. Nice! :yes:

http://www.pasteall.org/pic/show.php?id=28926
http://www.pasteall.org/pic/show.php?id=28926

http://www.pasteall.org/pic/show.php?id=28927
http://www.pasteall.org/pic/show.php?id=28927

http://www.pasteall.org/pic/show.php?id=28929
http://www.pasteall.org/pic/show.php?id=28929

And not that bad in time, in my old CPU Phenom-4 cores they took about 40 minutes in Full HD and 100 samples, but at 40 samples they look quite acceptable.

A little glow and fog and color correction in the compositor.

EDIT: Guys thank you very much for the nice responses, i also want to share the credit with you all because if this community of developers and artist wasn’t here, my means to do it would be severe reduced :yes:

Here is the blend file for whatever you need: i uploaded in Blendswap and Dropbox:
UPDATED .blend: (2.62 with BMESH is required otherwise the background is shifted)
http://www.blendswap.com/blends/landscapes/cycles-performing-landscapes/

http://dl.dropbox.com/u/65979653/BlenderComunityShare/Island_Cycles_BMesh_SecondUpdated.rar

I would really want to see tested it in your machines, specially in any GPU, would be nice to see the timing! :eyebrowlift:

EDIT 2: Optimized to render twice as fast, and fixed compo nodes making look it bad!

-Thansk to @michalis to realize that i forgot to delete the mix shaders i didn’t use in the leaves.
So if you are going to render leaves with translucent shader and if they will be seen far away don’t mask them, or mix with any other shader, maintain it simple, and try to set the max transmission setting to 1, the change will not be visually appreciable for this kind of scene and you will get much more speed up!

  • Also i didn’t know muted shader actually will BE EVALUATED in the compositor after the F12 render, if you didn’t realize that, you were getting a very different result from the original screenshot!
    Lesson learned, after you finish something, delete everything that won’t be used in the final release!!
1 Like

Very nice. I get the feeling Ton would get a special kick out of these and the numbers behind them. Remembering what Blender was limited by when it started and all…

Wow they look so nice, like flying over Pandora :wink: Can we see a closeup of a tree? Interested to see where the polys go.

Woooooooooooow like from Vue can you shoe some screenshots from blender or blend file?

How could you describe viewport navigation performance?

Challenging, perhaps? :slight_smile:

That looks great :open_mouth:

whoo this is looking fantastic!

Wow, those are really nice.

Sweet, made my day. It really seems a Vue screenshot.

Very well done!!!
The rocky hill works great too.

That’s what I thought as well! Seriously, this is stunning!

Looks really nice, and I certainly would have expected more render time.
If the trees hold up at close range, you could make a simple camera fly-in and let it cook at renderfarm.fi.
Oh, they’re even asking for heavy cycles scenes! http://www.renderfarm.fi/blog/prodigalson/first-cycles-render-ever-renderfarmfi

What method did you use to distribute the instances?
My only quick nitpick would be that trees on the skyline clearly point straight from the ground.

You just dislocated my jaw.

That can’t be right; 500MB of RAM used for 19billion polys? Even when I link objects I can get a good 20mil+ or so before I max out my available RAM - 2.3GB - or crash Blender.

How exactly is the scene setup?

Very good render though. I had a very similar idea for the Nature Academy contest. :slight_smile:

Stunning! :slight_smile:

Mindblowing. That’s really impressive, buddy.

Wow, cool!

That’s because the renderer does not deal with 19billion polygons. In fact it does only deal with 350k polys. Instancing means that the renderer needs to load the geometry only once into memory and then just checks 54 times for intersection each time with a different transformation applied.

Btw @ Agus3D: your images really look awesome :slight_smile:

wow, truly amazing result!
did you paint the maps for the distribution around the mountains from hand?

one little criticism: i can spot a some trees growing sideways on the mountain, shouldn’t they still grow “up”, even on a slope? :slight_smile: