It is currently Thu Sep 02, 2010 9:51 pm

Registration
Login Help

Advertise Here

[Plugin] Camera Recorder v1.7 UPDATED 11-19-09

FAQMembersRegisterLogin

[Plugin] Camera Recorder v1.7 UPDATED 11-19-09

Postby Chris Fullmer on Wed Nov 11, 2009 9:13 am

clf_camera_recorder.zip

UPDATES v 1.7 Nov. 19, 2009
  • Added the ability to export frames to scenes
  • Script now remembers user settings from SketchUp session to session

This plugin will record your navigation movements and export them as a series of images. You can then put them together into a movie using something like Quicktime Pro.



It is installed in Plugins > Chris Fullmer Tools > Camera Recorder
It also installs a toolbar - sorry to everyone who has toolbar frustrations.

Usage:
Start recording
Navigate around the model
Stop Recording
Erase recording if it is not what you wanted.
Export recording if you want to keep it.
Play animation if you want to see what was recorded before exporting
Draw Points - adds construction points to the model that represent the camera and target for each frame. There is no way to edit these yet.

Exporting asks you to paste in a folder path, an image basename, and select either jpg or png.

I'll try to get a video put up soon that explains it better.

The export folder MUST EXIST already. This plugin will not create a folder for you, and it does not check if it exists. If it does not exist, the script will not export the images succesfully.

UPDATES v 1.5 Nov. 11, 2009
  • Fixed the lag bug that occured in the beginning of each recording
  • Added more user feedback when buttons are pressed in the wrong order
  • Added the abilty to control image output height, width and anti-aliasing
  • Added better file names so that more software will correctly order the image frames
  • Added a recording playback button, so that recordings can be played back before exporting.
  • Added a tool to place constructions points at the location of each frame, with another construction point where the camera is pointing.
  • Added some new icons, but they still need help.
UPDATES v 1.7 Nov. 19, 2009
  • Added the ability to export frames to scenes
  • Script now remembers user settings from SketchUp session to session
clf_camera_recorder.zip
You do not have the required permissions to view the files attached to this post.
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Camera Recorder v1.0

Postby Ecuadorian on Wed Nov 11, 2009 9:20 am

Chris, I appreciate very much that you chose to hang around with us instead of accepting that job in the NASA.

Thank you! :thumb:

UPDATE: Here's my first try with it:
output.gif
You do not have the required permissions to view the files attached to this post.
Are you reading signatures? Dude, you need to get out more often.
User avatar
Ecuadorian
 
Posts: 1213
Joined: Thu Jan 15, 2009 10:20 pm
Location: Guayaquil, Ecuador
Name: Miguel Lescano
Operating system: Windows 7 Pro 64-bit
SketchUp version: 7.1

Re: [Plugin] Camera Recorder v1.0

Postby Chris Fullmer on Wed Nov 11, 2009 10:39 am

Cool, glad it worked.

And Nasa....if only they offered me a job! That would be cool.

In the script, I think I have noticed that it lags in the very beginning, no matter how fast I start navigating after pressing the record button.

That might be a bug I'll need to look into.

Chris
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Camera Recorder v1.0

Postby TIG on Wed Nov 11, 2009 11:02 am

Chris

Thanks - this tool is a great idea...

I noticed the initial 'lag' too - if you know how long it is then why not simply ignore the first NNN frames ?

I know you name the images with an integer +e.to_s and increment it... but if you added a suffix to the image name, e.g. and then use .next to increment the string... then the files sort by name properly...
Code: Select all
img_name=img_name+"0000"
### inside do loop...
  img_full_name = File.join( imgfolder, img_name+"."+img_type )
  imag_name=img_name.next ### makes "image0000" into "image0001" etc etc
###...
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: [Plugin] Camera Recorder v1.0

Postby Mike Lucey on Wed Nov 11, 2009 11:21 am

Thanks Chris for sticking with Camera Recorder. This will be a ruby that I will use a lot as it will be a great way of taking am SU model to the iPhone.

Mike
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
User avatar
Mike Lucey
Mayor
 
Posts: 4949
Joined: Mon Oct 22, 2007 1:22 pm
Location: West of Ireland
Operating system: Mac OSX
SketchUp version: SU Pro V7.1

Re: [Plugin] Camera Recorder v1.0

Postby rclub24 on Wed Nov 11, 2009 11:46 am

This script is exactly what i need. Was considering 3D pdf plugin but this will work even better for what i do

thanks so much for all your hard work :thumb:
[Insert humorous quote here]
User avatar
rclub24
Global Moderator
 
Posts: 1269
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich
Operating system: Windows 7 64bit
SketchUp version: SU6 Pro & 7.1 Free

Re: [Plugin] Camera Recorder v1.0

Postby Chris Fullmer on Wed Nov 11, 2009 4:57 pm

@Everyone - Thanks! This was a fun script to write. Glad you like it so far.

@TIG - Good to know about the .next method. I have not used that before. That would make for better filenames. I know quicktime is smart enough to figure out my file names, but I don't think Photoshop is (unless CS4 finally figured it out).

