Custom Indigo Material

Announcements, requests and support regarding the Cinema 4D exporter
User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Custom Indigo Material

Post by pixie » Mon Aug 10, 2009 6:03 am

Phoenix wrote:
pixie wrote:Or layers... ;)
For C4D itself I also prefer the layers shader over the fusion shader but i think the way the fusion shader works is much closer to the operation method of the Indigo blend material.:
Perhaps, but imagine... choose the number of materials, add them up and chose their relative strength then fire at will, you're no longer confinated to a cascade blend (obviously it would still be exported as such, but gui wise it would be much simpler).

Furthermore, picking the idea that indigo material could be either material or shader you could then have a layer system made of several shaders without adding up to the pile of materials already existent.
Last edited by pixie on Mon Aug 10, 2009 6:06 am, edited 1 time in total.

User avatar
Phoenix
Indigo 100
Posts: 158
Joined: Tue Jul 04, 2006 2:15 am
Contact:

Re: Custom Indigo Material

Post by Phoenix » Mon Aug 10, 2009 6:05 am

fused wrote:
zeitmeister wrote:Awesome!
A blend material channel would make sense... but only, if you can place Indigo custom materials here, too, for sure. Not only textures.
The first blend slot here could/should be occupied with the actual material itself.
GUI-design here could be very close to the fusion shader... everybody knows it and it seems to me the best thinkable and ergonomic solution.
Think about it!
Of course you can use indigo materials there. You will also be able to use c4d materials, which will then be converted on the fly. theoretically you could also use other custom materials there, eg vray materials, but im not going to write conversions for other than c4d materials, they will end up grey.

it will roughly look like this:

link field for material
blend factor (will be disabled if shader is set)
blend shader/texture
step blend checkbox (only when shader is set)

And i also think it is the best solution (short term, that is). The "multi blend material" pure mentioned (which was requested by Pilbuz for sketchup quite a while ago) is also nice and will definitely come at some point (as i already told him a cuple of times :) ).
zeitmeister wrote:All in all this sounds really good, plus, regarding the commercialisation of Indigo, like a very professional integration.
Thats where i want to go: professional integration :)
I'm sure you'll find the best way doing it. 8)
An own indigo blend material (and/or shader) is also very fine, if it's the better solution and establish prospects not possible with my fusion shader idea. :wink:

An ulteriar motive behind utilising the fusion shader had also been the idea, that it perhaps could be possible to create materials that would work as well with C4Ds renderengines itself as with indigo. :mrgreen:

User avatar
Phoenix
Indigo 100
Posts: 158
Joined: Tue Jul 04, 2006 2:15 am
Contact:

Re: Custom Indigo Material

Post by Phoenix » Mon Aug 10, 2009 6:12 am

pixie wrote:
Phoenix wrote:
pixie wrote:Or layers... ;)
For C4D itself I also prefer the layers shader over the fusion shader but i think the way the fusion shader works is much closer to the operation method of the Indigo blend material.:
Perhaps, but imagine... choose the number of materials, add them up and chose their relative strength then fire at will, you're no longer confinated to a cascade blend (obviously it would still be exported as such, but gui wise it would be much simpler)
Yes, if it's practicable and/or even possible for fused to convert a complex composition of layers into a meaningful blend materials hierarchy. I'm not so sure about it.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Mon Aug 10, 2009 6:18 am

