Instance Colorizer
- wlf_alex
- Posts: 99
- Joined: Tue Aug 28, 2012 9:26 pm
- Location: Russia-Moscow, Spain-Alicante
- Contact:
Instance Colorizer
Is it possible to get a similar effect in Cindigo?
Indigo does not understand the random effeсtor. Maybe there are any plugins for coloring instances or baking textures for them?
regards..
Indigo does not understand the random effeсtor. Maybe there are any plugins for coloring instances or baking textures for them?
regards..
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D
Re: Instance Colorizer
can be supported by this plug-in? who knows?
http://cinemaplugins.com/c4d-plugins/to ... ure-remap/
http://cinemaplugins.com/c4d-plugins/to ... ure-remap/
Re: Instance Colorizer
Is easy enough if you want to write some ISL
Re: Instance Colorizer
super! my favorite ISL code.
Re: Instance Colorizer
Thats not the answer the Russians like to hear Ono ^^OnoSendai wrote:Is easy enough if you want to write some ISL
The idea behind that request is also to use the C4D internal features you are comfortable with...
Cindigo don't work with MoGraph based Material Shaders, it tries to bake them, same as every other C4D shader.
BUT:
Cindigo does support putting different materials on a Instanced Objects!
To do so the master object needs to have no material at all, but selections are supported. Then simply put a material on that instance and it get used
polygonmanufaktur.de
- wlf_alex
- Posts: 99
- Joined: Tue Aug 28, 2012 9:26 pm
- Location: Russia-Moscow, Spain-Alicante
- Contact:
Re: Instance Colorizer
Ono, kill me, but softly !
But Indigo understands instances! It seems to me that the solution to this problem is within easy reach!
But Indigo understands instances! It seems to me that the solution to this problem is within easy reach!
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D
Re: Instance Colorizer
You will need to set an albedo shader like this:
Code: Select all
def eval(vec3 pos) vec3 :
let
r = real(objectId())
base_col = vec3(0.6, 0.4, 0.4)
random_scale = 0.1
in
base_col + vec3(
fract(r * 45.345),
fract(r * 4.57),
fract(r * 908.3)
) * random_scale
- wlf_alex
- Posts: 99
- Joined: Tue Aug 28, 2012 9:26 pm
- Location: Russia-Moscow, Spain-Alicante
- Contact:
Re: Instance Colorizer
Thank you, Ono! I will try this code. And tell you what happens later.
I solved the problem with the bake object C4D. I completely forgot about this opportunity.
But this solution is only part of the problem. This method is suitable only for geometric shapes as takes away a lot of time and resources. For instance, we just need to paint trees, grass, rocks, etc into the Cindigo. And to solve these problems, we only need colorizer instances.
regards...
I solved the problem with the bake object C4D. I completely forgot about this opportunity.
But this solution is only part of the problem. This method is suitable only for geometric shapes as takes away a lot of time and resources. For instance, we just need to paint trees, grass, rocks, etc into the Cindigo. And to solve these problems, we only need colorizer instances.
regards...
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D
Re: Instance Colorizer
The Problem here isn't Indigo, but to translate individual C4D shader to Indigo language!wlf_alex wrote:But Indigo understands instances! It seems to me that the solution to this problem is within easy reach!
Since the C4D SDK is available and Indigo Scene File system open too, everybody can start to code a "translation" plugin, that can be adapted by cindigo at some point...
polygonmanufaktur.de
Re: Instance Colorizer
I'm available for developping commercial shaders if one need themwlf_alex wrote:Is it possible to get a similar effect in Cindigo?
regards..
Check this : http://www.indigorenderer.com/forum/vie ... 678#p92678
It's a pure ISL material I made some times ago. The only geometry exported was a plane, the ISL shaders did everything else.
Etienne
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Who is online
Users browsing this forum: No registered users and 28 guests