Hi everyone,
We are trying to find a way to build a plugin that does instancing at rendertime, so far we found a couple of good examples how to generate mesh at rendertime. But we couldn't find a way to instance a single mesh that has been compiled before.
For example, take a node like this: (psuedo)
GeomStaticMesh mesh1_mesh{}
GeomStaticMesh mesh2_mesh{}
GeomStaticMesh mesh3_mesh{}
Node mesh1_node{}
Node mesh2_node{}
Node mesh3_node{}
MyInstancer instancer_node_geo {
instanced_meshes="mesh1;mesh2;mesh3";
positions=ListVectorHex("ZIPB......");
}
Node instancer_node {
transform=Transform(....);
geometry=instancer_node_geo;
visible=1;
}
Obviously there are a bunch more parameters that should control the instances.
Can someone point me into the right direction to pull this off? Also let me know if this isn't clear enough.
Jeroen,
House of Secrets
We are trying to find a way to build a plugin that does instancing at rendertime, so far we found a couple of good examples how to generate mesh at rendertime. But we couldn't find a way to instance a single mesh that has been compiled before.
For example, take a node like this: (psuedo)
GeomStaticMesh mesh1_mesh{}
GeomStaticMesh mesh2_mesh{}
GeomStaticMesh mesh3_mesh{}
Node mesh1_node{}
Node mesh2_node{}
Node mesh3_node{}
MyInstancer instancer_node_geo {
instanced_meshes="mesh1;mesh2;mesh3";
positions=ListVectorHex("ZIPB......");
}
Node instancer_node {
transform=Transform(....);
geometry=instancer_node_geo;
visible=1;
}
Obviously there are a bunch more parameters that should control the instances.
Can someone point me into the right direction to pull this off? Also let me know if this isn't clear enough.
Jeroen,
House of Secrets
Comment