Пример #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 doScenePreviewCalculus(object o, DoWorkEventArgs e)
        {
            if (Mode != MODE.PREVIEW)
            {
                return;
            }
            var s = SceneTransform.TransformPreview(ol);

            if (!this.Offline)
            {
                Connection.NEWJOB(s, DestinationImage.Size);
            }
        }
Пример #3
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);
            }
        }