OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

LIMIT_NEAREST in PolytopeIntersector doesn't do anything?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Waaayoff
Newbie


Joined: 16 Jul 2018
Posts: 6

PostPosted: Tue Nov 06, 2018 10:10 am    Post subject:
LIMIT_NEAREST in PolytopeIntersector doesn't do anything?
Reply with quote

Hi,

I'm trying to do a box selection using osgUtil::PolytopeIntersector. It works nicely but it selects drawables that are occluded behind other drawables.

I tried to use the LIMIT_NEAREST option to only select visible drawables, but nothing changes. Other options (e.g. LIMIT_ONE) work fine. Looking at the source code of the polytope intersector, I can't see any use of the LIMIT_NEAREST flag.

Is it not implemented?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts axis / axes with color array doesn't ... Steal General 0 Wed Sep 05, 2018 4:07 pm View latest post
No new posts LineSegmentIntersector doesn't give a... MaFa18 General 3 Thu Jun 21, 2018 10:12 am View latest post
No new posts Possible PolytopeIntersector bug? Jordi Torres General 4 Wed Oct 04, 2017 9:49 am View latest post
No new posts PolytopeIntersector::Intersection::pr... blobfish General 0 Mon May 29, 2017 2:19 am View latest post
No new posts Dimension Mask in PolytopeIntersector... Jordi Torres General 6 Wed May 24, 2017 10:19 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP