lery0 Posted May 23, 2017 Share Posted May 23, 2017 Hi, I did setup the LensRenderingPipeline and i noticed that the code i use for picking meshes work awkward away from the center of the screen once I enable lens distortions, if removed all is fine. I am using the pick results from scene.pick(scene.pointerX, scene.pointerY) and is only working with no distortion. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted May 26, 2017 Share Posted May 26, 2017 Hi @lery0, welcome to the forum. Could you reproduce the problem... in our "playground"? Here is playground search... http://doc.babylonjs.com/playground?code=lensrenderingpipeline 18 things to play-with. Are you importing mesh? Are they complex/irregularly shaped? Have you tried the picking... using only built-in BJS mesh shapes? Any differences seen... when using BJS 3.0 alpha vs. BJS 2.5 ? Perhaps modify https://www.babylonjs-playground.com/#1OUJRM#0 ...add some picking... see if you can reproduce same problem? Feel free to make many edits/runs and saves, and paste new after-playground-SAVE URLs to here. (and tell us about your discoveries) When you make a simple playground that shows the issue, it is easy for EVERYONE on the forum to help/test. Thanks. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted May 26, 2017 Share Posted May 26, 2017 Ping @Luaacro :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.