My long term "Ignore Unused Materials" issue

Forums: My long term "Ignore Unused Materials" issue
Sub forum for help and tutorials.

Moderator: aoktar

My long term "Ignore Unused Materials" issue

Postby Delizade » Mon Jul 18, 2022 3:40 pm

Delizade Mon Jul 18, 2022 3:40 pm
Hello,
1) make a group object under a null and create an instance for it
2) assign materials to child objects under that null
3) repeat this a couple of times
4) use takes to get solo renders for every instance objects

If you activate "ignore unused materials" option, Octane totally ignore materials under null objects.
Frame 2.jpg

grp01.png

grp02.png

grp03.png


But if you use materials for null objects, Octane renders only material for null object.
Frame 1.jpg

grp01_v2.png

grp02_v2.png

grp03_v2.png


Octane does not detect materials in the scene, I guess? Is there any way to fix this?

Here is my short story about the issue:
I have 100 takes and 40 materials (8K textures) in my current project. Every take show single instance object and hide other 99. If I render takes, every take rendering process takes so many times to calculate all materials in the project (about 3-4 minutes).
Before, I had to written 2 scripts to disable and enable materials for active takes. That workflow solved rendering process export materials delay problem, but it has another problem; While I'm working on the project whenever I changed the active take, it activates only materials which are used in current take and Octane LV calculates enabled materials every time. So in this way I'm loosing time too. I lost so many times because of this issue, and I decided to test "ignore unused materials" again. I've tested this 1 year ago and since then I've been using my scripts, sadly. Today I realized that although this setting has some weird behaviors, as I mentioned above, it actually works! But not exactly. If Octane can check active visible objects recursively and detect used materials correctly, my whole pain can be gone.

Thank you
ignore_unused_materials_test.zip
Test scenes
(356.49 KiB) Downloaded 54 times
Windows 10 (3090Ti) | MacBook Pro (M3 Max)
Delizade
Licensed Customer
Licensed Customer
 
Posts: 146
Joined: Thu Oct 18, 2018 10:38 pm
Location: Istanbul

Re: My long term "Ignore Unused Materials" issue

Postby Delizade » Wed Aug 10, 2022 8:05 pm

Delizade Wed Aug 10, 2022 8:05 pm
Hello again,
My current project has 390 takes. For every take, render process starts after about 50 seconds.
I hope there is a solution for this issue.
Windows 10 (3090Ti) | MacBook Pro (M3 Max)
Delizade
Licensed Customer
Licensed Customer
 
Posts: 146
Joined: Thu Oct 18, 2018 10:38 pm
Location: Istanbul

Re: My long term "Ignore Unused Materials" issue

Postby aoktar » Thu Aug 11, 2022 8:07 am

aoktar Thu Aug 11, 2022 8:07 am
I'm gonna test your scene. Share if you have more scenes.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15940
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: My long term "Ignore Unused Materials" issue

Postby 3dworks » Thu Aug 11, 2022 10:50 am

3dworks Thu Aug 11, 2022 10:50 am
interesting, i had the same impression that something is not working with this option. looking forward!
Specs: Apple MacBook Pro M1 max 64GB 2TB, MacOS 12.5 / MacPro 5,1 with NVIDIA GeForce GTX 1080 8G, MacOS 10.13.6 / Mac Pro 5,1 with AMD RX5700 8G, MacOS 12.3.1 / HP Z600 with NVIDIA 3060 RTX 12G, Windows 10 pro + Netstor GPU box, 4 x NVIDIA GTX 980ti 6G.
User avatar
3dworks
Licensed Customer
Licensed Customer
 
Posts: 294
Joined: Fri May 21, 2010 5:08 pm
Location: Berlin

Re: My long term "Ignore Unused Materials" issue

Postby aoktar » Thu Aug 11, 2022 4:40 pm

aoktar Thu Aug 11, 2022 4:40 pm
Problem is about how I collect the renderable objects and iterate the used materials. I'm making a change on this. I need some test drive for the fixed builds. PM me if you're interested to put some help on this.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15940
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: My long term "Ignore Unused Materials" issue

Postby Delizade » Thu Aug 11, 2022 11:30 pm

Delizade Thu Aug 11, 2022 11:30 pm
aoktar wrote:Problem is about how I collect the renderable objects and iterate the used materials. I'm making a change on this. I need some test drive for the fixed builds. PM me if you're interested to put some help on this.

This is wonderful news.
Off course.
Windows 10 (3090Ti) | MacBook Pro (M3 Max)
Delizade
Licensed Customer
Licensed Customer
 
Posts: 146
Joined: Thu Oct 18, 2018 10:38 pm
Location: Istanbul

Return to Help / Tutorials


Who is online

Users browsing this forum: No registered users and 4 guests

Fri Mar 29, 2024 10:04 am [ UTC ]