Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give multiple objects the same tag #41

Closed
yashdutt20 opened this issue Mar 27, 2021 · 4 comments
Closed

Give multiple objects the same tag #41

yashdutt20 opened this issue Mar 27, 2021 · 4 comments
Labels
question Further information is requested
Milestone

Comments

@yashdutt20
Copy link

yashdutt20 commented Mar 27, 2021

Describe the solution you'd like
Not sure if this already exists but I'd like to be able to give numerous object meshes have one label. If it does, please let me know!

@kursad-k
Copy link
Contributor

kursad-k commented Mar 27, 2021

Zpy provides two levels of labeling called instances and categories for objects. What you want is called category labeling.

@kursad-k kursad-k added the question Further information is requested label Mar 27, 2021
@hu-po
Copy link
Member

hu-po commented Mar 29, 2021

If you select multiple objects, you can use the Single button under the Segment panel (in Blender addon) to segment them as one object. This is useful for objects which are composed of multiple pieces:
image

If you are segmenting within the python run script, you can pass this kwarg as_single and it will segment any child objects of that object as well (same label).

as_single: bool = False,

@hu-po hu-po closed this as completed Mar 31, 2021
@yashdutt20
Copy link
Author

yashdutt20 commented Apr 4, 2021

Hey @HugoCMU and @kursad-zumolabs , thank you. Just another follow up question with segmentation. is this able to segment particle hair as well? Or do you need to make it a mesh and then is it segmentable?

@kursad-k
Copy link
Contributor

kursad-k commented Apr 4, 2021

You need to convert the particle hair to mesh to be able to use zpy to segment them if you want to enjoy the convenience of zpy add-on. There might be some other manual ways to segment the particle hair and use it with zpy shader+output setup, however it is probably easier for you to go with the mesh setup for now.

@hu-po hu-po reopened this Apr 21, 2021
@hu-po hu-po added this to To Do in Main Apr 23, 2021
@hu-po hu-po moved this from To Do to Done in Main Apr 23, 2021
@hu-po hu-po added this to Done in Blender Addon Apr 23, 2021
@hu-po hu-po closed this as completed Apr 28, 2021
@hu-po hu-po added this to the Bot Test milestone Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Main
Done
Development

No branches or pull requests

3 participants