Camera View

Okay I'm trying this tutorial on kirupa.com that talks about
3D. I'm not advanced in actionscript at all. I need help
understanding what's going wrong with this code. What is suppose to
happen is you're suppose to be able to zoom in or your suroundings
move. The URL is
Here
My code is below.
onClipEvent(enterFrame)
origin = new Object();
origin.x = 150;
origin.y = 150;
focalLength = 300;
figureA.x = -50;
figureA.y = 0;
figureA.z = 0;
figureA.dir = 1;
speed = 20;
backAndForth = function(){
this.z += speed*this.dir;
if (this.z > 500){
this.z = 500;
this.dir = -1;
}else if (this.z < 0){
this.z = 0;
this.dir = 1;
var scaleRatio = focalLength/(focalLength + this.z);
this._x = origin.x + this.x * scaleRatio;
this._y = origin.y + this.y * scaleRatio;
this._xscale = this._yscale = 100 * scaleRatio;
this.swapDepths(-this.z);
figureA.onEnterFrame = backAndForth;
Someone please help me understand what I'm doing wrong.
Thanks,
Nikki

It depends on how you've implemented the single camera views. If you have separate JComponents displaying each view, you can just add them to a parent container and lay them out however you want. You could also use JInternalFrames and line them up like uj said. The second way would make it easier for you to let the user move them around, if that's what you want.

Similar Messages

  • My camera always freezes when I try to switch to front camera view. How can I fix this?

    The original camera app on my iPod touch does not work. The camera shutter would not open. I purchased and downloaded another camera app and it works- only the camera freezes when Itouch the icon in top left corner to get it to switch to front camera view. Has anyone had this problem? If so is there something I can do to correct it?

    Have you tied the standard fixes:
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    -restore the iPod from backup
    - Restore the iPod to factory defaults.
    - Also look at this long-running previous discussion on your problem.
    Camera shutter issue: Apple Support Communities

  • Yahoo Msger with Web-cam view support

    Does anyone know of any other client besides Gyach Enhanced that allows web-cam viewing using Yahoo Messenger?  I am unable to compile Gyach Enhanced and I have not found another client that supports this.  If you have been able to compile Gyach Enhanced on Arch could you please provide me the details?  Any help will be appreciated.
    Thank you

    I found http://gyachi.sourceforge.net/ and I attempting to compile, however, I receive the error:
    checking for GTKHTML... configure: error: Package requirements (libgtkhtml-2.0 >= 2.0) were not met:
    No package 'libgtkhtml-2.0' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables GTKHTML_CFLAGS
    and GTKHTML_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    I have libgtkhtml-2.6.3-2 and it seems to be located in /opt/gnome/include/gtkhtml-2.0/libgtkhtml .  Does anyone have any suggestions on getting this to compile or how to edit the PKG_CONFIG_PATH ?  I attempted GTKHTML_LIBS=/opt/gnome/include/gtkhtml-2.0/libgtkhtml  but I still receive the same error.
    Thank you.

  • Skype own camera view location

    I have just set up Skype on a Sony Bravia TV.
    Can anyone tell me how to move my camera view when in a Skype call from one corner to another corner like you can do on a tablet/ laptop/ desktop.
    With my ipad I am able to put my finger on my camera view and move it around the screen but I am unsure how to move it around or even turn it off on the Sony Bravia.
    Thanks

    Hi
    Unfortunately on the Sony Bravia TVs, the camera view is fixed to the bottom right hand corner of the screen

  • Unable to See Camera Angles in Multi-Camera View

    Hello Adobe Community,
    I seem to be missing the ability to see my camera angles in Multi-Camera view as you can see in the picture below.
    I feel it may caused by me trying to get Adobe Encore to work. I have been trying to get Encore by installing and un-installing an older version of Premiere CS6 with no success. On a side note, Premiere Pro CC 2014 crashes on launch.
    I'm running Premiere Pro CC on a MAC running OS X version 10.9.4 with 3.4 GHz Intel Core i7 with 8GB 1333 MHz DDR3.

    Hi Sascha,
    No i cannot see the buttons either.
    Following is how the view is embedded.
    View - > Tray - >viewcontaineruielement-> wnd_selection_screen.
    Am i missing something?
    regards,
    Priyank

  • How to draw white border(only corner) lines around camera view finder

    Hi. You know those white corner lines around the camera view that is found on most camera apps, how do I draw those lines around the camera view? I'm developing a video camera app and now I want to draw those lines to indicate where the camera view finder
    is. The white line starts at the top left corner of the camera view(horizontal) then stops about one quarter and starts again at the other side(top right). The same at left, right and bottom side. It shouldn't be a full square/rectangle just the corners. I
    think you understand what I'm talking about now. How can I draw just "video camera corner lines"? After this question I want to ask you how to change the resolution like to 176*220, 240*320 ect and what the available resolutions is for capturing
    video-clips. For now just the white corner lines of camera view. Thanks in advance:-)

    How do I draw lines and shapes on top of the camera view finder(cvf)?
    +how do I show the battery life bar on cvf?
    +how do I programmatically add text on the cvf?
    +how do I make a connection request? (connect to a URL)?
    +how do I change the resolution of the video camera? What is the acceptable values for resolution?
    +how do I listen for touch events on the cvf?
    Thanks

  • Help Improve Premiere! FR: Separate, maximizable Multi-camera view

    Do you ever use Premiere CC's Multi-Camera tools?  Then this FR is for you!
    Please copy/paste as your own and send to https://www.adobe.com/go/wish/.  Every voice counts!
    *******Enhancement / FMR*********
    Brief title for your desired feature: Separate windows for Multi-camera view and Program Monitor, with ability to tilde toggle to full screen either or both.
    How would you like the feature to work?
    The Multi-camera view and the Program Monitor should occupy separate, individually resizable and maximizable windows. 
    Why is this feature important to you?
    The way these interface elements are currently squeezed into the same window is extremely limiting as far a viewing options.  When the Multi-camera view is displayed, users can no longer do a full-screen preview of their edit, nor can they do a full screen preview of their multi-camera angles.  This is unnecessarily restrictive.  By putting the Multi-camera view in it's own window, and allowing it to be tilde maximized to full screen, users would have so much more flexibility for viewing their camera angles and their final edit while editing multi-camera sequences.

    Hi Kevin,
    I'm not sure how sticking the Multi-Camera View together with the Program Monitor does anything to clean up the interface.  But supposing it does somehow, how can the person responsible for this change justify 'cleaning' the interface at the tremendous expense of functionally? 
    The current design simply isn't functional as already stated:
    Full screen preview can't be used for the Program Monitor and/or the Camera Angles.
    The Camera Angles can't be positioned and resized independently on their own monitor.  Ditto for the Program Monitor.
    How could the PP team miss this?  Sorry to be brash, but it just baffles me how an entire team of  adults can commit such an obvious gaffe.    Perhaps they need to screen their ideas past real users, users like me that think outside the box and speak up when things don't work.  For sure Adobe already does this, but it clearly isn't working, either because they're consulting the wrong people and/or they're getting the right feedback but aren't listening to it.
    When I have to multicam edit on my laptop, I would LOVE to be able to display ONLY my camera angles in Full Screen.  This would make each camera angle a usable size on a 17" laptop, and leave out any and all distracting interface elements (something helpful on any size monitor).   After my initial edit is finished, I could then scale down my Multi-camera View and place it next to my Program Monitor above my Timeline to refine the edit.  The current design makes this logical approach impossible.
    I was REALLY hoping to see this fixed in 7.2.  The problems with the current design are so painfully obvious to me, every single time I do multicamera editing.  IMHO, it should also be obvious to anyone that trully understand video editing.
    You wrote "this appeals to some and not to others.", but for the life of me, I can't see how this change could possible appeal to anyone (other than a sadist that gets pleasure out of seeing an editor's workflow getting screwed).

  • Ever since I downloaded the ICloud I am unable to use my camera, it will turn on but the screen will not show the camera view, anyone else have this problem or what I can do to fix?

    Ever since I downloaded/installed the ICloud IOS5 I can not use the camera icon on my Ipod. I can click on the icon, the screen will lighten just a little but it is not letting me see what is in the camera view. Any one else have this problem or know how I can fix it?

    Make an appointment at the genius bar are your nearest Apple store. At this point there is nothing you can do without a computer, so if you don't have one and don't know anyone who has one that you can use the Apple store is a good fallback.

  • Video Filter missing:  PR.ADBE Camera View

    Hi, I get the following message when I load my premiere project:
    Video Filter missing:  PR.ADBE Camera View
    I know its a filter on windows what is not on a mac because I transferd some files to my mac. I only want to know how do I get rid of this message.
    Thanks

    Yes, but it will be manual labour. Just go through all your clips and remove each instance where you have used it. Maybe it is shown in the timeline in a different color or with diagonal stripes through it, I don't know.

  • Invalid camera view index

    Hello,
    i keep getting an error box popping up
    After Effects error: invalid camera view index.
    (26::327)
    the error pops up continuously so I have to force quit.
    there are no cameras in the comp.
    using afx cs5
    win 7 professional
    intel i7 920
    thanks
    s

    This just happened in four comps turned in by students of mine. All four students, along with the rest of the class, used the same assets, did basically the same work and used cameras. I think this relates to the "Views" and the Active Camera. All four were in 2 Views Horizontal with the Active Camera in one of the views. The Active Camera view was not displaying properly. I clicked on the Active Camera panel to select it and the error messages went away.

  • Camera View Help

    I am trying to animate some text, and have somehow managed to change the default camera view.  In all of the tutorials that I see, people drag the camera around and the text moves, but when I drag the camera around, I get a red box and a larger green box that move while my text just sits there.  What have I done, and how do I fix it?

    Yes, I have active camera as the view, but I've cycled through all of them.
    I added a camera and then a null object (which I then linked).
    The camera layer does extend from the start to the finish.
    The problem is that the red box (and the green box behind) move instead of the camera view.
    It's like I'm looking AT the camera instead of THROUGH the camera...

  • I need a program for camera.The androide has a program IP Cam View basic that has the fohu HA 425 and I get the cameras.I downlouded the IP camera viewer in the Aple but this program doesnt have the fuho HA 425. Which apple program is compatible?

    I need a program for camera.The androide has a program IP Cam View basic that has the fohu HA 425 and I get the cameras.I downlouded the IP camera viewer in the Aple but this program doesnt have the fuho HA 425. Which apple program is compatible?

    Hi,
    As far as I know, Sony Ericsson Z520, like a lot of the other cell phones, doesn�t support bluetooth serial communication.
    See:
    http://developer.sonyericsson.com/entry.jspa?externalID=138&categoryID=5
    BUT(!) You should double check this information.
    If you ask me, we have done similar project.
    We are working on hobby project � our robot use J2ME cell phone as on-board brain.
    And there is connection between this small robot and Linux-based PC.
    Communication was done via BlueTooth (in reality we use Linux implementation of BlueTooth stack and obexftp).
    BUT (!) We use Siemens S75 for this communication.
    I�m afraid that Siemens is the only manufacture, which implemented serial communication over bluetooth, embedded camera and non-usb socket.
    Also there are some Motorola phones, which implement serial communication over bluetooth.
    But � note that all Motorola phones use USB sockets and it will not be easy for you to make connection between such a phone and the robot.
    If you need just connection between cell phone and PC, then may be USB is OK too.
    Our robot project: www.RoboHobby.com

  • Renders front view, not camera view in 3D

    After Effects CC 2014
    I have 1 composition that is rendering the front view instead of the camera view.  The camera is on and active.  The ram preview is the camera view.  This seems to be a bug, and it does not happen to other comps in the project.
    Further clues:  If I drag the comp into another comp, it will show the camera view, but still render the front view.
    If I create a new comp using this comp as the only selection, it will show the front view.
    Is there any way to reset the view for render.  This is a busy 3D comp that I don't want to re-create.  Thanks for any help

    Fast Draft seems to be the culprit.  Turning on fast draft gives me a different cropping on the active camera, and it is incorrect.  This comp's fast draft may have coincidentally looked like it was front view.  Sorry for the post. 

  • Save camera view option support in Adobe Reader

    We understand from the infromation provided on Adobe site that "Save camera view" option is supported in Adobe Acrobat X pro.
    Adobe Acrobat X Pro * Change camera properties
    Please let us know whether the option is supported in Adobe Reader to save camera views in the PDF.

    Moving this discussion to Adobe Reader.

  • Howto draw a redline on the camera view on iphone

    Hi all,
    I wrote a barcode scanner program on iphone. I like to add a horizontal redline on the camera view to aid for aiming of the barcode.
    How I do that? What API function I should use under Quartz 2D?

    If you drag something from the File Browser or Library directly to the Canvas in Active Camera view, the camera will frame that object.
    Alternatively, if the layer or group of layers is already in your project, you can select the camera, and in the Properties tab, drag the Position and Rotation properties from the camera onto the layer or group.

Maybe you are looking for

  • Mac Mail Problem/Question

    I'm having trouble with opening links via e-mail in my Mail application. When I open an e-mail and try to click on a link my web browser pops up and nothing happens. I've tested this with Safari, Chrome, and Mozilla Firefox. Mozilla is my current bro

  • Adobe Ideas and Photoshop Touch for iOS 7 iPhone 5s

    I've been attempting to open the designs I create on Adobe Ideas onto my Photoshop Touch for editing. Is this possible? If not, then what should I do? I'm a novice to all of this.

  • ThinkVanta​ge System Update Patch for Microsoft Windows Vista Service Pack 2

    FYI: http://www-307.ibm.com/pc/support/site.wss/documen​t.do?lndocid=MIGR-72758&selectarea=SUPPORT&tempsel​...

  • Deactivated X Pro 10 on PC 1; Now Serial Not Accepted on PC 2

    I Deactivtated the serial permanently from the original PC.  I am not trying to use on our new PC and it still will not accept the serial number.  Please help.  Thanks.

  • PI controller with PCI 6251

    Hi all, I am using DAQ PCI6251. Can I use this card for creating PI controller ? Basically, I think that we can analyze a PI controller into two phases, including the proportional and integral phases. I could do this easily with Labview library. But