playMaker

Author Topic: Touch to fade specific areas of an object???  (Read 1121 times)

le_bonn

  • Playmaker Newbie
  • *
  • Posts: 17
Touch to fade specific areas of an object???
« on: July 06, 2017, 05:46:03 AM »
Hi everyone,

Hope somebody has an idea that can help me here, I have been mulling this over for ages and cant find a nice solution.

I building an mobile app that integrates AR (using vuforia) and 3-D models which are site specific and mapped to the real spaces. What I want to happen, is that the user can touch the screen and scratch away at the 3-D model walls to reveal the real space captured by the camera. 

I can fade out whole faces very easily using touch object event and get/set property, but this does not give the effect I want.

I can capture and translate the touch input using touch info/screen to world point etc but I am not sure how I can use this information to alter the alpha on a specific areas of a face. 

I have also tried creating tons of tiny planes, and destroying them on touch to reveal the space behind, but again this is not ideal, as it is very costly in terms of processing and more importantly ugly.

any suggestions would be very gratefully received.

Many thanks

Le_Bonn
« Last Edit: July 06, 2017, 02:40:20 PM by le_bonn »