For an art project I use Delphi 10.2. for a Firemonkey FMX Windows 10 desktop application.
I would like to use a continuously animated changing image as TTextureMaterialSource.Texture to be rendered on a TPlane in a TViewport3D.
The changing image is continuously generated: I have a TPanel containing several overlapping TImage. By setting the opacity of each TImage between 0 and 1 I can blend several images together. By individually animating the Opacity of each TImage with TFloatAnimation I get a constantly changing image. (This is working fine.)
How can I achieve that the animated content of the TPanel is rendered in 3D on the TPlane?
During design time it is possible to assign
TBitmapAnimationinstead of regular bitmap asTextureMaterialSoruce.Textureusing Add New TBitmapAnimation instead of Edit which allows you to load bitmap from fileThis newly added Bitmap Animation then has ability to chose two bitmap sources that you can easily fade between.
And the same way as you added
TBitmapAnimationasTextureMaterialSoruce.Textureyou can add newTBitmapAnimationforStartValueandStopValueof your current Bitmap Animation.This then allows you to nest multiple Animation within each other and thus in the end add ability to combine as many different images into one target texture.