All right - done that - it's the space in the folder name. If the folder contains a space, it will not export. Otherwise the export works fine. I usually never use spaces, cause I know so many ways it can go wrong, but I guess that modern life and years with Apple made me much less vigilant and some spaces still managed to sneak in )NathanOtano wrote: ↑21 Oct 2021, 10:45 It's pretty hard to bugtrack, it could be that you have some spaces or weird characters in your file names like layers, or in your path (can even be your user name). Do you have some cases where it works? Like exporting another file, and from your desktop to your desktop?
If you troubleshoot for me I can make a fix but otherwise I don't have much time to help with support ^^
+ are you on mac or pc? From you signature I guess it's mac, and I didn't test on mac but there may be some differences regarding managing file path :'(
OTANO Storyboard Tools
Re: OTANO Storyboard Tools
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: OTANO Storyboard Tools
Happy it's only naming!
Yeah tvpaint doesn't like spaces, it's an old software! Usually newer softwares can handle it ^^
Yeah tvpaint doesn't like spaces, it's an old software! Usually newer softwares can handle it ^^
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Re: OTANO Storyboard Tools
Wow, these tools are great! It looks like we've scripted many of the same features...
The one feature I miss the most in my STB toolset, is the ability to quickly crop a single clip to a larger or smaller camera size. (Without actually using the camera or changing project resolution, so simply zooming the whole canvas in/out for all frames+layers of a single clip). Have you tackled this problem by any chance?
edit: nevermind, i actually wrote a 'crop to camera' script years ago, just forgot about it lol. it works most of the time, though i had it error once. not sure what that was about
The one feature I miss the most in my STB toolset, is the ability to quickly crop a single clip to a larger or smaller camera size. (Without actually using the camera or changing project resolution, so simply zooming the whole canvas in/out for all frames+layers of a single clip). Have you tackled this problem by any chance?
edit: nevermind, i actually wrote a 'crop to camera' script years ago, just forgot about it lol. it works most of the time, though i had it error once. not sure what that was about
Code: Select all
//Preparing
tv_undoopenstack
tv_updateundo
tv_lockdisplay "Cropping clip to camera..."
//Remembering current layer and frame
tv_LayerCurrentID
beginLayer = result
tv_LayerGetImage
beginImage = result
//Getting project size
tv_getWidth
parse result projectWidth
tv_getHeight
parse result projectHeight
centX = projectWidth/2
centY = projectHeight/2
tv_frameRate 666 info
PARSE result projectFramerate previewFramerate
//Getting cam info
tv_CameraEnumPoints
parse result camX camY camAngle camSize
//Loop trough all layers/instances
LayerRun = 1
i = 0
WHILE LayerRun
tv_LayerGetID i
curLID= result
IF CMP(curLID,"NONE") == 0
//*** START RUN ON LAYER
tv_layerSet curLID
tv_LayerInfo
PARSE result layerDisplay layerPosition layerOpacity layerName layerType layerStart layerEnd layerPrelighttable layerPostlighttable layerSelection
curImage = layerStart
InstanceRun = 1
WHILE InstanceRun
tv_layerImage curImage
//*** START RUN ON INSTANCE
//Show message
Message = CONCAT("Cropping layer to camera | Layer ",(layerName))
Message = CONCAT(Message, (" | Image : "))
Message = CONCAT(Message, (curImage))
tv_lockdisplay Message
//Getting image
tv_brushcut 0 0 projectWidth projectHeight 1 0
//Adjusting image
newSize = projectHeight / (projectHeight*camSize) * 100
newAngle = -camAngle
tv_restorebrush "size" newSize
tv_restorebrush "handle" camX camY
tv_restorebrush "angle" newAngle
//Pasting image
tv_dot centX centY
//*** END RUN ON INSTANCE
tv_exposureNext //Goes to next exposure
curImage = result
tv_exposureinfo curImage
PARSE result type rest
IF CMP(type,"Head") == 0
InstanceRun = 0
END
END
//Recompute exposures because a lot might be ofscreen and we need less frames now.
tv_layerRecomputeExposure
//*** END RUN ON LAYER
i = i + 1
ELSE
LayerRun = 0
END
END
//Resetting camera
tv_camerainfo projectWidth projectHeight none projectFramerate 1
tv_CameraSetPoint 0 centX centY 0 1
//Resetting layer and frame to starting position
tv_LayerImage beginImage
tv_layerSet beginLayer
//Finishing
tv_undoclosestack
tv_unlockdisplay
- Lukas Sketch Panel
- TVPaint Pro 11.7.3
- MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
- Wacom Cintiq 27QHD + Wacom Intuos4
- YouTube.com/@ClubBaboo
- YouTube.com/@FrameOrder
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: OTANO Storyboard Tools
Code: Select all
Wow, these tools are great! It looks like we've scripted many of the same features... :)
For my export script I started with your xml script at the time and then changed my pipeline to single named images to be able to export .psds to get my layers back, and for timing it directly in premiere instead of using tvpaint. Also was exported a "bridgesort" file to get the clips in the right order despite names in Bridge, they are then imported in the right order in premiere after selection which is nice
But I need to compare XML and my export tool again today and see if I could merge both. My main problem was to be able to be drawing somewhere and exporting to get the update in my editing without too much to retime/reimport, and of course when you add new images it's a bit difficult to manage timings
For the crop to camera, I've seen an option already in your recent panel. Is that one different?
My only problem is that it doesn't work with projects with margins around the camera. I would need something that resests camera to 100% zoom + position and positions it inside the camera box
A modified version of my "OTANO Stick to Cam" script could do the trick maybe, I agree it's a really useful function to get back your full resolution when reframing
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Re: OTANO Storyboard Tools
Interesting. We mainly use the export to XML for storyboarding, so I decided to never overwrite images to make sure edits don't break. It's not a big deal to add shots later, as they will always be new image files. I understand the need to overwrite though! Good luck with that. I'll be looking forward to seeing your pipeline efforts regarding this.
Oops, yeah my panel does have a CROP TO CAMERA. I forgot I got that to work... It's been a while, oops! It does exactly what I want and need haha. It does seem to error sometimes when the camera is not set up properly...I'll fix that at some point.
I never work with margins in shots (I assume you mean the shots are static, with no animated camera? you just want some extra pixels outside the canvas?), because it seems like a hassle. We storyboard very quick and dirty, though. Feel free to adjust it to your liking if you need of course!
Oops, yeah my panel does have a CROP TO CAMERA. I forgot I got that to work... It's been a while, oops! It does exactly what I want and need haha. It does seem to error sometimes when the camera is not set up properly...I'll fix that at some point.
I never work with margins in shots (I assume you mean the shots are static, with no animated camera? you just want some extra pixels outside the canvas?), because it seems like a hassle. We storyboard very quick and dirty, though. Feel free to adjust it to your liking if you need of course!
- Lukas Sketch Panel
- TVPaint Pro 11.7.3
- MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
- Wacom Cintiq 27QHD + Wacom Intuos4
- YouTube.com/@ClubBaboo
- YouTube.com/@FrameOrder
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: OTANO Storyboard Tools
Indeed I'd use XML export for storyboarding only, not to export any animation. I use .psd to have a separated layer for dialogs/notes and do blur effects and camera movements. I guess it would be easy to set your xml export script to .psd however, from what I remember. Don't know if xml import in premiere manages it however
On our side storyboard can be pushed pretty far and layouted, and usually we do an edit on a really rough version and then go back to cleaning the storyboard so I kind of need to replace footage to avoid re-timing the rough scenes in my edit with cleaner versions. But I guess sometimes you can't help it but to re-edit it with the new images anyways
But my export diapos can be set both for exporting to do diaporama presentations with single images even on timed storyboards, and also as editing exports that should be able to be overwritten and imported in the right order. But I think I miss some steps I didn't code yet, I'll see next time im at it :')
Regarding margins : I use it to have some room to finish the outside of some posings and backgrounds, to sometimes reframe camera or do small camera movements in tvp like shake cam/ little pans. I also use it to put my texts like dialogue and action notes while exporting, and my premiere file is a bit higher than 16/9 to be able to put those infos here and, when we add sound, to crop those without need to reexport without texts (plus it's cleaner to read the images than with text on them).
We should be back to storyboarding pretty soon with my company so I will update everything when we will be at it and maybe export a video of the resulting pipeline
On our side storyboard can be pushed pretty far and layouted, and usually we do an edit on a really rough version and then go back to cleaning the storyboard so I kind of need to replace footage to avoid re-timing the rough scenes in my edit with cleaner versions. But I guess sometimes you can't help it but to re-edit it with the new images anyways
But my export diapos can be set both for exporting to do diaporama presentations with single images even on timed storyboards, and also as editing exports that should be able to be overwritten and imported in the right order. But I think I miss some steps I didn't code yet, I'll see next time im at it :')
Regarding margins : I use it to have some room to finish the outside of some posings and backgrounds, to sometimes reframe camera or do small camera movements in tvp like shake cam/ little pans. I also use it to put my texts like dialogue and action notes while exporting, and my premiere file is a bit higher than 16/9 to be able to put those infos here and, when we add sound, to crop those without need to reexport without texts (plus it's cleaner to read the images than with text on them).
We should be back to storyboarding pretty soon with my company so I will update everything when we will be at it and maybe export a video of the resulting pipeline
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.