Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some suggestions~ #10

Open
Anxjoy opened this issue Nov 1, 2023 · 56 comments
Open

Some suggestions~ #10

Anxjoy opened this issue Nov 1, 2023 · 56 comments
Labels
enhancement New feature or request

Comments

@Anxjoy
Copy link

Anxjoy commented Nov 1, 2023

Hello,love your work,but there are still some issues that need improvement(maybe

1.It seems that some regions still lack Chinese translation in AnimDessin2?
2.The ICON of shortcut keys is difficult for newcomers to understand...(especial -Alt
3.Need add Nouveau 3 cadre will help more~
4.When can AnimCouleur2 follow up on Chinese translation?
5.Please continue to update .zxp format,cause CN dont support Adobe Cloud Creative now ...

@schroef
Copy link
Owner

schroef commented Nov 1, 2023

I haven't touched AnimColoir2 for a while. I have made a start a while back. But it still needs tons of work. I need to push myself to do this

What do you mean by ON in the question about zcp? Perhaps an error in translation

What is question 3 about, I don't really understand what you are asking

@Anxjoy
Copy link
Author

Anxjoy commented Nov 2, 2023

I haven't touched AnimColoir2 for a while. I have made a start a while back. But it still needs tons of work. I need to push myself to do this

What do you mean by ON in the question about zcp? Perhaps an error in translation

What is question 3 about, I don't really understand what you are asking

Glad you replied~
Sor~,i mean .zxp format,its for CEP extension.cause i cant use Adobe Cloud Creative's plugin market in CN.
Question 3 means: A frame takes up 3 frames,
like this ,you've made it(1&2):
20231102-175450

@schroef
Copy link
Owner

schroef commented Nov 2, 2023

  1. PS could you add the missing Chinese translation for me if you like? You can add them in the file ive attached. PS why do you state "Nouveau 3 cadre " because that is French, you do see Chinese there. At least you should, i have worked earlier with a different person which added some translations and i also did some myself using Google Translate

  2. I still dont quite get what you mean. The buttons do 1 or 2 frames, but i've added a function so i can custom frames. But not everything can be added. Do you mean you want a method to add 3 frame. I did make a function to make the frame-step custom. Perhaps i can add something similar. Im no animator and the extension was set up by Stephane Baril. I upgraded it and added some more features. I thought its the most common to use 1- and 2 frames.
    custom-frame-step

  3. Ah you mean in China you cant reach Adobe Cloud. I can try to make a ZXP again, its always a bit of a hustle with terminal.
    Doesnt the manual install work for you, its not that hard to do.

Here's the current Chinese and English language files. Ive added English just in case, so you can compare. Im not sure how good your English is or perhaps you use a translate app.
languages-Chines-English.zip

@Anxjoy
Copy link
Author

Anxjoy commented Nov 3, 2023

  1. PS 如果您愿意,您可以为我添加缺少的中文翻译吗?您可以将它们添加到附加的文件中。PS 你为什么说“Nouveau 3 cadre”,因为那是法国人,你确实在那里看到中国人。至少你应该,我之前和另一个人一起工作过,他添加了一些翻译,我自己也使用谷歌翻译做了一些
  2. 我仍然不太明白你的意思。按钮可以执行 1 或 2 帧,但我添加了一个功能,因此我可以自定义框架。但并非所有内容都可以添加。你的意思是你想要一个添加 3 帧的方法。我确实做了一个函数来定制帧步长。也许我可以添加类似的东西。我不是动画师,扩展是由斯蒂芬·巴里尔(Stephane Baril)设置的。我升级了它并添加了更多功能。我认为使用 1 帧和 2 帧是最常见的。
    custom-frame-step
  3. 啊,你的意思是在中国,你无法访问Adobe Cloud。我可以尝试再次制作 ZXP,它总是有点忙于终端。手动安装不适合您,这并不难做到。

以下是当前的中文和英文语言文件。为了以防万一,我添加了英语,所以你可以比较。我不确定你的英语有多好,或者你使用翻译应用程序。 语言-中文-英语.zip

Of course~I'm happy to be of some help, if that's helpful.
1.I'm not a programmer so I can only edit in .txt, hope this works!
here's some quesion about translations:

I use the version v2.2.1,I can only click the button
20231103-154851
so I don't have this shortcut maybe? I can't see the effect of this shortcut.
20231103-154403

I tried to use the effect of these two shortcuts, but the effect is not stable and happens differently when the playhead is in different positions?Maybe U can check it
20231103-155520
20231103-155533

2.The use of 3 frames is also relatively common in Japanese animation.The current version is also good enough, but I still hope you'll consider adding the 3 frame (●'◡'●)
3.Yes,cant use the Adobe's plug-in market in CN now

@schroef
Copy link
Owner

schroef commented Nov 3, 2023

Of course~I'm happy to be of some help, if that's helpful.
1.I'm not a programmer so I can only edit in .txt, hope this works!
here's some question about translations:

You can open those files in a simple text editor. Add the missing items or perhaps correct them

I use the version v2.2.1,I can only click the button
20231103-154851
so I don't have this shortcut maybe? I can't see the effect of this shortcut.
20231103-154403
I tried to use the effect of these two shortcuts, but the effect is not stable and happens differently when the playhead is in different positions?Maybe U can check it
20231103-155520
20231103-155533

Im not sure what you mean. InBetweenNext or InBetweenPrev, moves the current frame between the next or previous 2 frames

I tried to use the effect of these two shortcuts, but the effect is not stable and happens differently when the playhead is in different positions?Maybe U can check it
20231103-155520
20231103-155533

Yes, this function sometimes doesn't seem to work. Im not sure why that is. When a frame is just 2, it seems it won't work. When its longer then 2 it does work. It also sometimes has issues when the frame you want to cut, is near the end of the timeline. It seems photoshop itself also has issues. When you want to split a frame which is 2 frames, that also doesn't work.

2.The use of 3 frames is also relatively common in Japanese animation.The current version is also good enough, but I still hope you'll consider adding the 3 frame (●'◡'●)

Im thinking of adding a function where user can set its own value, the default will be 3 but a user can add a different number. This will take much work, i need to add code ll over the place. Also, the icons, that's actually a custom font. It's kinda weird how this is set up in the beginning.

@schroef
Copy link
Owner

schroef commented Nov 3, 2023

I think I got add custom frame length working. I want to test back at home tomorrow, at work on osx I worked. I made it optional, so by default it will do 3 but the user can call a dialog and input any number. Then the next time you press it, it will use that number.

Still need to work on the part that the playhead will also move. That's a tricky part as well. I'll hope I can push it to a test branch tomorrow

@Anxjoy
Copy link
Author

Anxjoy commented Nov 4, 2023

我想我添加了自定义帧长度。我想明天回到家里测试,在我工作的osx上工作。我将其设置为可选,因此默认情况下它将执行 3,但用户可以调用对话框并输入任何数字。然后下次你按下它时,它将使用该数字。

仍然需要处理播放头也将移动的部分。这也是一个棘手的部分。我希望明天能把它推到测试分支

Nice! It seems like a good choice,i'll complete CN trans on monday~
hope U have fun on weekend

@schroef
Copy link
Owner

schroef commented Nov 6, 2023

Okay had some issue again with custom frame step and later also with custom frame length. As far as i could test, it works also on Windows now. Could you test this branch, you need to install manually
https://github.com/schroef/AnimDessin2/tree/custom-frame-length

Ps this is the update language file
zh_CN.zip

@Anxjoy
Copy link
Author

Anxjoy commented Nov 6, 2023

好的,自定义帧步长和后来的自定义帧长度再次出现问题。据我测试,它现在也适用于 Windows。你能测试这个分支吗,你需要手动安装 https://github.com/schroef/AnimDessin2/tree/custom-frame-length

Ps 这是更新语言文件zh_CN.zip

Hi, this version does not show up for use(in Photosjop extension), I put the plugin in this directory:
image
image

Ps this is the New update language file(Still lacking a few untranslated articles
messages.zip

@schroef
Copy link
Owner

schroef commented Nov 6, 2023

You need to remove everything behind "AnimDessign2", so remove "-custom-frame-length". Did you add that yourself?
PS you did restart Photoshop when you installed it, correct?
The name should be like this com.sbaril.animdessin2
Though i tested adding the name like you did "AnimDessign2-custom-frame-length" and for me it still shows.
Did you also set the "DebugMode', according to this part; https://github.com/schroef/animDessin2#installing-manual-method. The CSXS values can also set higher, i think ive set them my self to all from 5 till 10

@schroef
Copy link
Owner

schroef commented Nov 6, 2023

PS i changed the keyboard icon as well. Not sure it more clear, but its does look more like a keyboard.
keyboard-shortcut-icon-v222

@schroef schroef added the enhancement New feature or request label Nov 6, 2023
@Anxjoy
Copy link
Author

Anxjoy commented Nov 7, 2023

您需要删除“AnimDessign2”后面的所有内容,因此请删除“-custom-frame-length”。是你自己加的吗? PS 您在安装Photoshop时确实重新启动了它,对吗?名称应该是这样的:虽然我测试了像你一样添加名称“AnimDessign2-custom-frame-length”,但对我来说它仍然显示。根据这部分,您是否还设置了“DebugMode”;https://github.com/schroef/animDessin2#installing-manual-method。CSXS 值也可以设置得更高,我认为我将它们设置为 5 到 10com.sbaril.animdessin2

No, It came with me when I downloaded it"-custom-frame-length"
I re-downloaded today's version,does it right?
image
the keyboard icon seems like does't work?

PS.Before I dragged the whole folder directly into the extension folder like this,But it still doesn't show..
image

Later I put in this folder separately and put the licence in this folder,it shows...
image

And I already added“DebugMode”=1,tryed 5-10 this morning,cant help.so i change it back to 1.
image

@schroef
Copy link
Owner

schroef commented Nov 7, 2023

No you need to look under "branches" then check, yesterday you showed it. It shoud show version 2.2.2
You did go to this link and downloaded the zip. Then put the com.sbrasil.animdessin2 folder in the correct folder on your Windows system. I think there is perhaps a version installed in the other location.
Perhaps, check the other location as well. Make sure in both location the older version is deleted
PS you dont need to use CSXS 11 just by itself. You need to add CSXS 7 as well. that is what this addon uses
System extension folder
Win(x64): C:\Program Files (x86)\Common Files\Adobe\CEP\extensions, and C:\Program Files\Common Files\Adobe\CEP\extensions (since CEP 6.1)

Per-user extension folder
Win: C:\Users\<USERNAME>\AppData\Roaming\Adobe\CEP/extensions

PS i know also why the folder name was wrong. When we use the zip from the webui, we need to open it and move only the com.sbaril.animdessin2 folder from the zip. Zie highlight in the screengrab below
install-from-zip

This is how the folder hierarchy should look like in the extensions folder. Your image, shows that you install the main folder from the zip. I noticed that com.sbaril.animdessin2 is now a sub folder. But since you can still get a plugin to work. That means its also installed in a different location
folder-hierachy-extensions-folder

Make sure you also download the test branch. But i think you already did that. THis is the correct branch; https://github.com/schroef/AnimDessin2/tree/custom-frame-length
Then download the zip from there
custom-frame-step-branch-03

This how you switch branches in the webui
custom-frame-step-branch-02

@schroef
Copy link
Owner

schroef commented Nov 8, 2023

I also found a small error in the manifest.xml file. At some point the extension didnt show for me neither. Should be fixed and it should show now

@Anxjoy
Copy link
Author

Anxjoy commented Nov 8, 2023

我还在清单.xml文件中发现了一个小错误。在某些时候,扩展也没有为我显示。应该修复,现在应该显示

Thanks for the reply~yep,i put folder in this path,it show up now.
image
image

Here's new trans of CN.Some recommendations and questions remain.
zh_CN.zip

This effect and PS comes with the same effect of the new document, there is no need to specifically add this feature(maybe...
image

I'm still waiting for your final version of these two effects~
image
image

I don't quite understand the effect of this feature,I hope you can explain it to me, or better yet, attach a GIF demo?
image

@schroef
Copy link
Owner

schroef commented Nov 8, 2023

Ive looked at some translations, some dont seem to correct when i translate them back. They describe something complete different. I think ive made a mistake somewhere with adding translations myself. Could perhaps compare it to the English version. But compare all lines if you are able to. Im sorry for that
translation-files.zip

PS ive also found some more parts where i have not done all translation. For instance the "New Document Preset", this dialog has hard-coded translations. Could perhaps also do these?
newDocPreset-translation.md
Could you also check if these are correct. These are for the dialogs for the custom frame length and also the custom frame steps.
custom frame step length translations.md


This effect and PS comes with the same effect of the new document, there is no need to specifically add this feature(maybe...
New Document
New timeline with custom-size and video group

Well i can add more frame length to the new document window. Im not going to make a new action. That new doc has no more shortcuts free i can use. Currently, you can set it to 1 and 2 frame length. I see if i can add 3,4,5
New-document-custom-frame-edit
EDIT
Okay, i've added more preset, so you can now choose between 1 - 6 in frame lengths. I doubt anyone uses higher than 6 as a default.

added-more-frame-presets-splitframe-newdocumentpreset-v222

PS You can always make it with say 2 frames. Then select all layers and + to expand all the frame. See below what i did
Convert 2 frames to 3 frames length


I'm still waiting for your final version of these two effects~
Split layer into 1 frames and make video group
Split layer into 2 frames and make video group

This already works, like i said earlier. You can only make cuts if the existing layer or frame is long enough. At its core, it needs 3 frames of length, photoshop also wont cut a frame length of 2. I think minimal frame length required is 3. See below 2 examples of splitting it into 2 frames and splitting it into 3 frames. I guess you want the custom frame length here perhaps
Example; Split into 1 frames and group
Split layer into 1 frames and make video group
Example; Split into 2 frames and group
Split layer into 2 frames and make video group


I don't quite understand the effect of this feature,I hope you can explain it to me, or better yet, attach a GIF demo?
Set custom frame

If you want to move to the next frame but use custom frame step. This means instead of just jumping 1 frame, you can jump the number you set in the dialog. But it only works properly if all frames are the same length. This is because we also move to the selected layer or frame. So if we set it to 3 frames with 1 frame length it will jump to every 3rd frame.
See below
Set custom frame step

But we can also do this with frames which are 2 or 3. So in this next example i will still jump to every 3rd frame but the frames are 3 frames long
Jump to 3rd frame with 3 frame length

This is handy because the user doesnt need to first set the play head and then select the frame. Photoshop default behavior is much more tedious. You need to first set the play head and then select the frame. Or you can select the frame and then use [UP] key to set the play head to that frame. But that only works if shortcuts are turned ON.

No ive updated the scrubber yesterday as well. Prior i could only set the play head, but ive added the code from the custom frame step. So now it will also select the correct frame when we use the scrubber. Note again, this only works properly if all frames are the same length. When one or more frames have a different length, it will not select the proper frame.
Scrubber now also select frame properly

@Anxjoy
Copy link
Author

Anxjoy commented Nov 9, 2023

Thank you for your patience ~ I've basically finished updating the three files so you can check them out.
zh_CN.zip
custom.frame.step.length.translations.md
newDocPreset-translation.md

I'll try the new feature effects in use, and I'll continue to give feedback in this post if I have any new questions~

@schroef
Copy link
Owner

schroef commented Nov 9, 2023

Ive made some improvements. The scrubber now works also correctly in the external timeline panel. This was a bit hard since i need to talk between the 2 panels. It took me hours of research and testing, just to get something simple like this to work

Ive also added current frame to the indicator

Ill add those new translations as well

@Anxjoy
Copy link
Author

Anxjoy commented Nov 10, 2023

Ive made some improvements. The scrubber now works also correctly in the external timeline panel. This was a bit hard since i need to talk between the 2 panels. It took me hours of research and testing, just to get something simple like this to work

Ive also added current frame to the indicator

Ill add those new translations as well

OK~Looking forward to your beta version

@schroef
Copy link
Owner

schroef commented Nov 10, 2023

ive just uploaded the missing Chinese and French translations. Noticed one error, i didnt check all translations, but this one stood out.
It showed something like "create new document" , its said this in Chinese; 创建新文档
Actually it does the action below
TG_newDoc_1=New timeline with custom-size and video group

@schroef
Copy link
Owner

schroef commented Nov 10, 2023

If all runs well, I'll merge this into the main branch

@Anxjoy
Copy link
Author

Anxjoy commented Nov 13, 2023

ive just uploaded the missing Chinese and French translations. Noticed one error, i didnt check all translations, but this one stood out. It showed something like "create new document" , its said this in Chinese; 创建新文档 Actually it does the action below TG_newDoc_1=New timeline with custom-size and video group

OK,U can change it to:创建新的自定义时间轴/视频组

@schroef
Copy link
Owner

schroef commented Nov 14, 2023

@Anxjoy

does everything work correctly and are translations okay. I'd like to merge it into main

@Anxjoy
Copy link
Author

Anxjoy commented Nov 15, 2023

@Anxjoy

does everything work correctly and are translations okay. I'd like to merge it into main

I think it's ok now,U can check it~

@schroef
Copy link
Owner

schroef commented Nov 16, 2023

@Anxjoy
Do you happen to work on a Windows machine?
If so can you try to use the new document preset and use custom settings and try to save it as a preset.
On Mac this works perfect by using the extension folder. I just now noticed on windows it doesn't seem to have the correct access to write XML files to the folder.

I'm currently testing a new approach where the data is written to a folder in the ~/appdata/romaing/animdessin2/presets_json

Need to check what happens on owx if try that folder

@Anxjoy
Copy link
Author

Anxjoy commented Nov 17, 2023

@Anxjoy Do you happen to work on a Windows machine? If so can you try to use the new document preset and use custom settings and try to save it as a preset. On Mac this works perfect by using the extension folder. I just now noticed on windows it doesn't seem to have the correct access to write XML files to the folder.

I'm currently testing a new approach where the data is written to a folder in the ~/appdata/romaing/animdessin2/presets_json

Need to check what happens on owx if try that folder

yeah,i use Windows 11 now.
Do i need to download the main version?Is that ok now?

@schroef
Copy link
Owner

schroef commented Nov 17, 2023

Well it should work as normally. I just noticed this week, that my implemented "New Document + timeline" isnt able to save the presets properly on Windows.

Notice in the video im able to load and save presets. The loading works currently, because it comes with a couple presets. But on Windows im not able to save files into the preset_json folder. On OSX this works just fine. I locally have a test version where i save to the userData folder and that seems to work. I was just wondering if the save presets from the new document dialog works on your side. I need to check if this adjusted method also works on OSX, but the computer at work is now broken. Waiting for a new system, so i cant test OSX for now.

Also now when you create a new document it wont use the correct background and the framelenght is not correct. At least that was happening on my system on Windows.

Save-Load-preset-New-Document-Dialog-v222.mp4

@Anxjoy
Copy link
Author

Anxjoy commented Nov 20, 2023

Also now when you create a new document it wont use the correct background and the framelenght is not correct. At least that was happening on my system on Windows.

Save-Load-preset-New-Document-Dialog-v222.mp4

It looks like it can be created successfully, but a warning box pops up
image

@Anxjoy
Copy link
Author

Anxjoy commented Nov 20, 2023

I wonder if you could add a feature like this onion skin in the future? The onion skin that comes with it is hard to use and not intuitive enough..

Here art 3 frames.when i open the onion skin,The first frame will be shown in purple, the third frame will be shown in green
image

It will show the before and after frames in comparison by means of a customised transparency
image

I think this feature could be a big job....

@schroef
Copy link
Owner

schroef commented Nov 20, 2023

Also now when you create a new document it wont use the correct background and the framelenght is not correct. At least that was happening on my system on Windows.
Save-Load-preset-New-Document-Dialog-v222.mp4

It looks like it can be created successfully, but a warning box pops up image

What does the dialog state?
I used Google Translate on the image. It shows an error that the current function is not available. Its about "selecting" something. Did this error show when you created a new document with the timeline cut into frames?

@schroef
Copy link
Owner

schroef commented Nov 20, 2023

onion skin that come

Sorry i can not do anything about that, that is internal code developed by Adobe Photoshop it self.
PS did you add those colored boxes yourself, i dont have that or is that your design idea? You could make this a feature request on the official Adobe Photoshop channel.

PS why is the current not intuitive, because you alter it pretty well i think. Only feature not available is that what you state about different colors per frame. That "Feature" and "Past" color would be nice indeed

Edit
Perhaps I could do something's jg about onionskinning withe before and after color. But it would not work when using shortcut arrow buttons. If we use the animdessin2 toolbar to go to the next or previous layer. I could use actionscript to add custom overlay on the next and previous layer. Perhaps I'm able to test this, I'll see what I can do

@schroef
Copy link
Owner

schroef commented Nov 20, 2023

But are you able to save a preset from that new document dialog. It is at the bottom, i see you could use them. But saving doesnt seem to work properly. When you save a new version with a custom name, it should be selected automatically from that dropdown menu. So it should show in that menu. When i tried it here, it does not work. I dont seem to have write permissions in the extension folder. Thats why im trying a different approach, i still need to test this on OSX though

@schroef
Copy link
Owner

schroef commented Nov 20, 2023

Can is ask what panel you are showing in this image? This is not the default UI in Timeline panel in Photoshop
panel-ui-chinese-version

@Anxjoy
Copy link
Author

Anxjoy commented Nov 21, 2023

But are you able to save a preset from that new document dialog. It is at the bottom, i see you could use them. But saving doesnt seem to work properly. When you save a new version with a custom name, it should be selected automatically from that dropdown menu. So it should show in that menu. When i tried it here, it does not work. I dont seem to have write permissions in the extension folder. Thats why im trying a different approach, i still need to test this on OSX though

yeah its here now, but still have the warning
image
image

@Anxjoy
Copy link
Author

Anxjoy commented Nov 21, 2023

Can is ask what panel you are showing in this image? This is not the default UI in Timeline panel in Photoshop panel-ui-chinese-version

It's CSP Paint. Maybe U can see this link ?Or you can search for similar keywords,like"CSP timeline'"CSP Animation"...
https://www.youtube.com/watch?v=B31Js65_Big
https://www.youtube.com/watch?v=3s88IcD2Q-8

I think the animation feature of this software is much better or can provide you with some inspiration~

@schroef
Copy link
Owner

schroef commented Nov 21, 2023

Yeah i found out it was Cartoon Studio Pro by translating the images and using google. Looks very interesting.

I did some testing and got something raw working. There is one issue though. It keeps showing all the overlay colors ones move to previous or to next frame. Though the clean all button works fast, im not 100% sure about this.

It does look handy! im no animator, but ive seen this same thing on an addon ive worked a bit on for Blender.
Here's my simple example with frames just showing numbers. The other issue is that the amount of before frames and other onionskin settings are stored separately by photoshop and i cant reach that data. So if a user want to use this, he/she would need to setup the default Photoshop onionskin settings and than possibly a new settings panel i would add.

It still needs more work, ive not made the settings dialog yet, i first wanted to see if it would work before in do work on that part. It also shows errors when im at the start and at the end. But i can get around those i guess.

One thing I noticed, it does slow the stepping to next and previous frame a bit down. But that depends on how many frames you want in onionskin mode. It's still 100x faster than doing it manually. Currently it only works using next and previous edit. But after checking the videos you linked from CSP. I'll try to get it to work with the timeline scrubber I made.
Is this what you habe in mind?

OnionSkin-Before-After-Color.mp4

@schroef
Copy link
Owner

schroef commented Nov 21, 2023

But are you able to save a preset from that new document dialog. It is at the bottom, i see you could use them. But saving doesnt seem to work properly. When you save a new version with a custom name, it should be selected automatically from that dropdown menu. So it should show in that menu. When i tried it here, it does not work. I dont seem to have write permissions in the extension folder. Thats why im trying a different approach, i still need to test this on OSX though

yeah its here now, but still have the warning image image

I need to take a look at the version which is in the master branch then. I guess there most be some error in the code in that version

@Anxjoy
Copy link
Author

Anxjoy commented Nov 22, 2023

Yeah i found out it was Cartoon Studio Pro by translating the images and using google. Looks very interesting.

I did some testing and got something raw working. There is one issue though. It keeps showing all the overlay colors ones move to previous or to next frame. Though the clean all button works fast, im not 100% sure about this.

It does look handy! im no animator, but ive seen this same thing on an addon ive worked a bit on for Blender. Here's my simple example with frames just showing numbers. The other issue is that the amount of before frames and other onionskin settings are stored separately by photoshop and i cant reach that data. So if a user want to use this, he/she would need to setup the default Photoshop onionskin settings and than possibly a new settings panel i would add.

It still needs more work, ive not made the settings dialog yet, i first wanted to see if it would work before in do work on that part. It also shows errors when im at the start and at the end. But i can get around those i guess.

Is this what you habe in mind?

OnionSkin-Before-After-Color.mp4

Basically.~ You're too good at executing.
You're right, maybe you need to add another new onion skin settings panel, here's CSP's onion skin settings panel for reference
image
Here you can change the number of frames displayed before and after, the transparency, and change the colours of the frames displayed before and after.

@schroef
Copy link
Owner

schroef commented Nov 22, 2023

The issue is, that onionskin panel from photoshop and the data is not reachable by extendscript. I cant make a custom panel for that. There still needs to be 2 dialogs, one is Photoshop onionskin baked in settings and than the extra settings will be a different panel. I can not get around this. There are parts of Photoshop which are simply not exposed for script.

When I kept the before and after onionskin frame to just 1 frame. It was still pretty fast, almost the same as using the next and previous edit button

@schroef
Copy link
Owner

schroef commented Nov 22, 2023

@Anxjoy

I made a new branch for this so you can test it. It is still hard-coded so it only works 1 frame before and 1 after and you cant adjust the colors. So it shows blue and red for before and after. I'll make a dialog for this later.

This version also have the fix for the new document dialog i was working on. I still dont know if this works on OSX

@Anxjoy
Copy link
Author

Anxjoy commented Nov 23, 2023

@Anxjoy

I made a new branch for this so you can test it. It is still hard-coded so it only works 1 frame before and 1 after and you cant adjust the colors. So it shows blue and red for before and after. I'll make a dialog for this later.

This version also have the fix for the new document dialog i was working on. I still dont know if this works on OSX

Ok~I'll go test it. As for changing colours this is not urgent yet, it's mainly a matter of setting up the new onion skin panel

@Anxjoy
Copy link
Author

Anxjoy commented Nov 23, 2023

@Anxjoy

I made a new branch for this so you can test it. It is still hard-coded so it only works 1 frame before and 1 after and you cant adjust the colors. So it shows blue and red for before and after. I'll make a dialog for this later.

This version also have the fix for the new document dialog i was working on. I still dont know if this works on OSX

new document is working,but still pop-up warning box.
And,Does this new branch hasn't update ?i cant see the overlay colors now

@schroef
Copy link
Owner

schroef commented Nov 23, 2023

Are you in the new branch. I think your still downloading from the main branch.

You need to switch branches at the top. There is a dropdown menu. I showed you earlier. Don't download the zip from the right neither.

See how you switch branches,

Change-branches-github.mp4

ive also made this version 2.2.3 So in the context menu > About AnimDessin2. You should see this, if you see a different number you still have a old version installed some where.
Am2-v223

What version of Photoshop are you working with?

@Anxjoy
Copy link
Author

Anxjoy commented Nov 24, 2023

there most be some error in the code in that version

I use PScc 24.4.1
And there most be some error in the code in this 2.2.3 version,cause it's hard to follow, it may not have been perfected yet~

@schroef
Copy link
Owner

schroef commented Nov 24, 2023

Could you explain what you mean by "it's harder to follow"?

Does this v2.2.3 still cause that dialog error when creating new document?

Does the onionskin before and after function work?

@schroef
Copy link
Owner

schroef commented Nov 24, 2023

Can you translate that error dialog for me. If i let Google Translate do it. It says something like this "Use Adobe Photoshop only for Photoshop..." the last line does not get translated

new-doc-error

@Anxjoy
Copy link
Author

Anxjoy commented Nov 27, 2023

Can you translate that error dialog for me. If i let Google Translate do it. It says something like this "Use Adobe Photoshop only for Photoshop..." the last line does not get translated

new-doc-error

Error:A regular Photoshop error has occurred, this feature may not work in this version of
Photoshop.
-The command "Select" is currently unavailable.

@Anxjoy
Copy link
Author

Anxjoy commented Nov 27, 2023

Could you explain what you mean by "it's harder to follow"?

Does this v2.2.3 still cause that dialog error when creating new document?

Does the onionskin before and after function work?

the onionskin before and after function work,Sometimes it responds, sometimes it doesn't.
Could you please demonstrate how to properly use the new onionskin?

@schroef
Copy link
Owner

schroef commented Nov 27, 2023

Could you explain what you mean by "it's harder to follow"?
Does this v2.2.3 still cause that dialog error when creating new document?
Does the onionskin before and after function work?

the onionskin before and after function work,Sometimes it responds, sometimes it doesn't. Could you please demonstrate how to properly use the new onionskin?

Well it works as ive shown on earlier videos. You use either the global timeline scrubber but clicking somewhere or the next and previous edit button. It does not work in Photoshop native toolbar, i have no access to that and use that with the custom script

See below how to use it and how to show global timeline scrubber

Onionskin-BeforeAfter-usage-scrubber-nextpreveditbtn.mp4

@schroef
Copy link
Owner

schroef commented Nov 27, 2023

Error:A regular Photoshop error has occurred, this feature may not work in this version of
Photoshop.
-The command "Select" is currently unavailable.

Ill try to update and see if i get the same error

EDIT
i just tried ps 25.1 and no issues at all, Didnt get that error about select not available

new-document-ps-251.mp4

@Anxjoy
Copy link
Author

Anxjoy commented Nov 28, 2023

Error:A regular Photoshop error has occurred, this feature may not work in this version of
Photoshop.
-The command "Select" is currently unavailable.

Ill try to update and see if i get the same error

EDIT i just tried ps 25.1 and no issues at all, Didnt get that error about select not available

new-document-ps-251.mp4

When I create a new video preset a warning box pops up immediately,like this:
image

but it still could work~not a big problem

@Anxjoy
Copy link
Author

Anxjoy commented Nov 28, 2023

错误:发生了常规的 Photoshop 错误,此功能在此版本的 Photoshop 中可能不起作用。 - 命令“选择”当前不可用。

我尝试更新,看看我是否遇到同样的错误
编辑我刚刚尝试了ps 25.1,完全没有问题,没有收到关于选择不可用的错误
新文档-ps-251.mp4

When I create a new video preset a warning box pops up immediately,like this: image

Error:A regular Photoshop error has occurred, this feature may not work in this version of
Photoshop.
-The command "Select" is currently unavailable.

Ill try to update and see if i get the same error
EDIT i just tried ps 25.1 and no issues at all, Didnt get that error about select not available
new-document-ps-251.mp4

When I create a new video preset a warning box pops up immediately,like this: image

but it still could work~not a big problem

Could you explain what you mean by "it's harder to follow"?
Does this v2.2.3 still cause that dialog error when creating new document?
Does the onionskin before and after function work?

the onionskin before and after function work,Sometimes it responds, sometimes it doesn't. Could you please demonstrate how to properly use the new onionskin?

Well it works as ive shown on earlier videos. You use either the global timeline scrubber but clicking somewhere or the next and previous edit button. It does not work in Photoshop native toolbar, i have no access to that and use that with the custom script

See below how to use it and how to show global timeline scrubber

Onionskin-BeforeAfter-usage-scrubber-nextpreveditbtn.mp4

That's what I'm trying to say:

https://github.com/schroef/AnimDessin2/assets/149565023/9813f1d3-3add-439b-b539-21923620b6cf
Is it because of the playhead or others?

@schroef
Copy link
Owner

schroef commented Nov 28, 2023

Well it looks like it is working after all. The issue is, you did not set the play head to the correct frame. Dont use the photoshop timeline playhead, i can not do anything when you move that one. Only move the global timeline scrubber which comes with the panel. And those 2 buttons next and previous. See what ive marked, RED i can not influence using that, green, than it works with onionskin before and after.
use-globaltimeline-next-prev-button

Best thing to do, is enable shortcuts in the photoshop timeline panel. I think that is causing the error maybe now I thing about it. (edit doesnt matter actually)

When the selected frame and the playhead are in the same spot. Then the scrubber and the next and previous edit will work as intended.

The whole issue in Photoshop is, that the user normally needs to set both manually at the same position before you van draw.
correct-position-playhead

With the edits I made, if they are set correct at the same spot. All the functions will make them move synchronized. So it will move both the timeline indicator and also move the selected frame.

Somehow when you create a document it's either shortcut issue or it won't move back to the beginning of the timeline. That is causing the issue

Edit
I tried using the new document without shortcuts enabled and it still works without any error.
Tried in 24.4.1 and 25.1.0 and both generate a new document with a timeline cut into frames without any error.

@Anxjoy
Copy link
Author

Anxjoy commented Nov 29, 2023

Well it looks like it is working after all. The issue is, you did not set the play head to the correct frame. Dont use the photoshop timeline playhead, i can not do anything when you move that one. Only move the global timeline scrubber which comes with the panel. And those 2 buttons next and previous. See what ive marked, RED i can not influence using that, green, than it works with onionskin before and after. use-globaltimeline-next-prev-button

Best thing to do, is enable shortcuts in the photoshop timeline panel. I think that is causing the error maybe now I thing about it. (edit doesnt matter actually)

When the selected frame and the playhead are in the same spot. Then the scrubber and the next and previous edit will work as intended.

The whole issue in Photoshop is, that the user normally needs to set both manually at the same position before you van draw. correct-position-playhead

With the edits I made, if they are set correct at the same spot. All the functions will make them move synchronized. So it will move both the timeline indicator and also move the selected frame.

Somehow when you create a document it's either shortcut issue or it won't move back to the beginning of the timeline. That is causing the issue

Edit I tried using the new document without shortcuts enabled and it still works without any error. Tried in 24.4.1 and 25.1.0 and both generate a new document with a timeline cut into frames without any error.

OK,I'll keep testing this version.~

@schroef
Copy link
Owner

schroef commented Nov 29, 2023

When using the interface and moving from frame to frame, its best to use AnimDessin2 toolbar. Only then will the before and after onion color work.

Same as the other functions like moving around and keeping the selected frame and timeline at the same place. This only works when using AnimDessin2 toolbar. Photoshop own timeline wont let you do that and you need to move playhead indicator and after that select the frame. Much more tedious workflow

@schroef
Copy link
Owner

schroef commented Nov 30, 2023

I'll also will add that extra dialog window so we can activate it, change before- & after-color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants