Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Reflection rules on 3D shape and perspective shape equation

$
0
0

Hi All,

I am developing an android app for supporting the MS office, I have 2 questions.

First, when 3D shape, which has the reflection effect, has 2D rotation, and  3D rotation that is in Shape Option.

In my apps, when i apply 3D rotation matrix and 2D rotation value to the reflection effect image directly, but displayed effect image differ from MS office. 

So would you tell me how to calculate the reflection image on 3D rotation and shape rotation?

Second, when I applied out shadow or reflection to 3D shape that has perspective value, 3D rotation and a depth, 3D shape is changed by a distance of the effect to shape. 

In this problem, How to apply the perspective value to shape and effect?

Please answers as long as possible. 

Thanks.


Viewing all articles
Browse latest Browse all 2257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>