Quick comment: The multple-parent problem is not an issue. A node can only have a single parent. However, a core may be in several nodes to allow sharing. (Even if the graph allowed several parents, which OpensSG doesn't, but some other SG's do, you could still return the path from the root down to the intersected node, as it sufficiently defines the point of intersection)
/Marcus Praveen Bhaniramka wrote: > Hello folks, > > I had a couple of questions regarding the picking implementation in > IntersectAction. > > - It seems that the action returns the first object that the ray segment > has hit. I would like to implement picking such that ALL the nodes along > a given ray direction are picked. Is that supported in IntersectAction? > If not, what would be the best mechanism to implement this feature? I > guess, I could start another ray from the first hit point and continue > traversing until the ray exits the scene? > - I would like to get the SG traversal path from the picked node(s) back > to the root node. How can this be done? I was wondering if I would run > into issues with respect to multiple parents for a given node? E.g. the > 4 wheels of the car (in Dirk's slides), which is represented by the same > node with 4 transform nodes as parents. > > Thanks. > > - Praveen > > > ---- > Praveen Bhaniramka > +91-98185-15641 (M) > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
