OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

how can I highlight an object?

Open fililili opened this issue 4 years ago • 1 comments

I have such a requirement: when users move their mouse on an object the object will be highlight and when users move their mouse away an object the object will be normal. I don't know how to do that. If I change the drawable's attributes corresponding to the object, many obect will be highlight because one drawable may correspond to many different objects due to different parents and grandparents. So how can I change the object to highlight independently? Does such an algorithm really exist?

fililili avatar Sep 23 '21 02:09 fililili

dude, during this time I found usd(universal scene description), I think it's layer composition algorithm can solve my problems.

fililili avatar Nov 29 '21 07:11 fililili