« Handbook for Bloggers and cyber-dissidents | Main | First Flash 8 book about to go to printers »
vCam.v2
The Flash virtual camera v2 is nearing release...
Unlike many 3D applications (3DMax, Softimage, etc), Flash content is based around the concept of a static stage, and does not have a virtual camera. Last year, I created a Flash virtual camera (the 'vCam'), and you can read all about it here.
Although the vCam is very simple, amazingly, nobody had ever thought to do one before, and there was an army of animators who found it very useful. It appears in all sorts of award winning Flash animations, such as previous TGSNT winners and Flash forward finalists.
Anyway, I have been continually asked to add a number of new features. In particular, the most requested addition is the ability to add rotation transitions.
Well, we (me and Dave Dixon, .NET guy from work) have just finished such a vCam, and are busy getting something to Adam Phillips (our animator of choice) so he can test it and tell us if its good to go.
I'm a little tied up at the moment with some client work and book production, but watch this blog for the download link and example files, coming soon.
Added to this post 30 September 2005
To answer some email queries sent to me regarding this post, I am aware that others have created versions of the vCam as a commercial product. My vCam will be a free download.
Posted by motiongraphics on September 29, 2005 10:14 PM
any word on vCam 2?
Posted on November 2, 2005 06:38 PM
I may actually get a decent night's sleep someday because of you, tweens be damned! viva VCAM! I cant wait to try this sucker out. We did think of making a flash camera, but I didnt know about the swf to video software.We've been using after effect's 3D cameras to acheive a 2d/3d look,( this site explains it pretty well:)
http://www.lenstar.org/how/glossary_2D_to_3D.htm
sounds like version 2 will have a ton of functionality for making those effects possible right in flash.Thanks for sharing, Sham.
Posted on November 2, 2005 07:01 PM
Thanks Sham for your wonderful Vcam. I have been using it for a few movies now and it is a BIG time saver. I am really looking forward to the new version of Vcam. I am curious what version 2 will have as new features... The examples look very promising!
Links to movies I made with the Vcam:
http://www.kennisnet.nl/cpb/po/kids/thema/sprookjes/degelaarsdekat/
http://www.kennisnet.nl/cpb/po/kids/thema/sprookjes/roodkapje/
The fairytales are in Dutch!
Thanks again!
Warm regards,
Stefan de Groot
Creative Cave
Posted on November 4, 2005 12:10 PM
Wow this makes life so much easier, thanks a lot for such a wonderful tool.
Posted on November 10, 2005 03:20 AM
This tool is going to rock! I cant wait to download it.
Posted on November 11, 2005 06:31 PM
Hi Sham,
I have been using the previous version regularly and is helping me a lot.. after seeing the demo i just can't wait to put my hands on the new V2... can you plase tell me approx when are you putting it on for the general public like us ? ...
Posted on November 14, 2005 11:03 AM
Hey Sham,
I AM DESPERATE! I'm using Flash 5 and I'm a little confused about the v-cam biz! How, & where do I get a V-cam for Flash 5?
Posted on November 18, 2005 05:27 PM
Egads man this tool is incredible! Thank you!
And that's just from 5 minutes of playing with your version 1 component copied out of the library in your/Adam's waterfall example @ http://www.oreillynet.com/javascript/2004/08/17/examples/waterfall02.fla ....
Can only imagine how cool version 2 will be from the looks of it!
Posted on November 22, 2005 12:58 AM
vCam is the best thing since baked bread. Does anyone know when V2 will be out?
Posted on November 23, 2005 08:16 AM
Wow, this is awesome, i was just wondering on a prjected deadline for the release of the vCam that can rotate, nd if it is already out can someone please tell me about it. I think this is really cool!!
Posted on November 25, 2005 02:35 PM
I would love to be one of the chosen animators to try the new version out! Get in contact with me!
Brilliant work. The depth of field is going to be incredible.
C
:0)
Posted on November 26, 2005 10:58 PM
please let me know when vcam 2 comes out and i would also like to know if you could use it in flash games as a plyer controlled thing where they zoom in and such?
Posted on November 28, 2005 02:41 AM
bummer, two months has passed and not a word from Sham on the status of vCam2. I thought we would have heard something by now.
:-(
Posted on December 3, 2005 01:22 AM
make one for mx
Posted on December 6, 2005 10:47 PM
anybody know where i can download the original vcam until v2 comes out? or anybody wanna send it my mail via email? :-D
Posted on December 7, 2005 07:46 PM
I personally can't wait for v2 to be released, the original has been a lifesaver for making games and I've enjoyed fiddling with the code too. (I only have one problem standing in the way of adding rotation support and that's the annoying fact that the stage's center of rotation is at 0,0 and not the Cam's co-ordinates)
Posted on December 9, 2005 07:36 PM
I really need vcam 2. I'm working on a school animation project that is due after the holiday break. Vcam 2 would help so much its not even funny. I would use the normal vcam, but I need a lot of rotation, and tweening depth. Please release it soon. I need it so bad.
Thanks,
-Sean
Posted on December 17, 2005 12:43 AM
When is the Vcam2 coming out? In about an hour I will need to start the scene with rotation and the updated panning abilities of Vcam2.
Thanks,
-Sean
P.S. My name isn't Nick and on my previous post that is not my email. I don't like posting my email on web pages(to avoid spam).
Posted on December 19, 2005 02:07 AM
I know alot of people are watching this blog especially after sham said the vCam2 was nearing release back in september, well according to his latest entry he's been busy, surprise, and from the sound of his post I wouldn't expect anything, if anything at all. It's way back on his list of things to do in the next year. What a let down that was. I should've known better.
Posted on December 21, 2005 03:05 AM
Has this project died?
Posted on February 9, 2006 12:42 PM
vCam.2... need help?
I can help...
I want to add rotation to vCam.1, but it seems like v2 already has it.
Plus trucking?
Please let me know so we can finish it together if you are busy.
I'd really like to do some rotation effects
:)
Sumner
Posted on February 17, 2006 02:49 PM
I just discovered vCam, and its a great tool. Adam Phillips hints on his littleFoot site (http://biteycastle.com/littleFoot.html) that he is using v2 already. After some searching, I wasn't able to find v2, so I'm assuming that it isn't out to the general public yet.
Thus, I ended up toying with some rotation code, and I've settled on something that, for the most part, works.
Replace the camControl function in the camera with the following: (and replace the first #### with the camera's width [probably 720] and the second #### with the camera's height [probably 480])
function camControl():Void {
   parentColor.setTransform(camColor.getTransform());
   var width:Number = this._xscale/100*####;
   var height:Number = this._yscale/100*####;
   var d:Number = Math.sqrt(this._x*this._x+this._y*this._y);
   var theta:Number = ((this._x!=0)?(Math.atan(this._y/this._x)):(Math.PI/2))-this._rotation*Math.PI/180;
   var scaleX:Number = sX/width;
   var scaleY:Number = sY/height;
   _parent._x = scaleX*(width/2-d*Math.cos(theta));
   _parent._y = scaleY*(height/2-d*Math.sin(theta));
   _parent._xscale = 100*scaleX;
   _parent._yscale = 100*scaleY;
   _parent._rotation = -this._rotation;
}
In addition, add the line
   _parent._rotation = 0;
to the resetStage function.
There is one known problem. The camera fails to function properly when it is rotated while scaleX does not equal scaleY (that means that the camera's dimensions are not proportional to the Stage's dimensions). To be honest, I have no idea why this occurs but if anyone has a way to fix it I would be eternally grateful.
As a last note, I would like to point out that this code is not optimized (when the camera's rotation is 0, it does waaayyy too much math). You can optimize it if you want, I'm just to lazy to do so.
Posted on April 3, 2006 10:07 PM
Im just wondering, the vCam available now, is it only compatible with MX 2004 or can Flash 8 use it too.?
I keep getting code error reports from flash 8 when publishing the file.
Posted on April 14, 2006 01:15 AM
Vcam was an awesome tool. I have several thumbs and half a brain when it comes to the actionscript side of Flash so it saved me hundreds of hours of tweening last year. Your a freaking genius. Thanks.
Posted on April 21, 2006 01:29 AM
any know how i can contact him i want to learn how to use the v-cam i tried many times but for some reason it dosnt work sum1 has to explain it throuly to me
Posted on June 21, 2006 12:25 AM
You use it like a symbol and you modify its size and position to direct it.
Posted on June 27, 2006 09:35 PM
Yo.
I got ahold of Sham's vCam from the waterfall .FLA, but, although it seems to work on the .FLA it came from, and it also works if I place it in its own .FLA, when I copied the camFrame movie clip, the vCam, into the movie I was working on... I tested it and the following showed up:
**Error** Symbol=camFrame, layer=actions, frame=1:Line 1: '{' expected
function camControl():Void {
**Error** Symbol=camFrame, layer=actions, frame=1:Line 9: Unexpected '}' encountered
}
Total ActionScript Errors: 2 Reported Errors: 2
I don't think the fact that I'm using Flash 8 is the problem because, as I stated above, I put vCam in its own .FLA, and it worked. And I opened the waterfall .FLA with Flash 8, anyway, and it worked when toyed around with it.
Can someone please help me? ^^ vCam is a VERY usefull tool, because now I no longer have to animate stuff part by part or move a motion clip with animation inside it just for a zoom or pan effect. I need this so I can ensure that my next movie looks good without getting all tangled up in motion clips. =D
Posted on July 2, 2006 06:40 AM
wow dude , just have to say you rock^^ you helped so many people with your vCam, and it had been a while since i was looking for such a component^^
can't wait to use the v2, hope it(s gonna be soon^^
let me know when it is available^^
thanls again and go on like that dude^^
Posted on July 27, 2006 09:53 PM
Hello, Can someone please tell me how this Vcam works?
Thx! , Nabil
Posted on August 19, 2006 01:13 PM
Hello, Can someone please tell me how this Vcam works?
Thx! , Nabil
Posted on August 19, 2006 01:15 PM
Will there be any news about the vCam v2?
Posted on December 26, 2006 06:23 PM
When is it gonna be released?
Posted on May 21, 2007 04:21 PM
I would love to see the v2 of this as well! What license is this, btw?
Posted on August 15, 2007 04:56 PM
You are pure genius!
Posted on November 7, 2007 06:05 AM