tag:blogger.com,1999:blog-7114525940495426773.post1367033441025233031..comments2023-06-24T10:52:52.198+02:00Comments on JPereda's Coding Blog: Creating and Texturing JavaFX 3D ShapesAnonymoushttp://www.blogger.com/profile/15247383133952423416noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7114525940495426773.post-42602430362664476092018-08-01T08:29:26.388+02:002018-08-01T08:29:26.388+02:00This comment has been removed by a blog administrator.Timy Tonshttps://www.blogger.com/profile/12831451615322425979noreply@blogger.comtag:blogger.com,1999:blog-7114525940495426773.post-28886952847751561472016-05-31T19:24:05.042+02:002016-05-31T19:24:05.042+02:00Thanks for your kind words. If you have a look at ...Thanks for your kind words. If you have a look at the Rubik post [http://jperedadnr.blogspot.com/2014/04/rubikfx-solving-rubiks-cube-with-javafx.html], you'll find how you can work with PickResult.Anonymoushttps://www.blogger.com/profile/15247383133952423416noreply@blogger.comtag:blogger.com,1999:blog-7114525940495426773.post-18845839867822773412016-05-24T10:30:54.500+02:002016-05-24T10:30:54.500+02:00Thanks for the discussion in your blog. Torus note...Thanks for the discussion in your blog. Torus note was superb and I learnt a lot. I have a small issue. Suppose that I have screen with TriangleMesh based geometry. Now I wish to click on geometry and I wish to get coordinates. I may use something like:<br />final double xx;<br />final double yy;<br /> geoScene.setOnMouseClicked (new EventHandler () {<br /> @Override<br /> public void handle(MouseEvent event) {<br /> xx = event.getX ();<br /> yy = event.getY ());<br /> }<br /> });<br /> System.out.println(xx + " " + yy);<br /><br />while I am unable to get xx and yy after eventhandler routine. It would be helpful if you kindly post access of variables from inner methods like these.<br />Thanks<br />Bhabapaglahttps://www.blogger.com/profile/14039185122058446603noreply@blogger.comtag:blogger.com,1999:blog-7114525940495426773.post-74861943581070072522015-06-08T09:40:49.706+02:002015-06-08T09:40:49.706+02:00Thanks a Lot!Thanks a Lot!Riddhish Bhalodiahttps://www.blogger.com/profile/00674013430148666753noreply@blogger.comtag:blogger.com,1999:blog-7114525940495426773.post-59769542489048837632015-06-05T10:25:49.007+02:002015-06-05T10:25:49.007+02:00Thanks, Riddhish. Detecting collisions in 3D is qu...Thanks, Riddhish. Detecting collisions in 3D is quite a complex task... In the mentioned project of the skeletal model, I use intersects (here: https://github.com/jperedadnr/LeapV2/blob/master/src/leapv2/LeapV2.java#L197) to detect if one sphere of the hand touches the big sphere. I use the bounding box of the model to check intersections, and every node on the scene has its bounds, included the model you have imported.<br /><br />Since you have a triangle mesh for your hand, the next step makes use of ray tracing techniques. As a starting point, check this question at StackOverflow: http://stackoverflow.com/questions/27381119/javafx-8-3d-scene-intersection-point. Find also a full sample here: https://github.com/Birdasaur/FXyz/blob/master/src/org/fxyz/tests/RayTest.java. Anonymoushttps://www.blogger.com/profile/15247383133952423416noreply@blogger.comtag:blogger.com,1999:blog-7114525940495426773.post-17816844655524128292015-06-05T07:45:58.231+02:002015-06-05T07:45:58.231+02:00Hey Jose
Your blog has helped me to a great extent...Hey Jose<br />Your blog has helped me to a great extent. However, I am stuck with a problem. I have a stage where there is a 3D object imported using 3ds importer, and a rigged hand which is controlled by the leap motion. I want to detect(when and where on hand) collision between the hand and the object, I am not able to figure out how to get boundary of a 3ds imported object. Any help or suggestion will do wonders.<br />Thank You<br />Riddhish Riddhish Bhalodiahttps://www.blogger.com/profile/00674013430148666753noreply@blogger.com