Raghavender Mylagary Posted July 21, 2017 Share Posted July 21, 2017 Hi @Deltakosh @Wingnut @Nesh108 Is there any way to mark the edges of the following image, when it is applied as a dynamic texture to the plane. Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 23, 2017 Share Posted July 23, 2017 Hello again Raghavender cannot really be of any help here as whilst it would be possible to do edge detection using a dynamic texture as the pixels are readable it would still require somebody to code in an algorithm to do it. IMHO you would be better of finding a good edge detection program and applying it to your images before putting into Babylonjs. Quote Link to comment Share on other sites More sharing options...
Nesh108 Posted July 24, 2017 Share Posted July 24, 2017 @Raghavender Mylagary my edge detection algorithm works on Dynamic textures and looks for transparent pixels. It can be easily replaced to discard completely black pixels or anything else which is quantifiable. Quote Link to comment Share on other sites More sharing options...
Nesh108 Posted July 24, 2017 Share Posted July 24, 2017 @Raghavender Mylagary I did a quick test by converting the background from black to transparent: https://www.babylonjs-playground.com/#9GPMUY#15. If that fits your needs, go ahead and tweak the edge detection JohnK 1 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.