示例#1
0
        private void doFinalRenderWithAnimationsCalculus(object o, DoWorkEventArgs e)
        {
            if (Mode != MODE.ANIM)
            {
                return;
            }


            var s     = SceneTransform.TransformRender(ol, form.finalrender.Checked);
            var frame = animatronic.getNextFrame();

            if (frame == null)
            {
                render.Render.Invoke(render.Render.MyClose);
                animatronic.Animate(render);
                return;
            }

            apply_transformations();

            form.pdestination     = null;
            form.destination      = frame;
            this.DestinationImage = frame;

            render.Render.Invoke(render.Render.PlusOne);
            if (!this.Offline)
            {
                Connection.NEWJOB(s, frame.Size);
            }
        }
示例#2
0
        private void doFinalRenderCalculus(object o, DoWorkEventArgs e)
        {
            if (Mode != MODE.RENDER)
            {
                return;
            }

            render.Render.Invoke(render.Render.MyClose);
            var s = SceneTransform.TransformRender(ol, form.finalrender.Checked);

            if (!this.Offline)
            {
                Connection.NEWJOB(s, DestinationImage.Size);
            }
        }