50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Hey. I make 100 clips as sketches. Then I want to make an accurate drawing on the new layer above. I need to make each layer 50% transparent. Question: Can someone share a soft button to make all layers 50% transparent inside all 100 clips? please, it is very necessary !!!!
oblokomobloko@gmail.com
oblokomobloko@gmail.com
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Maybe there is a button to add a new blank layer on top in all clips?
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Hironori Takagi
- Posts: 313
- Joined: 14 May 2018, 10:15
- Location: Tokyo, Japan
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
It wasn't very hard, so I made George commands.
Please give it a try.
---
clipCount =0
loop1 = 1
WHILE loop1
tv_ClipEnumID -1 clipCount
currentClipID =result
IF CMP(currentClipID,"none") == 1
loop1 = 0
ELSE
tv_ClipSelect currentClipID
layerCount = 0
loop2 = 1
WHILE loop2
tv_LayerGetID layerCount
currentLayerID = result
IF CMP(currentLayerID,"none") == 1
loop2 = 0
ELSE
tv_LayerSet currentLayerID
tv_LayerDensity 51
layerCount = LayerCount + 1
END
END
tv_LayerCreate addLayer
tv_LayerAnim
tv_LayerMove 0
tv_LayerCurrentID
newLayerID = result
tv_LayerPostBehavior newLayerID "hold"
clipCount = clipCount + 1
END
END
Please give it a try.
---
clipCount =0
loop1 = 1
WHILE loop1
tv_ClipEnumID -1 clipCount
currentClipID =result
IF CMP(currentClipID,"none") == 1
loop1 = 0
ELSE
tv_ClipSelect currentClipID
layerCount = 0
loop2 = 1
WHILE loop2
tv_LayerGetID layerCount
currentLayerID = result
IF CMP(currentLayerID,"none") == 1
loop2 = 0
ELSE
tv_LayerSet currentLayerID
tv_LayerDensity 51
layerCount = LayerCount + 1
END
END
tv_LayerCreate addLayer
tv_LayerAnim
tv_LayerMove 0
tv_LayerCurrentID
newLayerID = result
tv_LayerPostBehavior newLayerID "hold"
clipCount = clipCount + 1
END
END
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Here's an alternative, general purpose solution (note though, it only works on the current clip)...
1. Select ANY layer to be the current layer
2. Click button to toggle all OTHER LAYERS between three density settings: 100% or 35% or 0%
So, in your case, add a new top layer, select that layer, then toggle the density for all other layers to 35% and do your final drawing.
Anytime while on the final drawing layer, toggle the button to set all other layer densities to 0%, or 100% or 35% to see the final layer drawing relative to all the other layers.
The button automatically adjusts the density of ALL other layers, NON-DESTRUCTIVELY, no matter which layer you are drawing on, which can come in handy any time you want to quickly look at ANY specific layer's drawing, BY ITSELF.
Sven
This one-button layer-density toggle works this way:1. Select ANY layer to be the current layer
2. Click button to toggle all OTHER LAYERS between three density settings: 100% or 35% or 0%
So, in your case, add a new top layer, select that layer, then toggle the density for all other layers to 35% and do your final drawing.
Anytime while on the final drawing layer, toggle the button to set all other layer densities to 0%, or 100% or 35% to see the final layer drawing relative to all the other layers.
The button automatically adjusts the density of ALL other layers, NON-DESTRUCTIVELY, no matter which layer you are drawing on, which can come in handy any time you want to quickly look at ANY specific layer's drawing, BY ITSELF.
Sven
- Attachments
-
- Toggle Density for OTHER LAYERS.tvpx
- (86.5 KiB) Downloaded 1564 times
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Hello? Sven!Svengali wrote: ↑29 Jul 2019, 07:28 Here's an alternative, general purpose solution (note though, it only works on the current clip)...
Toggle Density for OTHER LAYERS.jpg
This one-button layer-density toggle works this way:
1. Select ANY layer to be the current layer
2. Click button to toggle all OTHER LAYERS between three density settings: 100% or 35% or 0%
So, in your case, add a new top layer, select that layer, then toggle the density for all other layers to 35% and do your final drawing.
Anytime while on the final drawing layer, toggle the button to set all other layer densities to 0%, or 100% or 35% to see the final layer drawing relative to all the other layers.
The button automatically adjusts the density of ALL other layers, NON-DESTRUCTIVELY, no matter which layer you are drawing on, which can come in handy any time you want to quickly look at ANY specific layer's drawing, BY ITSELF.
Sven
This is a great solution. But if I usually have 200 clips ... it makes the job a little easier. Thanks !!! Thank you !!! Thank you !!! Thank you !!! Thank you !!!
But this is not one button for everyone — all 200 clips.
I can not see all the clips with transparency on the big board.
You might find a solution for a large number of clips. One button? Thanks!
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
OOOOh! This is amazing.Hironori Takagi wrote: ↑29 Jul 2019, 03:11 It wasn't very hard, so I made George commands.
Please give it a try.
---
clipCount =0
loop1 = 1
WHILE loop1
tv_ClipEnumID -1 clipCount
currentClipID =result
IF CMP(currentClipID,"none") == 1
loop1 = 0
ELSE
tv_ClipSelect currentClipID
layerCount = 0
loop2 = 1
WHILE loop2
tv_LayerGetID layerCount
currentLayerID = result
IF CMP(currentLayerID,"none") == 1
loop2 = 0
ELSE
tv_LayerSet currentLayerID
tv_LayerDensity 51
layerCount = LayerCount + 1
END
END
tv_LayerCreate addLayer
tv_LayerAnim
tv_LayerMove 0
tv_LayerCurrentID
newLayerID = result
tv_LayerPostBehavior newLayerID "hold"
clipCount = clipCount + 1
END
END
But I am a very interesting user)))
I want a little more))
1. INSIDE 200 clips there are many layers can be 8 or 10.
Can I ask to make a button. That will make them all just 1 layer inside every CLip (merge all layers in every Clip). And then I will apply our super button.
Please!
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
I know that if each layer has an assigned level of transparency. This is probably a problem when connecting, because transparency will be added to all layers ... But I agree that under each layer with transparency, for example 30%, a new layer will be automatically created 100% and they will be merged. And so the transparency will remain what it was.
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Big Thanks!
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Hironori Takagi
- Posts: 313
- Joined: 14 May 2018, 10:15
- Location: Tokyo, Japan
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Is it right that you want to integrate the current state first?
Rewrote the integrated density to 50%.
tv_LayerMergeAll merges the current state.
It will be integrated with the transparency of the original layer.
---
clipCount =0
loop1 = 1
WHILE loop1
tv_ClipEnumID -1 clipCount
currentClipID =result
IF CMP(currentClipID,"none") == 1
loop1 = 0
ELSE
tv_ClipSelect currentClipID
tv_LayerCreate compLayer
tv_LayerMove 0
tv_LayerMergeAll
tv_LayerDensity 51
tv_LayerCreate addLayer
tv_LayerAnim
tv_LayerMove 0
tv_LayerCurrentID
newLayerID = result
tv_LayerPostBehavior newLayerID "hold"
clipCount = clipCount + 1
END
END
Rewrote the integrated density to 50%.
tv_LayerMergeAll merges the current state.
It will be integrated with the transparency of the original layer.
---
clipCount =0
loop1 = 1
WHILE loop1
tv_ClipEnumID -1 clipCount
currentClipID =result
IF CMP(currentClipID,"none") == 1
loop1 = 0
ELSE
tv_ClipSelect currentClipID
tv_LayerCreate compLayer
tv_LayerMove 0
tv_LayerMergeAll
tv_LayerDensity 51
tv_LayerCreate addLayer
tv_LayerAnim
tv_LayerMove 0
tv_LayerCurrentID
newLayerID = result
tv_LayerPostBehavior newLayerID "hold"
clipCount = clipCount + 1
END
END
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
You understood me absolutely correctly 100% Thank you again! You are a very good specialist! I have no words, only the joy of automating the process. Can I write here the needs that I encounter when working with large volumes of clips? Maybe these improvements will be included in version 12.0Hironori Takagi wrote: ↑31 Jul 2019, 02:20 Is it right that you want to integrate the current state first?
Rewrote the integrated density to 50%.
tv_LayerMergeAll merges the current state.
It will be integrated with the transparency of the original layer.
---
clipCount =0
loop1 = 1
WHILE loop1
tv_ClipEnumID -1 clipCount
currentClipID =result
IF CMP(currentClipID,"none") == 1
loop1 = 0
ELSE
tv_ClipSelect currentClipID
tv_LayerCreate compLayer
tv_LayerMove 0
tv_LayerMergeAll
tv_LayerDensity 51
tv_LayerCreate addLayer
tv_LayerAnim
tv_LayerMove 0
tv_LayerCurrentID
newLayerID = result
tv_LayerPostBehavior newLayerID "hold"
clipCount = clipCount + 1
END
END
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Hironori Takagi
- Posts: 313
- Joined: 14 May 2018, 10:15
- Location: Tokyo, Japan
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
I am happy to be able to solve the problem.
There are some points that I think about the problem when creating multiple clips, but there are some other important issues that I would like you to solve.
There are some points that I think about the problem when creating multiple clips, but there are some other important issues that I would like you to solve.
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Hey. I feel great after your help. And today I thank you again!Hironori Takagi wrote: ↑01 Aug 2019, 02:40 I am happy to be able to solve the problem.
There are some points that I think about the problem when creating multiple clips, but there are some other important issues that I would like you to solve.
But a new day and new obstacles to work.
I felt uncomfortable. When I have 200 clips or more, I need to split all the clips into separate scenes with one button. There is no such button. Perplexity.
Help.
Write a script please.
1. With one button, split all the scenes into separate clips.
2. With a single button to split into clips only selected scenes.
3. With one button to collect all the clips in one scene.
4. With one button to collect the selected clips in one scene.
Is it possible?
- Attachments
-
- Снимок экрана 2019-08-06 в 15.53.32.jpg (36.82 KiB) Viewed 41424 times
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
VideoHironori Takagi wrote: ↑01 Aug 2019, 02:40 I am happy to be able to solve the problem.
There are some points that I think about the problem when creating multiple clips, but there are some other important issues that I would like you to solve.
https://cloud.mail.ru/public/2uro/TMn7pQQ12
- Attachments
-
- MERGE ALL LAYERS IN ALL CLIPS.tvpx.zip
- (95.11 KiB) Downloaded 1534 times
-
- Снимок экрана 2019-08-06 в 16.47.28.jpg (21.19 KiB) Viewed 41420 times
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
- Hironori Takagi
- Posts: 313
- Joined: 14 May 2018, 10:15
- Location: Tokyo, Japan
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
1-4 was created.
I think this is the end of my volunteer work.
I encourage you to study by yourself.
1. SceneSplit
---
clipCount = 0
sceneCount = 0
loop1 = 1
WHILE loop1
tv_SceneEnumID sceneCount
currentSceneID = result
IF CMP(currentSceneID,"none") == 1
loop1 = 0
ELSE
loop2 = 1
WHILE loop 2
tv_ClipEnumID currentSceneID clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop2 = 0
ELSE
clipCount = clipCount + 1
END
END
clipCount = clipCount - 1
FOR i = clipCount TO 1 STEP -1
tv_ClipSelect clipID
tv_SceneNew
tv_SceneCurrentID
newSceneID = result
tv_ClipCurrentID
newClipID = result
tv_ClipMove clipID newSceneID 0
tv_ClipClose newClipID
END
clipCount = 0
sceneCount = sceneCount + 1
END
END
2. CurrentSceneSplit
---
clipCount = 0
tv_SceneCurrentID
currentSceneID = result
loop = 1
WHILE loop
tv_ClipEnumID currentSceneID clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop = 0
ELSE
clipCount = clipCount + 1
END
END
clipCount = clipCount - 1
FOR i = clipCount TO 1 STEP -1
tv_ClipSelect clipID
tv_SceneNew
tv_SceneCurrentID
newSceneID = result
tv_ClipCurrentID
newClipID = result
tv_ClipMove clipID newSceneID 0
tv_ClipClose newClipID
END
3. ClipsToScene
---
tv_ClipEnumID -1 0
firstClipID = result
tv_SceneEnumID 0
firstSceneID = result
clipCount = 1
loop = 1
WHILE loop
tv_ClipEnumID -1 clipCount
currentClipID = result
IF CMP(currentClipID,"none") == 1
loop = 0
ELSE
tv_ClipMove currentClipID firstSceneID clipCount
clipCount = clipCount + 1
END
END
4. SelectClipsToScene
---
clipCount = 0
firstCheck = 0
loop = 1
WHILE loop
tv_ClipEnumID -1 clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop = 0
ELSE
tv_ClipSelection clipID[clipCount]
clipSelection[clipCount] = result
IF firstCheck == 0
firstCheck = clipCount
END
clipCount = clipCount + 1
END
END
clipcount = clipcount - 1
currentSceneClip = 1
IF firstCheck != 0
tv_ClipSelect clipID[firstCheck]
tv_SceneCurrentID
currentSceneID = result
FOR i = firstCheck TO clipCount
IF clipSelection == 1
tv_ClipMove clipID currentSceneID currentSceneClip
currentSceneClip = currentSceneClip + 1
END
END
END
I think this is the end of my volunteer work.
I encourage you to study by yourself.
1. SceneSplit
---
clipCount = 0
sceneCount = 0
loop1 = 1
WHILE loop1
tv_SceneEnumID sceneCount
currentSceneID = result
IF CMP(currentSceneID,"none") == 1
loop1 = 0
ELSE
loop2 = 1
WHILE loop 2
tv_ClipEnumID currentSceneID clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop2 = 0
ELSE
clipCount = clipCount + 1
END
END
clipCount = clipCount - 1
FOR i = clipCount TO 1 STEP -1
tv_ClipSelect clipID
tv_SceneNew
tv_SceneCurrentID
newSceneID = result
tv_ClipCurrentID
newClipID = result
tv_ClipMove clipID newSceneID 0
tv_ClipClose newClipID
END
clipCount = 0
sceneCount = sceneCount + 1
END
END
2. CurrentSceneSplit
---
clipCount = 0
tv_SceneCurrentID
currentSceneID = result
loop = 1
WHILE loop
tv_ClipEnumID currentSceneID clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop = 0
ELSE
clipCount = clipCount + 1
END
END
clipCount = clipCount - 1
FOR i = clipCount TO 1 STEP -1
tv_ClipSelect clipID
tv_SceneNew
tv_SceneCurrentID
newSceneID = result
tv_ClipCurrentID
newClipID = result
tv_ClipMove clipID newSceneID 0
tv_ClipClose newClipID
END
3. ClipsToScene
---
tv_ClipEnumID -1 0
firstClipID = result
tv_SceneEnumID 0
firstSceneID = result
clipCount = 1
loop = 1
WHILE loop
tv_ClipEnumID -1 clipCount
currentClipID = result
IF CMP(currentClipID,"none") == 1
loop = 0
ELSE
tv_ClipMove currentClipID firstSceneID clipCount
clipCount = clipCount + 1
END
END
4. SelectClipsToScene
---
clipCount = 0
firstCheck = 0
loop = 1
WHILE loop
tv_ClipEnumID -1 clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop = 0
ELSE
tv_ClipSelection clipID[clipCount]
clipSelection[clipCount] = result
IF firstCheck == 0
firstCheck = clipCount
END
clipCount = clipCount + 1
END
END
clipcount = clipcount - 1
currentSceneClip = 1
IF firstCheck != 0
tv_ClipSelect clipID[firstCheck]
tv_SceneCurrentID
currentSceneID = result
FOR i = firstCheck TO clipCount
IF clipSelection == 1
tv_ClipMove clipID currentSceneID currentSceneClip
currentSceneClip = currentSceneClip + 1
END
END
END
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: 50% TRANSPARENT for ALL LAYERS IN ALLCLIPS
Hironori Takagi wrote: ↑13 Aug 2019, 11:56 1-4 was created.
I think this is the end of my volunteer work.
I encourage you to study by yourself.
1. SceneSplit
---
clipCount = 0
sceneCount = 0
loop1 = 1
WHILE loop1
tv_SceneEnumID sceneCount
currentSceneID = result
IF CMP(currentSceneID,"none") == 1
loop1 = 0
ELSE
loop2 = 1
WHILE loop 2
tv_ClipEnumID currentSceneID clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop2 = 0
ELSE
clipCount = clipCount + 1
END
END
clipCount = clipCount - 1
FOR i = clipCount TO 1 STEP -1
tv_ClipSelect clipID
tv_SceneNew
tv_SceneCurrentID
newSceneID = result
tv_ClipCurrentID
newClipID = result
tv_ClipMove clipID newSceneID 0
tv_ClipClose newClipID
END
clipCount = 0
sceneCount = sceneCount + 1
END
END
2. CurrentSceneSplit
---
clipCount = 0
tv_SceneCurrentID
currentSceneID = result
loop = 1
WHILE loop
tv_ClipEnumID currentSceneID clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop = 0
ELSE
clipCount = clipCount + 1
END
END
clipCount = clipCount - 1
FOR i = clipCount TO 1 STEP -1
tv_ClipSelect clipID
tv_SceneNew
tv_SceneCurrentID
newSceneID = result
tv_ClipCurrentID
newClipID = result
tv_ClipMove clipID newSceneID 0
tv_ClipClose newClipID
END
3. ClipsToScene
---
tv_ClipEnumID -1 0
firstClipID = result
tv_SceneEnumID 0
firstSceneID = result
clipCount = 1
loop = 1
WHILE loop
tv_ClipEnumID -1 clipCount
currentClipID = result
IF CMP(currentClipID,"none") == 1
loop = 0
ELSE
tv_ClipMove currentClipID firstSceneID clipCount
clipCount = clipCount + 1
END
END
4. SelectClipsToScene
---
clipCount = 0
firstCheck = 0
loop = 1
WHILE loop
tv_ClipEnumID -1 clipCount
clipID[clipCount] = result
IF CMP(clipID[clipCount],"none") == 1
loop = 0
ELSE
tv_ClipSelection clipID[clipCount]
clipSelection[clipCount] = result
IF firstCheck == 0
firstCheck = clipCount
END
clipCount = clipCount + 1
END
END
clipcount = clipcount - 1
currentSceneClip = 1
IF firstCheck != 0
tv_ClipSelect clipID[firstCheck]
tv_SceneCurrentID
currentSceneID = result
FOR i = firstCheck TO clipCount
IF clipSelection == 1
tv_ClipMove clipID currentSceneID currentSceneClip
currentSceneClip = currentSceneClip + 1
END
END
END
Thank you very much! I am very happy! Your help is a wonderful gift! Please answer the question. I think this is interesting not only to me. How can i learn? Where can I learn? Is there a training program? Is there a website where I can read the information?
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2