"Render Instance" of a "Render Instance"

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

Moderators: ChrisHekman, aoktar

Post Reply
mentor972
Licensed Customer
Posts: 22
Joined: Tue Oct 28, 2014 10:48 pm

I tried to see if there was another post about this, but I can't find it. This may technically be the first time this has been asked..

Let's say I have a carton full of boxes that have been textured in a store. When I create a set of instance objects for those boxes and check "render instances" Octane renders just fine.
But say I want to create an instance of that instance and clone the carton of boxes 20 times to fill some shelves. Once I check the "Render Instances" box the new instances disappear. If "render instances" is not checked everything is fine, but it would be nice to optimize my scene in this manor. Or maybe with Octane it doesn't matter. This may be a limitation, but I don't know. I haven't heard anyone else talk about it. Any thoughts?

"Yo dawg, I heard you like instances." :lol:
Image
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

it's from first words of plugin specifications. It's a limitation. You can't embed a render instance to other render instance. You should re-arrange your object structure for this.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
mentor972
Licensed Customer
Posts: 22
Joined: Tue Oct 28, 2014 10:48 pm

I did. I figured a couple things out since then. It appears from some tests that if you do a "render instance" of an object that any subsequent instances of that instance actually do render an instance anyway. Even though the checkbox isn't checked. In other words, only the first instance in the chain needs the box checked. The tri count will still behave as if everything under it in the chain is checked.
User avatar
ralf_breninek
Licensed Customer
Posts: 88
Joined: Fri Mar 22, 2013 8:33 pm
Location: Germany Cologne / Köln
Contact:

Aoktar correct me if I am wrong:
Instanciated instances do render, but will not be as memory efficient as "real" instances. Therefore you have the benefit of Master - Child behaviour (changing the master object also changes the child) but without the positive VRAM and viewport effects. At least thats the way I would explain it in simple words :P
C4D R21.207 / Octane for C4D 2020.2.4 / Watercooled 4 x EVGA Geforce RTX 2080 ti
http://www.pixelasm.com
Interface and motion graphics design for interactive interfaces and animations on TV, web, mobile and automotive from Köln / Cologne Germany
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

ralf_breninek wrote:Aoktar correct me if I am wrong:
Instanciated instances do render, but will not be as memory efficient as "real" instances. Therefore you have the benefit of Master - Child behaviour (changing the master object also changes the child) but without the positive VRAM and viewport effects. At least thats the way I would explain it in simple words :P
Hi! That's wrong! Render instances will consume very little footprint on VRAM and renderer. It behaves exactly same as C4D's render instances. Master-Child relationship is same also
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
ralf_breninek
Licensed Customer
Posts: 88
Joined: Fri Mar 22, 2013 8:33 pm
Location: Germany Cologne / Köln
Contact:

What I meant was that an instance of an instance with turned off "render instance" will behave that way.

A single instance with turned on "render instance" will for sure work as expected and save a lot on memory.
C4D R21.207 / Octane for C4D 2020.2.4 / Watercooled 4 x EVGA Geforce RTX 2080 ti
http://www.pixelasm.com
Interface and motion graphics design for interactive interfaces and animations on TV, web, mobile and automotive from Köln / Cologne Germany
mentor972
Licensed Customer
Posts: 22
Joined: Tue Oct 28, 2014 10:48 pm

From the initial tests I can see, an instance of an instance behaves as if the "render instances" IS checked. The polygon count remans the same. A cube with 12 polys remains 12 polys when I instance a "render instance."
Post Reply

Return to “Maxon Cinema 4D”