Yes, if it's practicable and/or even possible for fused to convert a complex composition of layers into a meaningful blend materials hierarchy. I'm not so sure about it.
it is, Pilbuz requested it and i posted how to do it. will do, but maybe not in the initial release...
(like it's with C4Ds own Lumas Shader, which exists as a material and as a channel shader for using it in other materials also) that shouldn't be a problem, should it?
its quite a problem i think. it would mean duplicate resource files and code, since its not possible to use the same resources in multiple materials. im currently at 2100 lines of code for the new material and theres a lot of stuff missing (ok, maybe 1/4 - 1/3 of it could be reused) and thats without string files(which could not be reused)!

User avatar
Phoenix
Indigo 100
Posts: 158
Joined: Tue Jul 04, 2006 2:15 am
Contact:

Re: Custom Indigo Material

Post by Phoenix » Mon Aug 10, 2009 8:19 am

fused wrote:
Yes, if it's practicable and/or even possible for fused to convert a complex composition of layers into a meaningful blend materials hierarchy. I'm not so sure about it.
it is, Pilbuz requested it and i posted how to do it. will do, but maybe not in the initial release...
Oh it is? That are great news! I'm looking forward to it. ;-)
fused wrote:
(like it's with C4Ds own Lumas Shader, which exists as a material and as a channel shader for using it in other materials also) that shouldn't be a problem, should it?
its quite a problem i think. it would mean duplicate resource files and code, since its not possible to use the same resources in multiple materials. im currently at 2100 lines of code for the new material and theres a lot of stuff missing (ok, maybe 1/4 - 1/3 of it could be reused) and thats without string files(which could not be reused)!
It was just an idea. I'm not a very experienced programmer so it simply was from my users point of view. Of course, you have to decide what's practicable and what's not.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Mon Aug 10, 2009 8:23 am

material setting are nearly done, just a few spectra for emission, absorption and scattering missing.

ill fix up the import after that. ah, maybe not today :)

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Tue Aug 11, 2009 1:52 am

hey fellows,

i've been working on the vieport preview texture and internal render representation. here are two random shots.

a qube and a camera mapped landscape in the editor
Bild 2.png
Bild 2.png (342.16 KiB) Viewed 2810 times
a custom indgo mateial in the internal renderer. not perfect, the material does not really interact with the lights (shading is dependent on face normal and eye vector), but it can do shadows :)
Bild 1.png
Bild 1.png (723.44 KiB) Viewed 2810 times
as i said: its just a rough preview. but i think a lot better than just plain white ;)

im getting closer 8)

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Tue Aug 11, 2009 2:25 am

and just so for the record: camera mapping on custom materials rendered with indigo ;)
Attachments
untitled.jpg
untitled.jpg (160.25 KiB) Viewed 2795 times

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Tue Aug 11, 2009 8:25 pm

more awesomeness ^^

abc texture parameters are taken into consideration for the internal renderin, not yet for the editor but that will be supported in the end, too:

Image

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: Custom Indigo Material

Post by zeitmeister » Tue Aug 11, 2009 8:37 pm

:shock: :shock: :shock:
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Custom Indigo Material

Post by pixie » Tue Aug 11, 2009 8:47 pm

fused wrote:more awesomeness ^^
Fused, master of awesomeness :D

PS- will it be possible to render those on Cinema own engine?

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: Custom Indigo Material

Post by zeitmeister » Tue Aug 11, 2009 8:52 pm

fused pomised. :mrgreen: :mrgreen: :mrgreen:
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Tue Aug 11, 2009 9:01 pm

pixie wrote:PS- will it be possible to render those on Cinema own engine?
errr... thats what i did in the above posts.... sooooo... yes?
to some degree at least :)

no bump, no displacement, no reflection, no refraction, no glossyness. just color and transparency for specular and glossy transparen material.

and shadows :)

User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Custom Indigo Material

Post by pixie » Tue Aug 11, 2009 9:16 pm

fused wrote:
pixie wrote:PS- will it be possible to render those on Cinema own engine?
errr... thats what i did in the above posts.... sooooo... yes?
to some degree at least :)
:oops:
fused wrote:no bump, no displacement, no reflection, no refraction, no glossyness. just color and transparency for specular and glossy transparen material.

and shadows :)

Yeah!! :twisted:

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Custom Indigo Material

Post by fused » Tue Aug 11, 2009 9:22 pm

oh and i might do reflection and refraction, found a nice resource ^^

Post Reply
113 posts

Who is online

Users browsing this forum: No registered users and 13 guests