Weird Material dependancy

Forums: Weird Material dependancy
Sub forum for bug reports

Moderator: aoktar

Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
H. A detailed description of the issue and steps to reproduce it (Include Screenshots or video capture), as well as an example scene if applicable.
I. Copies of the Octane Log window and Console window outputs (full text attached as a file to your post is recommended).


Please note that reports of issues inside existing threads will be ignored/removed, and reports may be closed if the reporter does not respond to subsequent queries in the thread.

Weird Material dependancy

Postby hausgross » Wed Mar 20, 2019 9:32 am

hausgross Wed Mar 20, 2019 9:32 am
Hey,

I've got a strange behavior regarding a blendmaterial and standard materials. The blendmaterial should not depend on the other materials in the the scene but it does. If I delete one of the materials the node tree in the blend material is affected and the blendmaterial changes.

A. Operating System: Windows 10 Version 1803 Build 17134.648
B. Graphics Card(s) model: 2x GTX 1080 Ti
C. RAM Capacity: 64GB
D. Nvidia driver Version: 397.64
E. OctaneRender Standalone version, if installed: -
F. OctaneRender plugin Version: 4.01.1
G. Host application Version: C4D R20.030 Studio

H. ow I got there:

I used a car paint shader from the library as a base. Then I realized using a blendmaterial instead of a mix material works way better for me, because I have to put some logos on the carpaint and material stacking would make my life much easier.

So I created a new blendmaterial, und copied parts from the basematerials of the mix material into the node editor and created this strange dependancy. Example is attached.



I. Copies of the Octane Log window and Console window Outputs: No information
Attachments
Material Issue.zip
(61.5 KiB) Downloaded 166 times
hausgross
Licensed Customer
Licensed Customer
 
Posts: 32
Joined: Wed Feb 08, 2017 8:27 am

Re: Weird Material dependancy

Postby aoktar » Wed Mar 20, 2019 9:54 am

aoktar Wed Mar 20, 2019 9:54 am
Thanks! I'm looking into but you're having some nodes in BLEND material. They are owned by different materials. See IMAGE. So they will be lost if you delete OTHER materials. How could you CREATE these nodes and ADD to BLEND material?
Attachments
a1.jpg
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: 15965
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Weird Material dependancy

Postby hausgross » Wed Mar 20, 2019 10:08 am

hausgross Wed Mar 20, 2019 10:08 am
I was too lazy to rebuild the nodes so I copied them and pasted them into the blendmaterial, if I remember correctly. Or I dropped the materials into the blend and only kept the nodes I needed.

I remember there was something strange about copying and pasting nodes, sometimes it worked and sometimes it didn't. It probably shouldn't have worked :D
hausgross
Licensed Customer
Licensed Customer
 
Posts: 32
Joined: Wed Feb 08, 2017 8:27 am

Re: Weird Material dependancy

Postby aoktar » Wed Mar 20, 2019 10:17 am

aoktar Wed Mar 20, 2019 10:17 am
hausgross wrote:I was too lazy to rebuild the nodes so I copied them and pasted them into the blendmaterial, if I remember correctly. Or I dropped the materials into the blend and only kept the nodes I needed.

I remember there was something strange about copying and pasting nodes, sometimes it worked and sometimes it didn't. It probably shouldn't have worked :D

You should not do that. We have MIX to BLEND convert command. Just select mix material and use CONVERT MATERIALS command. It will create a BLEND material from MIX system.
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: 15965
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Weird Material dependancy

Postby hausgross » Wed Mar 20, 2019 10:32 am

hausgross Wed Mar 20, 2019 10:32 am
Right, I remember there was an issue and the material looked wrong after the conversion / after removing the mix material. That's how I ended up with this setup, but didn't realize there were still parts of the mix material left.

I just tested the conversion of the car paint material again and thats probably how the nodes ended up in the blend material. First it looks right, but if you delete the mix material the blend material will look wrong, like in my example file. You can try it yourself if you convert the mix and delete it afterwards.
Attachments
Blendmaterial_Conversion.zip
(106.16 KiB) Downloaded 151 times
hausgross
Licensed Customer
Licensed Customer
 
Posts: 32
Joined: Wed Feb 08, 2017 8:27 am

Re: Weird Material dependancy

Postby aoktar » Thu Mar 21, 2019 9:54 am

aoktar Thu Mar 21, 2019 9:54 am
I'm checking the convert command. I'll try to improve as I could do in a short time. Having different tasks to work on.
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: 15965
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Weird Material dependancy

Postby hausgross » Thu Mar 21, 2019 2:02 pm

hausgross Thu Mar 21, 2019 2:02 pm
Thank you!
hausgross
Licensed Customer
Licensed Customer
 
Posts: 32
Joined: Wed Feb 08, 2017 8:27 am

Re: Weird Material dependancy

Postby aoktar » Sun Mar 24, 2019 6:29 pm

aoktar Sun Mar 24, 2019 6:29 pm
fixed build here is
viewtopic.php?f=85&t=71065
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: 15965
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 6 guests

Tue Apr 23, 2024 11:51 pm [ UTC ]
cron