PDA

View Full Version : LW-link v0.2: a different kind of 3D blocking workflow



vncnt
08-30-2011, 04:53 PM
LW-link serves as a bi-directional datalink between Sony Vegas Pro 10 and NewTek LightWave 10.

NEW in v0.2: "Audio Event to LWS", "Render Quality Presets" and "Send to ScreamerNet"

Video LW-link v0.2 http://www.vimeo.com/28378997
Video LW-link v0.1 http://www.vimeo.com/27381308

Free download of LW-link v0.2 http://members.upc.nl/c.koppes1/LW-link.zip

LW-link is a non-commercial personal project.

Cageman
08-30-2011, 05:25 PM
Kick-*** stuff!

:thumbsup:

jeric_synergy
08-30-2011, 07:42 PM
Extremely interesting. Do you happen to know if this script will work in any other of the Vegas editions, such as the lower cost, IIRC "Studio" versions?

Thanks for making this available!!!

vncnt
08-30-2011, 10:39 PM
Extremely interesting. Do you happen to know if this script will work in any other of the Vegas editions, such as the lower cost, IIRC "Studio" versions?

Thanks for making this available!!!

Sorry, "Application Scripting" is only supported by the Pro edition.
Instead you could install a 30 days evaluation copy of Sony Vegas Pro.

jeric_synergy
08-30-2011, 10:45 PM
Ahhhhh, but that will just make me want to buy it with my nonexistent money. >;^)

Thanks for responding!!! (Vegas looks very cool.)

allabulle
08-31-2011, 05:58 PM
I will try it. Maybe if it works I'll buy the program too. Thank you for sharing!

vncnt
08-31-2011, 10:59 PM
I will try it. Maybe if it works I'll buy the program too. Thank you for sharing!

Make sure you can live with itīs intentions & limitations and test the script in your situation before you buy anything.

You must understand that this is a non-commercial script and that more tests should be performed in real situations to get it robust for production environments.

Please let me know if anything fails or needs my attention that is not in the todo list (in the top section of the script file).

goodrichm
09-01-2011, 06:37 AM
Thanks so much for this! Will this work with LW9.6?

vncnt
09-02-2011, 01:14 AM
Will this work with LW9.6?

Iīve uploaded scene07_shot03.lws so you can test this. It includes a new VPR section that wasnīt there in 9.6 but maybe it will just be ignored.

LW-link.js contains a few references to the executables of Layout and ScreamerNet - might be in another location.

Features that LW-link uses is about functionality that is in there for a long time. All modifications (if needed at all) can easily be done using Notepad.

I can check this myself next monday.

vncnt
09-05-2011, 12:15 PM
LW-link v0.2a is now available.

LW-link is not limited to Video- or Audio Events anymore!
From now on it can use image files too
... or images that are animated in time.

Free download of LW-link v0.2a http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
09-07-2011, 03:21 PM
I've updated LW-link to v0.2c.

Now you can also use Generated Media to generate a LWS scene file.

Supported Event types:
- generated media
- single images
- video
- audio
- video + audio


Generated media will be exported as a single frame AVI (to be looped in LW) or as a multi frame AVI if the generated media was animated.

Single images will be copied to the project map or exported as AVI backplate if the image was animated.


Free download of LW-link v0.2c http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
09-08-2011, 02:34 AM
Iīve uploaded scene07_shot03.lws so you can test this. It includes a new VPR section that wasnīt there in 9.6 but maybe it will just be ignored.

LW-link.js contains a few references to the executables of Layout and ScreamerNet - might be in another location.

Features that LW-link uses is about functionality that is in there for a long time. All modifications (if needed at all) can easily be done using Notepad.

I can check this myself next monday.

It seems that LW9.6 reads this testfile perfectly except the mp3 audio (use .wav instead).

goodrichm
09-08-2011, 09:26 AM
It seems that LW9.6 reads this testfile perfectly except the mp3 audio (use .wav instead).

That's outstanding, thanx for checking!

I'm obviously doing something wrong or something is missing from my pc because I can't get it to work.

I've been following your videos:
-I select an audio event (.wav) & then a video event (.avi) in Vegas 10b (either x32 or x64),
-select the LW-link .02c script,
-the program renders,

