Page 6 of 7

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Fri Nov 27, 2020 11:01 am
by akakyouryuu
Update

* Supported the concept of depth of field using blur after v7.40(gl2 or ANGLE2 is required).
1pixel blur is used where the distance from the focus position is dof.
DOF is used to adjust the sharp range. Focus is used to adjust the focus position.
You can adjust dof config in camera_config.rpy

Note after v7.40 and GL 2 or ANGLE2 are required.
DOF is simulated using blur for layers, so note the back layer is often seen through the front layer.

Function dof_set() is added
Now, function all_moves has keyword argument `focus_check_points`.

Code: Select all

    def dof_set(dof, duration=0, warper='linear', **kwargs):
        """
         :doc: camera

         Set the depth of field.

         `dof`
              `dof` is the z range where layers aren't blured. it defaults to 9999999.
         `duration`
              The time, in seconds, to complete the dof change. If no time is given,
              the change will happen instantaneously.
         `warper`
              A string that points to a registered ATL warper, like \'ease\'.
              If no warper is given, this will default to \'linear\'.
         """
         
     def all_moves(camera_check_points=None, layer_check_points=None, focus_check_points=None, subpixel=True, play=True, x_loop=False, y_loop=False, z_loop=False, rotate_loop=False, x_express=None, y_express=None, z_express=None, rotate_express=None, camera_spline=False, **kwargs):
        """
         :doc: camera

         Allows for both camera moves and layer moves to happen within the same interaction, in any given combination. The Action Editor will usually generate these.

         `camera_check_points`
             A list of check points for the camera to go through, split by coordinate in the following format:
              {
                  'x':[(x, duration, warper)...]
                  'y':[(y, duration, warper)...]
                  'z':[(z, duration, warper)...]
                  'rotate':[(rotate, duration, warper)...]
              }
         `layer_check_points`
             A list of check points for layers to go through, in the following format:
              {
                  'layer name':[(z, duration, warper)...]
              }
         `focus_check_points`
             A list of check points for the depth of field & the focus position,
             in the following format:
              {
                  'focus':[(z, duration, warper)...]
                  'dof':[(dof, duration, warper)...]
              }
            `dof` is the z range where layers aren't blured. it defaults to 9999999.
            `focus` decides the focus position. It is the z coordinate which is sum of this value and 
            the z coordinate of camera.

I added introduction movie.
https://www.youtube.com/watch?v=VMMBj4-7k_Q

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Mon Nov 30, 2020 10:45 am
by akakyouryuu
Updated

Fixed a crash by spline.
Improved python3 compatibility

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Fri Jan 01, 2021 2:11 pm
by PyBandit
This is so cool!! I downloaded your latest zip from GitHub and added the folder to my game\ directory. I launched my project again but when I try 'Shift-P' I'm running into all sorts of errors where it can't find images from the folder such as 'camera.png' or methods are broken. The project has compiled the script and created .rpyc files so not sure what's going on. Any help is appreciated.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Fri Jan 08, 2021 4:37 pm
by akakyouryuu
>> PyBandit

Is there camera.png in your game\ direcoty?

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Mon Sep 20, 2021 2:46 am
by akakyouryuu
I maked 3D stage available in ActionEditor.

This is no compatibility with old version Action Editor.

To install, copy all files in the camera directory to your game directory.
Then enable it like below.
camera:
perspective True
gl_depth True

In current version ActionEditor, below functions are removed.
* the concept of depth of field
* spline
* expression
* loading last action

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun Oct 03, 2021 12:05 am
by akakyouryuu
I fixed below problem.

Some transform property value aren't got in image tab.
the clipboard button causes error.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun Dec 12, 2021 5:02 am
by akakyouryuu
Updated Action Editor3

Improved Editor Layout
Added matrixtransform property
Added colormatrix property
Added Focusing button which enables camera blur.


Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Mon Dec 27, 2021 11:11 am
by akakyouryuu
updated


new function
* showing, replacing and hiding Image with the given transition is available.
* Added option to hide window during ATL animation in clipboard output data.
* Improved the filtering function of the image viewer.
* If there is one candidate in the image viewer, the preview is automatically displayed.
* complement candidates with tab in the image viewer

Bug fix
* Fixed an issue where loops were not working with matrix transform, color matrix, crop
* fixed errors associated with removing and moving keyframes
* Fixed an issue where focusing could not calculate the distance between the image and the camera correctly.
* Fixed an issue where focusing was enabled and an error occurred when changing offsetZ.
* Fixed the problem that the position on the viewer and the position when pasting the clipboard were misaligned when adding a new image.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu Dec 30, 2021 10:54 pm
by akakyouryuu
Updated

new feature
*added matrixanchor
*added allow_animation_skip variable into ActionEditor_config.rpy. if this and hide_window_in_animation is True, the clipboard data is outputted in skippable format.

fixed issues
*improved the algorithm for computing rotateXYZ when open ActionEditor.
*added the space between properties in clipboard data.
*crop_relative is outputted correctly in clipboard
*fixed the issue that the same property is outputted many times in clipboard.
*fixed the issue focusing doesn’t work in clipboard data.
*improve performance

Note
Skipping animation may not work correctly when animation includes loop and the tag is already shown.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Fri Feb 11, 2022 10:22 pm
by akakyouryuu
I updated Action Editor
https://github.com/kyouryuukunn/renpy-A ... 20212_beta

ActionEditor has many functions and I don't use this by own, so I can't found all issues about ActionEditor. Please, report issues and reproducibility procedure of that when you found that.
Issues which aren't reported might not be fixed.


New
*New Gui like aftereffect(I recommend the legacy gui for small and 4:3 window, you can change gui in opotion)
*Spline Editor
*allow adding scene statement in GUI
*add option page
*add zzoom property
*add perspective property
*Added new tag numeric prefix when the tag is already shown.


Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun Feb 20, 2022 9:13 am
by NekoNyandereUwU
This is awesome!
I liked how the plugin works
I also love how it's still up-to-date!
I'm impressed :o

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sat Mar 05, 2022 5:01 am
by akakyouryuu
I updated ActionEditor

https://github.com/kyouryuukunn/renpy-A ... 3/releases
add x, ypan, x, ytile properies
change time value and bar during playing
allow change time and add a keyframe by click or alternate-click timeline background
allow moving images and camera by drag icons
add sound keyframeadd graphic editor mode
add warper generator


Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sat Mar 05, 2022 4:21 pm
by akakyouryuu
I fixed issue click and drag doesn't work.

220306_beta
https://github.com/kyouryuukunn/renpy-A ... 3/releases

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun Mar 06, 2022 7:25 am
by akakyouryuu
how to use spline curve in ActionEditor Graphic mode.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu May 05, 2022 8:08 am
by akakyouryuu
I updated ActionEditor
https://github.com/kyouryuukunn/renpy-A ... 0505_beta2


add ATL_function.rpy which include some useful functions for function statement in ATL block.
allow set function statement in ActionEditor.
allow user to add a property in ActionEditor.
Clicking a tag button in image viewer add filter that tag.
improve documents