Smooth animation
Posted: 09 Feb 2015, 18:49
Hi,
I am trying to use some basic animation by rotating a simple cube with the following code
For rotating only around one axis and a simple basic shape/object I get a smooth animation.
But as soon as I load in a slightly more complex object loading from the converter takes too long for smooth animations.
Is there a faster way to update/redraw/repaint the image?
-Mike
I am trying to use some basic animation by rotating a simple cube with the following code
Code: Select all
for i := 0 to 360 do
begin
sleep(5);
LoadedCADImage.Rotate(XAxis,1);
F3DN.LoadFromConverter(LoadedCADImage.Converter, LoadedCADImage);
end;
But as soon as I load in a slightly more complex object loading from the converter takes too long for smooth animations.
Is there a faster way to update/redraw/repaint the image?
-Mike