Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 05:54:21 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)[SOLVED] Rectangle and Grid don't seem to respond to ray picking?
Pages: [1]
Print
Author Topic: [SOLVED] Rectangle and Grid don't seem to respond to ray picking?  (Read 257 times)
ChrisE
Becoming dependent
**
Offline Offline

Posts: 104


View Profile
« on: 15. July 2011, 10:07:03 pm »

Marvin,

Am I crazy, or can you not use the PickingLibrary on Rectangle and Grid objects? I've set pickable to true, so maybe something else is going on? My TriArray-based Shape3Ds work great, as do Lines.

-Chris
« Last Edit: 29. July 2011, 10:26:31 pm by ChrisE » Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 15. July 2011, 11:00:58 pm »

I have no idea tbh. But have a look at the geometry pick test class, if it implements testing code for such geometries.

The grid class is meant to be used for shaders anyway, which eliminates picking.
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« Reply #2 on: 18. July 2011, 12:59:43 am »

I think all of the parent nodes also need to be pick enabled
Logged
ChrisE
Becoming dependent
**
Offline Offline

Posts: 104


View Profile
« Reply #3 on: 18. July 2011, 08:37:50 pm »

Figured it out. I was passing in the wrong BranchGroup into my picker; didn't realize you could send in a list. Problem solved!

Thanks guys.

-Chris
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic