3__ Posted August 30, 2006 Share Posted August 30, 2006 Having some trouble with chread; tried the following with no luck: chread -o $TSTART "obj/cam1/tx" "obj/cam1/ty" "obj/cam1/tz" "obj/cam1/rx" "obj/cam1/ry" "obj/cam1/rz" "obj/cam1/focal" 'C:/temp/maxcamtest.chan' This made keys in tx but they had no value. The other channels were ignored. Is this the correct syntax for writing to multiple channels? Also how to I make the channels 'raw' in the first place? the help page doesn't elaborate... In the above case I just typed in a random string. thanks, -cpb Quote Link to comment Share on other sites More sharing options...
ptakun Posted September 6, 2006 Share Posted September 6, 2006 Yo!! Can You show the file 'C:/temp/maxcamtest.chan' ?? Cheers!! Quote Link to comment Share on other sites More sharing options...
3__ Posted September 8, 2006 Author Share Posted September 8, 2006 yep see attached... -cpb maxcamtest.zip Quote Link to comment Share on other sites More sharing options...
ptakun Posted September 8, 2006 Share Posted September 8, 2006 yep see attached...-cpb Hi Every channel in file maxcamtest.chan must be separated with tab. Just check: Channel editor/Animate/Load-Save Channels Cheers! Quote Link to comment Share on other sites More sharing options...
3__ Posted September 11, 2006 Author Share Posted September 11, 2006 Now when I try to read the attached chan file (tab separated vector values) with the following command I get a segmentation fault with V8.1.655. chread -f 1 78 "obj/cam1/tx" "obj/cam1/ty" "obj/cam1/tz" "obj/cam1/rx" "obj/cam1/ry" "obj/cam1/rz" "obj/cam1/focal" 'C:/temp/maxcamtest.chan' When saving channels via channel editor and loading back in using chread there are no problems... -cpb maxcamtest.zip Quote Link to comment Share on other sites More sharing options...
ptakun Posted September 11, 2006 Share Posted September 11, 2006 If You use: chread "obj/cam1/tx" "obj/cam1/ty" "obj/cam1/tz" "obj/cam1/rx" "obj/cam1/ry" "obj/cam1/rz" "obj/cam1/focal" then every channel data must be separated in one line. Like this: tx ty tz rx ry rz focus next frame... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.