tag:blogger.com,1999:blog-3717133688018454834.post2758622150533224452..comments2024-01-05T11:00:14.227+00:00Comments on Iain Lobb: Better rollovers in PaperVision3DUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3717133688018454834.post-87338809087897557492010-06-19T19:52:41.108+01:002010-06-19T19:52:41.108+01:00Man you' re a genius!
It worked like a charm. ...Man you' re a genius!<br />It worked like a charm. I've been banging my head to the wall for days now! Thanks a million!<br /><br />The only thing is that line 236, has the if statement AND the dispatchEvent so if I comment out the entire line, no RollOvers occur. I tried separating that one line into two, like this:<br /><br />//if( hasMouseMoved() )<br />dispatchObjectEvent(InteractiveScene3DEvent.OBJECT_OVER, DO3D);<br /><br />Once again, thank you!!!Steliosnoreply@blogger.comtag:blogger.com,1999:blog-3717133688018454834.post-33196858811741557952009-06-16T18:26:00.397+01:002009-06-16T18:26:00.397+01:00Hi Iain,
yeah I'm pretty sure that this was ...Hi Iain, <br /><br />yeah I'm pretty sure that this was one of my "optimisations"! I found that the processor was going mental checking every single triangle even when the mouse wasn't moving. Of course I didn't realise that the objects or the camera could be moving instead. My bad. I'll fix it. Thanks for the heads up! <br /><br />SebSeb Lee-Delislehttps://www.blogger.com/profile/18303553399661376251noreply@blogger.com