So that will be a good fix. And I'll have to look into the initial lag. I'm not sure if it is always the same amount of lag.

Thanks for looking at this one,

Chris

PS - the icons are just placeholders. But I don't know when I'll have time to make decent new ones. If someone wants to make a few, feel free. Otherwise you'll all have to live with the ugly ones I put in.
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Camera Recorder v1.0

Postby Pilou on Wed Nov 11, 2009 5:18 pm

Metro Goldwyn Maeyer ;)
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
 
Posts: 4345
Joined: Wed Jan 23, 2008 10:33 pm

Re: [Plugin] Camera Recorder v1.0

Postby plot-paris on Wed Nov 11, 2009 5:28 pm

great little tool. now at last I can put my space navigator to some real use :)

I especially like the fact, that the plugin only saves the camera position and orientation, but ignores layer visibility, shadow settings etc. thus one can switch off everything that slows down the model, record the camera motoin, then switch on all the fancy stuff and export the animation.

I have got two ideas to make this tool truely powerful (kwistenbiebel would love it):

- option to export the camera motion as a path - camera path and target path, either with a vertex for every frame or as a 'smoothed' version via splines...

- a replay button to review the camera motion, ideally with the option to take changes to the camera path into account

like that one could create an animation (e.g. with space navigator) intuitively and then refine it manually by accessing the camera path...
User avatar
plot-paris
 
Posts: 1525
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: Jakob Winter
Operating system: Windows 7
SketchUp version: 7.0

Re: [Plugin] Camera Recorder v1.0

Postby modelhead on Wed Nov 11, 2009 8:24 pm

Icons for you.....
example.jpg
Give them a try...if they are not suitable just toss them...cheers!!
You do not have the required permissions to view the files attached to this post.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
modelhead
 
Posts: 2570
Joined: Mon Nov 12, 2007 3:53 pm

Re: [Plugin] Camera Recorder v1.0

Postby Chris Fullmer on Wed Nov 11, 2009 8:32 pm

Great Modelhead, thanks! I'll include those in the next release.

As for exporting the path, etc. Yes, that would be cool. I can export the path easy enough. Its just creating an intuitive, useful way to edit it, and then have the plugin recognize it to update the recording. So I'll keep thinking about it.

And a replay button is in order here I think. I'll see if I can get that included in the next release also.

Thanks for the comments and encouragement folks.

Also, a big thanks to Jim for a bit of help with the folders and paths!

Chris
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Camera Recorder v1.0

Postby TIG on Wed Nov 11, 2009 8:59 pm

Here's some button pngs - they'll need renaming...
Recorder Icons.zip
You do not have the required permissions to view the files attached to this post.
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: [Plugin] Camera Recorder v1.0

Postby Chris Fullmer on Thu Nov 12, 2009 3:04 am

Well its coming along pretty well so far. I've got the filename improvements implemented - thanks for the code TIG!

I've got it so it can replay the animation in SU. I fixed the pause at the beginning of the animation. I even made it export a series of construction points for the location and target of each frame.

But I still don't have a great way to make it so that you can alter the animation by moving the construction points. I have some ideas, but most seem like overkill so far.

Anyhow, we'll see if I come up with something that works before bedtime. Hopefully I'll have a new version posted, with a video within 6 or 7 hours.

Chris
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Camera Recorder v1.0

Postby solo on Thu Nov 12, 2009 3:37 am

Dang!!

Thanks a bunch, this is why SU still rocks.
My Portfolio:
http://solosplace.com/default.aspx

The average user never reads user guides and tutorials, that's why they are only average.
User avatar
solo
Global Moderator
 
Posts: 6660
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Vista
SketchUp version: classified

Re: [Plugin] Camera Recorder v1.0

Postby plot-paris on Thu Nov 12, 2009 10:25 am

wow, that sounds brilliant, Chris. can't wait for the update! :bounce: (would you mind posting the date of the update in the title of this thread? that makes it easier to check).

about the path editing thing: it probably doesn't make too much sense to edit the position points one by one (if you've got 24 fps, that would mean a lot of work).

one solution might be to employ fredo's cubic bezier curve (with the necessity of installing that plugin though) and place control vertexes at a chosen interval (like once per second, setting the precision of the curve to fill in 24 edges between the control points).
that would of course result in a smoothing of the path and might lead to unwanted results, when the camera motion changed speed quickly at some point (because then the bezier curve will create weird loops).

maybe there could be different options (the smoothed path output via cubic bezier curve or a true path output with every vertex unchanged (e.g. polyline)).

would definitely be interesting to see the influence of the smoothing process on the final output. might make the whole animation a bit nicer (like steady shot with physical camera). on the other hand one might lose the particular feeling of the 'handmade' animation...

I have to say I am really excited about this plugin! thank you so much Chris, for doing this :thumb:
User avatar
plot-paris
 
Posts: 1525
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: Jakob Winter
Operating system: Windows 7
SketchUp version: 7.0

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

3DVinci - Step-by-step SketchUp tutorials. Learn by Doing!
Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: No registered users and 3 guests