@i_mazlov Thank you for your reply
Best posts made by pchg
Latest posts made by pchg
I used C++ to write the C4D S26 plugin on Windows 10, I want to change the color of the shaded wire, But don't know how to do it. Thanks in advance!
@spedler Thank you for your help
I used C++ to write the C4D S26 plugin on Windows 10, I want to get the order in which BaseObject are selected by the user, User selections can be unordered, I want to know the order in which he was selected.
Thanks in advance!
@ferdinand Thank you for your reply
Hello colleagues,
I used C++ to write the C4D S26 plugin on Windows 10, I import .FBX and want to obtain the world coordinates of each point in the composite shape. Thanks in advance!
BaseObject* obj = doc->GetActiveObject();
PointObject* pointObj = static_cast<PointObject*>(obj);
Int32 pointCount = pointObj->GetPointCount();
Vector* points = pointObj->GetPointW();
const ::Matrix globalMtx = pointObj->GetMg();
for (Int32 i = 0; i < pointCount; ++i)
{
Vector site = pointObj->GetMg() * points[i];
GePrint("Frame " + String::IntToString(count) + ": " + String::VectorToString(site));
}
so, The point I picked is for this polygon
but,The coordinates I want are this combination image
Hello colleagues,
I used C++ to write the C4D S26 plugin on Windows 10, How to create ToolBox in CreateLayout(), As this picture shows, like the Time, Creates an unfolding group
Thanks in advance!
Hello colleagues,
I used C++ to write the C4D S26 plugin on Windows 10,Get all vertices of an object,but There are no GetAllPoints in the document。
maxon::BaseArray<maxon::Vector >objectPoints = obj->GetAllPoints();
GetAllPoints included in Python documentation,but not in C++.
How to obtain all vertices of an object in C++.
Thanks in advance!