Constant longer Scene Preparation because of Hair and Cloth

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Hi All,

I have a scene of 1100 frames. Most of all native polys, some simple Mographs elements (for spreading trees on some landscape objects), nothing special.
Also, there is one Cloth object and one Hair object - also, really simple.
Now: If I scroll through the frames within my viewport, everything’s fine so far (ok, have some crashes of Cinema, but this is another story).
If I send my file to the render queue, the scene needs around 20-25 sec. for preparation, when it starts rendering at frame 0.
If I, for example, want to check my scene at frame 350 in the render queue, the preparation takes 3 min. !!! And even more, the higher the frame number.

After Checking the whole scene, it seems, that Hair and Cloth are making some trouble here (maybe some pre-calculations that irritates Octane...).
I deactivated both - Hair and Cloth and voila: scene preparation takes 20-25 sec. again.

Did I miss something or can anybody confirm a similar circumstance ?

I'm using C4D (16.050), the latest stable build of Octane, CUDA Driver Version: 7.5.30, nVidia Web Driver: 346.03.10f01 on a Mac with 10.11.5

Greetings

Serge
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Triangle and hair counts can be different on picture viewer against Live viewer. LV uses the viewport data but PV is addicted to final data. It's same as editor vs. render.
Check your last frames with single frame renderings.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Hi aoktar,

thanks for the respond.

I tested it with both: Hair and Cloth, only Hair and only Cloth. And in all test, the preparation time expands with a higher frame number.
Is that "normal" for Octane...? That it takes so long ?
So, I switched hair and Cloth on again and checked the last frame (1100). It took about 7:10 min only for preparation... - this can't be normal.

At this moment, I spilt the whole scene into 4 parts, so that I prepares faster (or normal) again.
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

It's not normal if you have similar content on every frames. Do you have mblur? Maybe better to send me your scene?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Hi aoktar,

sorry for the delay :shock:
I will provide a scene today in the afternoon.
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Hi aoktar,

here's the file:
Hair+Cloth Octane aoktar.c4d.zip
(2.18 MiB) Downloaded 209 times
So, I reduced the scene to the minimum. Only Hair and Cloth is relevant here.
Because of this light weight scene, the preparation time is at frame 0 only about 3 sec.
But at frame 1100 still about 45 sec.

If I disable both - Hair and Cloth - its 3 sec. again...

Any ideas ?

Thanks in advanced :)
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Why don't use Octane hair primitives here? You are converting them to polygons. Also make sure that you have cached all dynamic effects before rendering. Otherwise it will run a simulation until the current frame. As 1100 frames for rendering at frame=1100.
And last note, don't activate "hair render" in video post if you're using Octane hair primitives. Plugin can extract data without that and it can cause slower start.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Thank you !
Makes sense.
I'LL give it a try :)
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Hi Ahmet,

I tried the things you suggested to me.
BUT: my Hair-Object doesn't has Dynamics activated, as you can see in the file. So, I'm not able to cache the Hair...
Scene preparation is still taking its extra time...

Any further tipps ?
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
User avatar
serge-m
Licensed Customer
Posts: 34
Joined: Wed Jun 02, 2010 10:09 pm

Does anyone else experiences this problem ?
Actually ?
Mac Pro (5,1 | 2010 | 12 Core | 48GB Ram) • Nvidia GTX 980 + 1080 • Cinema R19 Studio
Post Reply

Return to “Maxon Cinema 4D”