I then get the following error every time at this point:

"System can't find file specified (Exception from HRESULT: 0x80070002"

Do the source files have to reside in a specific folder?

Maybe different Javascript version? I'm using Java 6 update 23 and update 15 (64bit).

vncnt
09-08-2011, 11:12 AM
That's outstanding, thanx for checking!

I'm obviously doing something wrong or something is missing from my pc because I can't get it to work.

I've been following your videos:
-I select an audio event (.wav) & then a video event (.avi) in Vegas 10b (either x32 or x64),
-select the LW-link .02c script,
-the program renders,

I then get the following error every time at this point:

"System can't find file specified (Exception from HRESULT: 0x80070002"

Do the source files have to reside in a specific folder?

Maybe different Javascript version? I'm using Java 6 update 23 and update 15 (64bit).

Ah, since itīs directly after rendering I think you have installed LightWave in a different location.

Open the LW-link script in Notepad and search for: Layout.exe
You should check/modify these two lines:

callProgram("\"C:\\Program Files\\NewTek\\LightWave10.1\\bin\\Layout.exe\"","\"" + SceneFileName + "\" -0");

and

callProgram("\"C:\\Program Files\\NewTek\\LightWave10.1\\bin\\Layout.exe\"","\"" + RenderQueue[v] + "\" -0");

Is your LW installed in this directory?
If you are using LW9.6 it might be changed to something like:
C:\\Program Files\\NewTek\\LightWave\\Layout.exe

Iīm using Vegas Pro 10.0e (Build 738) 64-bit.
Iīm not sure but it might rely on Microsoft .NET Framework 4, I have v4.0.30319 installed
(EDIT: according to Sonyīs website it needs Microsoft .NET Framework 3.0)


PS In the next version Iīll add a LW path check.

vncnt
09-08-2011, 06:42 PM
Repeat this for lwsn.exe

There are two lines that contain:
C:\\Program Files\\NewTek\\LightWave10.1\\bin\\lwsn.exe

goodrichm
09-09-2011, 09:20 AM
Thank you so much, customizing the paths did the trick! Now I can test drive this wonderful program of yours!!!

vncnt
09-10-2011, 03:38 PM
LW-link v0.21 posted.

This version does actually save and read the Render Quality Parameters to/from a *.QP file (in the project map) in the ScreamerNet Render Quality dialog.

Currently limited to activate check boxes. Also multiple selections possible.

In one of the next updates Iīll add a feature so it will search for a default.QP file and read it, saving even more time.

Free download of LW-link v0.21 http://members.upc.nl/c.koppes1/LW-link.zip

Demo video #2: http://www.vimeo.com/28378997
Demo video #1: http://www.vimeo.com/27381308

vncnt
09-19-2011, 11:39 AM
LW-link v0.22 posted.
See URL in video on Vimeo. Didnīt have time to add a third video yet.

- Added support for saving/loading Layer Presets for each Object in the LWS scene file as a first attempt to integrate layers in this workflow.

- "Add as Take" is now also performed after re-opening LWS scene files. Based on the Preview filename in the LWS scene file and existance of that file.

The new ScreamerNet Layer Settings dialog will start after the ScreamerNet Quality Settings.

The Quality Settings will modify quality related settings in all LWS scene files that were linked to the selected Events on the timeline. Every LWS scene file receives the same modifications.

The Layer Settings will modify layer related settings for every LWO object per LWS scene file that were linked to the selected Events on the timeline. Each LWS scene file receives different modifications.

In the end all quality/layer modifications are written to *_LW-link.lws files. No source LWS is overwritten.

Note that this new functionality might have undiscovered limitations. Be careful.

vncnt
09-23-2011, 03:16 PM
LW-link v0.22a posted.

- bugfix: Layer Settings: last object wouldnīt receive an update of shadow options
- bugfix: Layer Seetings: Open *.LP file didnīt respect ObjectID and LayerID
- From now on Vegas markers (and regions) may contain spaces. All spaces will be converted to underscores because LW still canīt read marker text labels that include spaces.

Free download of LW-link v0.22a http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
09-27-2011, 02:28 PM
LW-link v0.22b posted.

