LocalDB saved materials and C4D noise issue.

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

Moderators: ChrisHekman, aoktar

Ibycus
Licensed Customer
Posts: 84
Joined: Wed Jul 08, 2015 9:52 pm

I noticed recently that if I use a C4D noise node in an octane material setup and save that material into the local DB, when I reloaded it from the local DB the noise node will be converted to an image. I'm assuming this has to be done for some reason? The problem with this is if you have a complex setup and you'd want to adjust the noise after reloading it you have to go in and replace every instance of the noise and try to find the same settings you had. I've just been loading my old projects instead and copying the material over from there but it kind of defeats the purpose of saving the material in the data base.

I also noticed that when saving to the data base it will split the gradient node into RGB Spectrum's for each color making a much messier node tree.

Just wanted to mention this and see if it can be improved upon or not. I'm using alpha 3 v6 by the way.
Attachments
Noise shader_image tex.JPG
User avatar
Yambo
Licensed Customer
Posts: 345
Joined: Tue May 12, 2015 1:37 pm
Location: Tel Aviv, Israel

Yeah! i wanted to open a topic about that and didn't get to it.

This problems not happening only with the C4D noise, the localDB is messing out all complex materials. The think with the noise & gradient is new but beside that:

* The localDB duplicates all transform and projection nodes (very annoying issue when working with a lot of textures and want to control them with the same node)
*Create weird setups for gradient like the image above

Anyway really messed up all my materials.
Ahmet hope there is an easy solution for that.

Thanks.
4x 980ti EVGA | 5930k | Asus X99 E WS 3.1 | corsair 64GB RAM |SSD 500GB system + SSD 2TB working files + 6TB HDD storage WD |
Phanteks Enthoo Primo | 1600W EVGA T2 BLACK | It's the fastest 4x980ti build: http://goo.gl/hYp8e0 :)

https://yambo.me
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Ibycus wrote:I noticed recently that if I use a C4D noise node in an octane material setup and save that material into the local DB, when I reloaded it from the local DB the noise node will be converted to an image. I'm assuming this has to be done for some reason? The problem with this is if you have a complex setup and you'd want to adjust the noise after reloading it you have to go in and replace every instance of the noise and try to find the same settings you had. I've just been loading my old projects instead and copying the material over from there but it kind of defeats the purpose of saving the material in the data base.

I also noticed that when saving to the data base it will split the gradient node into RGB Spectrum's for each color making a much messier node tree.
Because it saves the resulting material in Octane side, not C4D material. C4D shaders gone to imagetextures and colors in gradients goes to external RGB nodes. You can check what will be exported from "LV->Help->Show Octane NodeGraph" command while material selected.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Ibycus
Licensed Customer
Posts: 84
Joined: Wed Jul 08, 2015 9:52 pm

I assumed it was something to that effect. Would there be a way in the future to keep material copies in local DB that are exact copies of the C4D setups so they are easily used in future projects and then only have them convert if you wanted to send them to stand alone?

I for one never use standalone so what this means for me is that I'd just stop storing my materials in the local DB and have to create project files that I'd store them in instead.
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Ibycus wrote:I assumed it was something to that effect. Would there be a way in the future to keep material copies in local DB that are exact copies of the C4D setups so they are easily used in future projects and then only have them convert if you wanted to send them to stand alone?

I for one never use standalone so what this means for me is that I'd just stop storing my materials in the local DB and have to create project files that I'd store them in instead.
Content browser is for that to hold c4d setups. But unfortunately i couldn't found any proper way to support mix material system on.
Btw, yes it's due shader to image functionality in plugin. It convert them to image to use. And C4D shaders are not best way to work in plugin. You should be away to use them and try to go with Octane shaders. And wait a while until we bring new texture types with help of OSL system. You'll never use C4D shaders after that.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
Yambo
Licensed Customer
Posts: 345
Joined: Tue May 12, 2015 1:37 pm
Location: Tel Aviv, Israel

And what about multiple Transform & Projection nodes when moving to localDB? Same?
4x 980ti EVGA | 5930k | Asus X99 E WS 3.1 | corsair 64GB RAM |SSD 500GB system + SSD 2TB working files + 6TB HDD storage WD |
Phanteks Enthoo Primo | 1600W EVGA T2 BLACK | It's the fastest 4x980ti build: http://goo.gl/hYp8e0 :)

https://yambo.me
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Yambo wrote:And what about multiple Transform & Projection nodes when moving to localDB? Same?
It's not about moving to LiveDB, about how i create. If you check the window which i said, propably you'll see double nodes. So it just get what i create.
Revisions can be complicated and may requires lot of modifications on codes and i should be carreful to don't cause stability issues for other parts. I'll take a look to check how easy.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
Yambo
Licensed Customer
Posts: 345
Joined: Tue May 12, 2015 1:37 pm
Location: Tel Aviv, Israel

If you aware of it i'm relaxed. I'm sure when opportunity will come you would fix it.
This plugin become greater everyday, Hope you don't find this requests annoying.

Just trying to help push it to perfection.
4x 980ti EVGA | 5930k | Asus X99 E WS 3.1 | corsair 64GB RAM |SSD 500GB system + SSD 2TB working files + 6TB HDD storage WD |
Phanteks Enthoo Primo | 1600W EVGA T2 BLACK | It's the fastest 4x980ti build: http://goo.gl/hYp8e0 :)

https://yambo.me
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Yambo wrote:If you aware of it i'm relaxed. I'm sure when opportunity will come you would fix it.
This plugin become greater everyday, Hope you don't find this requests annoying.

Just trying to help push it to perfection.
Great to see, nothing is annoying. Just I don't wanna to work 7/24 anymore. I wish to go slower while keeping it stable also user friendly.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
Yambo
Licensed Customer
Posts: 345
Joined: Tue May 12, 2015 1:37 pm
Location: Tel Aviv, Israel

Totally got you dude.

:)
4x 980ti EVGA | 5930k | Asus X99 E WS 3.1 | corsair 64GB RAM |SSD 500GB system + SSD 2TB working files + 6TB HDD storage WD |
Phanteks Enthoo Primo | 1600W EVGA T2 BLACK | It's the fastest 4x980ti build: http://goo.gl/hYp8e0 :)

https://yambo.me
Post Reply

Return to “Maxon Cinema 4D”