OpenSceneGraph
OpenSceneGraph copied to clipboard
how can I highlight an object?
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?
dude, during this time I found usd(universal scene description), I think it's layer composition algorithm can solve my problems.