A forum dedicated to George scripting questions
Lukas
Posts: 526 Joined: 14 Jan 2011, 11:15
Contact:
Post
by Lukas » 19 Mar 2019, 13:22
Hi everyone,
Is there a way to save a single frame with George and use the
camera view instead of the
project view ?
Right now I'm using (after merging all layers):
and
But both are rendering the project view...
I can not get
https://wiki.tvpaint.com/index.php?titl ... veSequence to work, but it should be possible that way, maybe? I need to render 1 frame at a time, because I am generating XML files with the timing.
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
Svengali
Posts: 1570 Joined: 28 Dec 2006, 10:08
Post
by Svengali » 19 Mar 2019, 19:53
Lukas,
I think the syntax you want is something like:
Code: Select all
// save five camera view frames (CameraView00000.png thru CameraView00004.png) into GEORGE folder
FrameStart = 0
FrameEnd = 4
tv_GetPath GEORGE
GeorgePath = result
PathFile = CONCAT(GeorgePath,"CameraView.png")
PathFile = '"' PathFile '"' // enclose path-filename with (single quote double quote singlequotes)
tv_ProjectSaveSequence PathFile CAMERA FrameStart FrameEnd
errornum = result
IF errornum == 0
tv_warn "camview frames saved"
END
Sven
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
Lukas
Posts: 526 Joined: 14 Jan 2011, 11:15
Contact:
Post
by Lukas » 20 Mar 2019, 10:55
Thank you Svengali!
I needed this part:
Code: Select all
filePath = '"' filePath '"' // enclose path-filename with (single quote double quote singlequotes)
tv_ProjectSaveSequence filePath CAMERA frame frame
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
Svengali
Posts: 1570 Joined: 28 Dec 2006, 10:08
Post
by Svengali » 20 Mar 2019, 14:06
thought that might be it.
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