about Face Picker sample

Oct 5, 2010 at 6:44 AM
Edited Oct 5, 2010 at 11:22 AM

Hi i have been trying to exploide the code from face picker example inside layoutRoot_mouseMove event

	Face face;
         int faceIndex;
         float faceU;
         float faceV;
         var distance = Box.Intersects(pickRay, out face, out faceIndex, out faceU, out faceV);

also i tryed to explicitely call prepareBoundingSphere but _geometryObject.Intersects always returns null distance !

the pickRay looks allright though..

is this a bug in balder source from 2010-09-24 : 1047 ?

or has the functionality changed ?

the reason for this is to identify mesh drawn arrows with the mouse, so i hoped to use output faces ..

when trying to use  the FaceMouseEnter event the event does not fire ! is this event deprecated ?

thanks in advance

Coordinator
Oct 8, 2010 at 6:10 AM

Hi,

sorry for missing this post. I saw you posted somewhere else. 

Let me investigate and get back to you.

Oct 8, 2010 at 11:59 AM

well i didn't know if you had any subscriptions to the first post so i made this one

now i know though , sorry for the double trouble

I'm looking forward to here about this though

Coordinator
Oct 9, 2010 at 6:37 AM

There are mouse event related problems, but it appears to only be a problem in Windows - which is probably why I haven't noticed it before, since I'm on a Mac. 

Anyways, the FaceMouseEnter event might have been put in but not hooked up.

 

I'll be looking at the mouse event problems on Monday.

Coordinator
Oct 11, 2010 at 8:34 AM

I've fixed a problem that was with mouse events, it should fire more precisely now.

But, the Face events are not implemented. I'm commenting them out till they are.

Oct 11, 2010 at 9:12 AM

thanks a lot looking forward to try it out