question

John Barclay avatar image
John Barclay asked ·

Instance Optimisation

Hi,

I was wondering if there was any way to speed up time to first pixel when rendering a large instance object set.

In this particular example I have 1 million points and about 16 attribs per point. The point cloud is about 114MB on disk and I'm instancing 1 object.

It takes about 2 mins to get to first pixel. If I save out the instance setup to ass it gives me a file of about 1.3GB and saves about 10 seconds for the time to first pixel.

I guess the ass file just has all the instance info baked in seeing as it's huge and investigating the text itself.

Anyway, I wonder if there is something I'm missing to get the time down further?

Cheers

J

houdinihtoainstances
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

1 Answer

· Write an Answer
Stephen Blair avatar image
Stephen Blair answered ·

Most of that time to first pixel is reading the instance nodes from the ass file and initializing those nodes. If you look in an Arnold log (verbosity level Detailed) you should see something like this:

00:26:16 13474MB         | ---------------------------------------------------------------
00:26:16 13474MB         | frame time                  26:16.20    machine utilization (50.09%)
00:26:16 13474MB         |  node init                  26:07.10
00:26:16 13474MB         |   ass parsing (procs)        0:37.34

That was for instances of one object.

I don't think HtoA uses the new Arnold instancer node yet. Eventually it will. That will give some speedup, but millions of nodes will still take some time to initialize.

I'm not sure there's much you can, unless you can reduce the number of nodes somehow eg fewer instances of a bigger point cloud???

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.