Accessing Mesh Vertex Data
-
U want to apply 3D Perlin Noise to a mesh. How can I access its mesh datam like its vertices? I can't find anything in the Python documenation...
-
Hi @Chubak, first of all, welcome in the plugincafe community.
I would like to point you some rules on this forum regarding how to post questions in order to help us to help you!
- How to Post Questions especially the tagging part and take care to post on the correct category.
- Q&A New Functionality.
Don't worry it's your first post you couldn't know, so I've setup your topic correctly.
In Cinema 4D objects displayed in the ObjectManager are c4d.BaseObject, such a BaseObject are oftenly a PointObject which as this name define store point attribute (Used in Spline and in Polygon Object). This class allow you to reads and modify point position of an object with PointObject.GetAllPoints/PointObject.SetAllPoints.
To generates a noise, there is the c4d.utils.noise.C4DNoise class which provides you all you need to generate different kinds of noise.
If you have any questions, do not hesitate.
Cheers,
Maxime. -
@m_adam Sorry about the gaffe. I make sure for it not to happen again. Thanks for your response.