- Image sequences for RenderBuffers and RGB/Alpha sequences are now put in their own directory (that are also created automatically), grouped by Event Name, to keep output directories clean.
If you switch (using Quality Presets) between Blocking, Preview and Final settings all maps are redirected accordingly. Example: C:\_____LW-link_____\Previews\scene1_shot1\RGB

- Added check to verify the location of Layout.exe and lwsn.exe and added help text to modify variables _LAYOUT_PATH_ and _SCREAMERNET_PATH_ to prevent script errors.

Free download of LW-link v0.22b http://members.upc.nl/c.koppes1/LW-link.zip

allabulle
09-29-2011, 09:09 AM
Thanks again vncnt!

vncnt
10-03-2011, 01:53 PM
LW-link v0.23a posted.

- New dialog when dealing with one or more valid links: OPEN, SEND, SCAN, CANCEL.

- LW-link can now search for rendered RGB and Alpha image sequences, via button "SCAN", and put them in the selected Media Bin in the Vegas Project Media window. The RGB image sequence will be added as a take to the selected event. You can press SCAN as soon as the first frame exists.

- Also LW-link can now search for RENDER BUFFER image sequences and put them in the selected Media Bin in the Vegas Project Media window.

[EDIT]
- bugfix: Render Buffer file names were mixed-up.

vncnt
10-09-2011, 03:08 PM
LW-link v0.25 posted.

- new: SEND to SynthEyes. This button will render the selected Event to an uncompressed AVI (if it doesnīt exist already), start SynthEyes and opens this avi with PMW-EX1 backplate and video format settings.

When a .sni file with the same name as the selected Video Event exists in the Matchmove directory, this SynthEyes project file will open in SynthEyes.

Note that there are two new buttons that are currently disabled because I didnīt have the time yet to script that part.

vncnt
10-12-2011, 03:07 PM
LW-link v0.25a posted.

Iīve enabled button: VERSION++ (see also picture in previous post)
and added code to update the version number of the LWS scene file, overlay label, preview AVI filename, image sequence output filenames: RGB, ALPHA, RENDERBUFFERS and the Event.Tapename (and backup: Event.Name) of the active take.

If no valid version number exists it will append "___v00001" to the (Vegas) Event Name in the filename.

vncnt
10-16-2011, 01:16 PM
LW-link v0.25b posted.

New: SYNC in/out.
Update the in-point and out-point of selected Video Events in each LWS scene file (render range and preview range) based on "Timecode at frame 0".
All data will be written to a new LWS with updated version number and references.

New: auto-disable MaintainAspectRatio.
MaintainAspectRatio will be auto-disabled before exporting proxy backplates to prevent black borders.

LW-link has been tested with:
"NewTek LightWave 10" Ver 10.1 Build 2161 64-bit
"Sony Vegas Pro" Ver 10.0e (Build 738) 64-bit
"Windows 7" 64-bit
"Andersson Technologies SynthEyes" Ver 2011.0.1007 64-bit
"XDCAM EX source files (Sony PMW-EX1)"

Free download of LW-link v0.25b http://members.upc.nl/c.koppes1/LW-link.zip

chco2
10-16-2011, 02:40 PM
He Vincent!

Great job! I guess its time for a good video-tutorial cause your slowly losing me with all the features and what they can do.
Also.. one page with all features would be awesome!

Thanks!
Charly

vncnt
10-18-2011, 11:10 AM
He Vincent!

Great job! I guess its time for a good video-tutorial cause your slowly losing me with all the features and what they can do.
Also.. one page with all features would be awesome!

Thanks!
Charly

Hi Charly,

How about a manual with 15 pages?
Iīve included a PDF in the ZIP file: http://members.upc.nl/c.koppes1/LW-link.zip

Please let me know if there is something missing in this PDF.

Tomorrow Iīll start working on my third video.
This might take a few days.

Vincent

vncnt
10-19-2011, 02:27 PM
LW-link v0.25c posted, incl. manual (PDF).

- bugfix: After reloading a Quality Preset file (*.QP) or a Layer Preset files (*.LP) file, a setting was applied to all sub-trees.
- New: NTSC format added to frame formats in ScreamerNet Quality Settings.

Free download of LW-link v0.25c http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
10-22-2011, 12:54 PM
LW-link v0.26 posted, incl. manual (PDF).

