Sorcar icon indicating copy to clipboard operation
Sorcar copied to clipboard

[QUESTION/REQUEST] Instancing improvements

Open r-christie opened this issue 4 years ago • 4 comments

Is there currently a way to use instancing only with the surfaces you have selected on the parent object?

It would be great if I could select faces and have an instance applied only to those faces, rather than everything in the object.

Also, I notice when I use instancing, that I create the first instance then apply these to a surface, the original instance is still lingering. I have tried deleting it afterwards to clean up the scene but the node turns red. It would be nice if you could set a flag to use the first instance as part of the instancing procedure.

r-christie avatar May 27 '20 08:05 r-christie

The instancing works in the same way as Blender, so you only have these options to work with: image Also, only the children objects are instanced onto the geometry which means the original object remains in the scene with that object as its parent. If you want to convert all your instances into separate objects, then I suggest you use "Scatter" node (Type='Instanced') followed by "Merge Objects" node: image ("Object.004" is the torus with suzannes merged)

A work around this would be to separate the faces you want instances on: image (Better to duplicate the object rather than modifying the original)

I'll see if vertex groups or face maps can be added to control the instancing.

aachman98 avatar May 28 '20 00:05 aachman98

Thanks, separate seems to work well as a work around, I now just need a way to delete the original object after it's done the instancing.

On Thu, May 28, 2020 at 2:38 AM Punya Aachman [email protected] wrote:

The instancing works in the same way as Blender, so you only have these options to work with: [image: image] https://user-images.githubusercontent.com/26548023/83084707-60120e00-a0a7-11ea-8265-de6e5cc805ee.png Also, only the children objects are instanced onto the geometry which means the original object remains in the scene with that object as its parent. If you want to convert all your instances into separate objects, then I suggest you use "Scatter" node (Type='Instanced') followed by "Merge Objects" node: [image: image] https://user-images.githubusercontent.com/26548023/83085033-5a68f800-a0a8-11ea-868c-a9dafc703895.png ("Object.004" is the torus with suzannes merged)

A work around this would be to separate the faces you want instances on: [image: image] https://user-images.githubusercontent.com/26548023/83085354-54274b80-a0a9-11ea-89a9-34dca22b9a38.png (Better to duplicate the object rather than modifying the original)

I'll see if vertex groups or face maps can be added to control the instancing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aachman98/Sorcar/issues/134#issuecomment-635020438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3UIU4SUCNG4IXBLASG7XTRTWXBLANCNFSM4NL475CA .

r-christie avatar May 29 '20 15:05 r-christie

Deleting the original object will probably remove the instances as well, as it needs to be a child object.

aachman98 avatar May 29 '20 21:05 aachman98