Pryme8 Posted February 23, 2018 Share Posted February 23, 2018 http://pryme8.github.io/shaderStuff/tri-plane-no-uv/ Ok so if you open up the console and try to select the mesh it says there is no hit. But here is where it gets funky... go inside the mesh and click... wabam a hit registers but with NaN distance? What gives? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2018 Share Posted February 23, 2018 Can you repro it in the PG? it is though to debug on your page directly Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2018 Share Posted February 23, 2018 Also can you make sure scene.pointerX / Y is correct? (just in case) Pryme8 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 23, 2018 Author Share Posted February 23, 2018 Yup the pointerX and Y are correct. Not sure if I have time to make a PG for this >_<. Ill see what I can do though. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2018 Share Posted February 23, 2018 Thanks! I'll make sure to find the cause then Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 23, 2018 Author Share Posted February 23, 2018 @babbleon replaced the model and it seems to work. So I am assuming it was a malformed model. Quote Link to comment Share on other sites More sharing options...
babbleon Posted February 23, 2018 Share Posted February 23, 2018 @Pryme8... this works and logs to console with hits: http://www.babylonjs-playground.com/#YSZ7YV Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 23, 2018 Author Share Posted February 23, 2018 wtf, odd I just duplicated the scene directly over on my local and its still not working. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 23, 2018 Author Share Posted February 23, 2018 I am going to gut all the local stuff I did and transfer over to a PG for you @babbleon. And then try to re-enable the standard material extension without any errors for us. http://www.babylonjs-playground.com/#YSZ7YV#1 Ill get the widgets for changing stuff together first then we will worry about the standard material extension. Quote Link to comment Share on other sites More sharing options...
babbleon Posted February 23, 2018 Share Posted February 23, 2018 Great stuff! 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.