- New: auto-load of default.QP and default.LP ScreamerNet Quality/Layer Settings.
- bugfix: error in case of applying LW-link to an audio event, caused by aspect ratio solution.
- New: added SYNC markers/regions to "SYNC in/out" button.

Free download of LW-link v0.26 http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
10-31-2011, 12:54 PM
LW-link v0.26a posted, incl. manual (PDF).

- bugfix: Version++ and SYNC applied an updated link not only to the selected event but also to the rest of the non-selected events on that track.

Free download of LW-link v0.26a http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
11-20-2011, 11:59 AM
LW-link v0.27 posted, incl. manual (PDF).

- bugfix: in case of "fresh manual link" and "re-link" the modified tapename was not copied to the (protected) eventname field so LW-LINK treated this event as a fresh manual link or re-linked event each time you activated LW-LINK.
- bugfix: "(re-)render proxy file?" didnīt seem to work after "fresh manual link" and "re-link".
- bugfix: in case of "re-link" the first time the old link was used instead of the updated link, except when relinking to the original LWS scene file.
- bugfix: BuildMarkers has been centralized and markers/regions outside the preview range wonīt show up in a new or synced LWS scene file. This is better for large projects with lots of markers/ranges.
- changed the "SYNC in/out regions/marker" button to "SYNC"
- added check and adjustment for DataOverlay when using SYNC button.
- changed _LAYOUT_PATH_ and _SCREAMERNET_PATH_ to enable use of LightWave v11

Free download of LW-link v0.27 http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
01-03-2012, 02:05 PM
LW-link v0.28 posted, incl. manual (PDF) and demonstration video (Vimeo).

- new: COMPOSITE - creates or opens a (.comp) Fusion 6.3 composition project file, based on available (rendered) Image Sequences and Event name on the Vegas-timeline.
- MP3 proxy audio has been replaced by PCM audio to be compliant with Fusion
- modifications to be prepared for LW11
- several bugfixes


Demonstration video #3: http://vimeo.com/34524332

Free download of LW-link v0.28 http://members.upc.nl/c.koppes1/LW-link.zip

allabulle
01-03-2012, 02:43 PM
Splendid job, Vincent!

Thanks! (If only could I test it properly -and sleep sometimes..!)

vncnt
01-03-2012, 11:23 PM
Splendid job, Vincent!

Thanks! (If only could I test it properly -and sleep sometimes..!)

Sleep?
Hmm, maybe thatīs why my eyes feel square.

Of course you could try the free 30-days trial of Vegas.

vncnt
04-02-2012, 01:48 PM
LW-link v0.29 posted, incl. manual (PDF).

- new: REASON 6 - can send the proxy *.wav file to Reason 6.0.2 as an audio track or opens a (.reason) Reason 6.0.2 project file, referenced in the TapeName field of the audio event on the Vegas-timeline.

Now you can quickly access music production (or voice distortion) project files from the Vegas-timeline, making LW-link a more universal 3D blocking tool.


See text remarks in this page: http://vimeo.com/34524332

Free download of LW-link v0.29 http://members.upc.nl/c.koppes1/LW-link.zip

vncnt
10-08-2012, 01:44 PM
I can confirm that LW-link is compliant with Vegas Pro 12.

Netvudu
10-09-2012, 03:24 AM
Iīm going to test this. I just want you to know youīre my new hero :)

vncnt
10-12-2012, 02:25 PM
You almost make me blush.

Yesterday Iīve solved a bug: "Re-opening a Reason file caused Vegas to wait forever". Iīll check for other issues before publishing the next release.

Another issue is the Preview AVI that is returned by Layout. There seems to be a slight aspect ratio difference between the original source and this AVI plus I try to find a simple solution to force Layout to render to Rec.709 studioRGB (15-235) color space (or force Vegas Pro to add a event plugin) so it will match the XDCAM-EX source files.

Also found a behaviour that isnīt exactly a bug but just the way Vegas Pro deals with events: if you cut more than one event from one source file it seems that all these events share the same properties, incl. the tape name field. So you canīt have different LWS files linked to this type of events. Iīm looking for alternative method to link events to external files from Layout(+Screamernet) / SynthEyes / Fusion / Reason.