about Face Picker sample

Oct 5, 2010 at 7:44 AM
Edited Oct 5, 2010 at 12:22 PM

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

Oct 8, 2010 at 7:10 AM


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

Let me investigate and get back to you.

Oct 8, 2010 at 12:59 PM

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

Oct 9, 2010 at 7: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.

Oct 11, 2010 at 9: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 10:12 AM

thanks a lot looking forward to try it out