Forums » CentiLeo for Cinema 4D
Pages: 1
What is CID tag for centileo? It does not seem to attach to objects.
 
I right click an object in the object manager and centileo tag does not attach to the object. It shows me the tag options menu but no tag is created.

And how do I use the vertex map node in the node space?
Does it reference objects with the CID tag?
I am trying to use fields to influence vertex map on an object to change colour/displacement/etc.
 
Administrator  Posts: 895
Apr 3, 2022 21:51
CID is an invisible tag that stores the unique ID of the scene object to leverage it in interactive rendering together with motion blur and optimize some dynamic object changes during edit.
This tag is automatically created for each object if you use CentiLeo. If you uninstall the plugin you will see these tags for all scene objects. And it's also visible in the list of options of tags - but this is a design of Cinema itself, not possible to remove it from that list.

This link shows how to use the vertex color tag: https://centileo.com/news/145/centileo-for-cinema4d-0610/ (see the bottom most picture)
While the vertex map tag can be used in a similar way. It's just a drawing on the surface of the object which stores the values in the vertex map tag. And the shader node for vertex map just gives you access to these values. You can reference up to 10 tags (and more in the new versions) that can be attached per object where tag id = 0 in the node reference the most left vertex map tag and so on.

Sometimes other plugins like Realflow use vertex maps to generate velocity values of deforming object. And these vertex map tags can be used by CentiLeo object tag to use deformation motion blur as described in this short example https://centileo.com/news/150/centileo-for-cinema-0615/
CentiLeo Chat: https://t.me/centileochat
 
Quote
Kirgman wrote:
CID is an invisible tag that stores the unique ID of the scene object to leverage it in interactive rendering together with motion blur and optimize some dynamic object changes during edit.
This tag is automatically created for each object if you use CentiLeo. If you uninstall the plugin you will see these tags for all scene objects. And it's also visible in the list of options of tags - but this is a design of Cinema itself, not possible to remove it fr om that list.

This link shows how to use the vertex color tag: https://centileo.com/news/145/centileo-for-cinema4d-0610/ (see the bottom most picture)
While the vertex map tag can be used in a similar way. It's just a drawing on the surface of the object which stores the values in the vertex map tag. And the shader node for vertex map just gives you access to these values. You can reference up to 10 tags (and more in the new versions) that can be attached per object wh ere tag id = 0 in the node reference the most left vertex map tag and so on.

Sometimes other plugins like Realflow use vertex maps to generate velocity values of deforming object. And these vertex map tags can be used by CentiLeo object tag to use deformation motion blur as described in this short example https://centileo.com/news/150/centileo-for-cinema-0615/
I just don't understand how the mograph info node or the vertex map nodes are referencing anything to do with vertex maps in the scene or colours. The node outputs don't have any real information other than the names. I cannot understand how to use these nodes to control anything.
 
Administrator  Posts: 895
Apr 4, 2022 07:28
Vertex map has various usage. E.g. Realflow generates them for deformation motion blur as I described before.
You can also draw a vertex map for your object. And a tag will appear in the list of object tags.
You may draw several vertex maps and they will generate Vertex Map tag 0, Vertex Map tag 1, ... Vertex Map tag N, from left to right in the tag list of the object.

If you want to get vertex map values for your shaders you should just use the vertex map node and connect it to the field you like, for example to determine reflection color properties or material amount in the mix material. In the vertex map node you only choose the vertex map tag ID.

Same story with vertex color tag!

As for mograph tag then it's automatically created for Mograph objects, e.g. for Cloner with multi-instancing, for mograph matrix, etc. You only need to know how to manage the mograph to generate UVW and Color data inside this mograph tag. In CentiLeo this mograph info can be accessed using mograph info node.
CentiLeo Chat: https://t.me/centileochat
 
Quote
Kirgman wrote:
Vertex map has various usage. E.g. Realflow generates them for deformation motion blur as I described before.
You can also draw a vertex map for your object. And a tag will appear in the list of object tags.
You may draw several vertex maps and they will generate Vertex Map tag 0, Vertex Map tag 1, ... Vertex Map tag N, from left to right in the tag list of the object.

If you want to get vertex map values for your shaders you should just use the vertex map node and connect it to the field you like, for example to determine reflection color properties or material amount in the mix material. In the vertex map node you only choose the vertex map tag ID.

Same story with vertex color tag !

As for mograph tag then it's automatically created for Mograph objects, e.g. for Cloner with multi-instancing, for mograph matrix, etc. You only need to know how to manage the mograph to generate UVW and Color data inside this mograph tag. In CentiLeo this mograph info can be accessed using mograph info node .
ok, I just didn't know the vertex maps had tags assigned automatically. I couldn't see how to reference them without having an attribute name like Redshift does.

I will try and see.
 
Administrator  Posts: 895
Apr 4, 2022 13:22
Redshift uses the names of tags to link them, but CentiLeo and native Cinema 4D nodes use tag id from left to right. Thats all the difference
CentiLeo Chat: https://t.me/centileochat
 
Quote
Kirgman wrote:
Redshift uses the names of tags to link them, but CentiLeo and native Cinema 4D nodes use tag id from left to right. Thats all the difference
what if I have multiple objects with multiple vertex maps?

How can I reference one object instead of another in the node?
 
Administrator  Posts: 895
Apr 4, 2022 14:11
In vertex map node you only determine the tag ID, and then you assign all this material to one or more objects and for each object the speficied vertex map tag will be used if the tag is available.
CentiLeo Chat: https://t.me/centileochat
 
Ah ok. I figured out how to use vertex map node and have a field affect the material mapping. I did not know there was a vertex color tag as well.

I can use Vertex Map node and Vertex Color node, however, I do not see much difference between the two other than Vertex Color has an alpha channel, which is neat.
They both affect displacement, which I also like. I am now just trying to test out the Mograph Info node.
Pages: 1
Users browsing this topic (1 guests)