WPF 2D in 3D view Animations : Performance issue

Viewed 787

I've put a TextBlock in a 3D panel (Planerator) and I used a Storyboard to animate it. (as crawl text)

When the field of view is 1 everything works fine, But if I set the field of view to more than 50 the frame rate will drop sharply and rendering will be choppy.

I used theCompositionTarget.rendering.

Please see the following images:

enter image description here

enter image description here

I need to 2D animations in 3d view with good performance.

Please tell me how can I solve this problem? Should I leave WPF and go to the DirectX?

UPDATE 1 :

I just want to move ONE 2Dtext in 3D space , but the performance is poor.(rendering isn't smooth it is choppy)

This is a sample project.

UPDATE 2:

This is the sample project updated version based on cokeman19's answer. (the performance have been improved ~10 frames, But I need to perfect rendering)

UPDATE 3 :

Finally, I got an acceptable performance with the help of the cokeman19's answer and the contents of this page.

1 Answers
Related