Capturing the view from a second camera

hello;
if I add a new camera to my world how do I capture what it
sees;
thanks
dsdsdsdsd

Here's a behavior that you can drop on an empty 3D sprite. It
creates a cube in front of the main camera and a sphere behind. It
creats a second 'rear-view mirrir" camera to look backwards, and
display the sphere.
on beginSprite(me)
tSprite = sprite(me.spriteNum)
tMember = tSprite.member
tMember.resetWorld()
tCamera = tMember.newCamera("Rear-view mirror")
-- Add to the list of cameras for the sprite
tSprite.addCamera(tCamera, 2)
-- Give the insert a different background color
tCamera.colorBuffer.clearValue = rgb(51, 51, 51)
-- Place insert at center of top of sprite
tCamera.rect = rect(80, 10, 240, 50)
-- Move this camera with the main camera...
tSprite.camera.addChild(tCamera, #preserveParent)
tCamera.rotate(0, 180, 0) -- ... but facing in the reverse
direction
-- Create a model in front of the main camera...
tResource = tMember.newModelResource("Box", #box)
tModel = tMember.newModel("Box", tResource) -- at center of
world
-- ... and another model behind the main camera
tResource = tMember.newModelResource("Sphere", #sphere)
tModel = tMember.newModel("Sphere", tResource)
tModel.worldPosition = vector(0, 0, 500)
end
Is this the sort of thing that you are trying to do?
To create the effect of a mirror, you should place the mirror
camera at the position where the main camera would appear reflected
in the mirror. You should also change the mirror camera's
projectionAngle depending on the distance the main camera is from
the mirror: the closer it is to the mirror, the wider the angle
should be, so that the camera frustrum includes all the objects
that the main camera would see in the mirror.
An interesting project.

Similar Messages

  • I uploaded pictures from a second camera and my iphoto created a second library, how do i get back to the first library?

    I uploaded pictures from a second camera and my iphoto created a second library, how do i get back to the first library? Can anyone help?

    I have no idea what you did or what happened - but I can assure you that loading from a different camera does not create a new library
    So you need to supply information and someone here will assist you in sorting this out and figuring out what you really did
    What version of iPhoto do you have? What version of the OS? Why do you think that a second library has been created? What do you see when you launch iPhoto with the optipon kep depressed and use the select library option? Where is your iPhoto library normally?
    Anything else you can tell us that might help?
    LN

  • Can I capture the video from the TV card or video capture card to publish

    Can I capture the video from the TV card or video capture card to publish?
    I tried to use the USB camera, it's OK. But, will the TV card or video capture card also work?

    Hi,
    iChat will set up a Video chat window that takes in to account your Processor speed and Internet Speed and to some extent the Buddy's speed.
    This then denotes the pixel content of each frame.
    OS X 10.6.x tells me this is iChat 5 which in turn mean you have  at least an Intel Core 2 Duo Processor.
    This should be capable of 30 frames a sec at  about 640 X 480 pixels  (Check the Connection Doctor (Video Menu) and the Statistics tab during a Chat).
    iChat 5 cannot do HD  (Max of 4:3 ratio at the above figures)
    After that it depends how you are recording the chat.
    Quicktime X would do it.
    iChat will do it itself (if the Buddy agrees)
    10:14 PM      Wednesday; February 1, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Can you capture images directly from a fuji camera - Fine Pix S2pro

    can you capture images directly from a fuji camera -- Fine Pix S2pro or Fine Pix S2pro to a imac running 10.6.5
    camera tethered to the imac

    Page 76. Thanks!!!
    You can quickly open Camera when the screen is locked by double-clicking the Home button, then tapping          .

  • How to capture an image from my usb camera and display on my front panel

    How to capture an image from my usb camera and display on my front panel

    Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
    Christian

  • How to capture the data from a JSP form

    Hi
    I have a JSP form, My task is to capture the data from a JSP and submit to Data Base. for example I have the field like
    Enter Table name to be created in data base: The table name is to be captured by a servlet and by that table name, table should be created in the data base.
    Edited by: Reddy_Prasad on ?? ?????, ???? ?:?? ???????
    Edited by: Reddy_Prasad on ?? ?????, ???? ?:?? ???????

    Get the entered value from the jsp into servlet using request.getParameter("enteredTableName"). it will return the String,pass this table name to execute query using JDBC connection and statement objects.
    -cheers Ram

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • HT1695 IPhone 4 could not capture remote Wi-Fi but can capture the network from close range to Ataatjos meter

    IPhone 4 could not capture remote Wi-Fi but can capture the network from close range to Ataatjos meter

    I tried the process and was happy to note that there was some process that I managed to start because the process did start ...
    However to my disappointment,  landed back at the same status which says
    We're sorry, we are unable to continue with your activation at this time.
    Please try again later, or contact customer care
    I was using a GEVEY sim unlock with iOS 4.1 since (almost) last 2 yrs now in India on Vodafone. But as Apple designed it, there were several apps including Whatsapp, Facebook, Gmail and LinkedIn that stopped functioning due to the iOS updates and the subsequent (I guess 'mandatory' App updates). Finally yesterday I thought of updating to the iOS 6. As soon as I did that, I have been left with no choice but to see the above message.
    The process by jhidrowoh starts corectly but iTunes doesnt give you the option of restore only ... it is forcefully clubbed with update and the button that is displayed in the dialog box that appears on pressing 'Restore' in teh recovery mode, shows 'Restore and Update' and as soon as the iPhone is restored, it automatically updates the iOS as well to iOS 6 and hence leaves you hanging in the stale situation.
    Guys ... Need the data desperately ... Can anybody please help???

  • An error prevented the view from loading

    I'm using SQL Server 2012 Express and I'm building a report with one table.  I dragged and dropped two data set elements into the table that has two columns (Product Name and Product Description).  Both the dataset elements have
    a data type of varchar (50) in SQL Server 2012 Express.  The table with those two elements is the only data I have in Design view.  When I click on Preview, the Preview screen states 'An error prevented the view from loading.'.  This is difficult
    to diagnose, because in the Error List there are '0 Errors', '0 Warnings', and '0 Messages'.  I would like help understanding if there is another error log I can observe to understand the issue, or if there are basic SQL Server 2012 Express Reporting
    Services debugging techniques.  Please help.  Thank you,
    Additionally, when I run the query in SQL Server 2012 Express and Reporting Services Query Designer the query results are correct.
    Also, when I click the start debugging button, the report displays and I can export it to pdf, however the Previous still displays the error.

    Well, funny stuff.  I shut the solution down yesterday, then I booted my computer today and started the solution AND JUST LIKE MAGIC....it works.  I can't explain it.  Persistence pays, that's the answer sometimes.

  • Call a method in the view from Component Controller

    Hi Friends,
    I have written the code for calling the RFC in Component Controller.
    My requirement is to change the properties of UI elements in the view, if I get any exception while calling RFC.
    Can Call a method in the view from Component Controller.
    Regards,
    Lakshmi Prasad.

    HI,
    You can get the error message during the exception of calling RFC in view itself.
    Any way you may call the RFC at some action in the view only.
    Can you explain me what you are trying to do?
    Kind Regards,
    Mukesh

  • HT5035 I had $8 from a gift card in my acct then redeemed the number from a second gift car of $30. The $8 disappeared and now there's only $30 rather than $38? Any ideas?

    I had $8 from a gift card in my acct then redeemed the number from a second gift car of $30. The $8 disappeared and now there's only $30 rather than $38? Any ideas?

    Good advice

  • I can't find the videos from my Sony camera on my Mac Book Pro

    I can't locate the videos from my Sony camera on my Mac Book Pro.  Do I need additional software?

    How & where did you search?  I gather the videos are no longer in the cam?  Where do you have the videos go when transferring from your cam?
    Download WhatSize and/or OmniDiskSweeper to see if you can "see" the videos.

  • I can't change the view from player view to grid view in youtube

    i have a problem with youtube, i can't change the view from player view to grid view on channels that i visit, and that just happen with firefox, it dosent happen with explorer, so what can i do please?
    == This happened ==
    Not sure how often

    it didn't unfortunately, and i think that the problem in the JavaScript , Because when I click on the grid view icon i see on the bottom of the page "JavaScript" see the image:

  • Premiere Elements 4.0 - How do I change all the clips from 5 seconds to 2 seconds in length?

    Premiere Elements 4.0 - How do I change all the clips from 5 seconds to 2 seconds in length?

    Christine,
    The Duration of Stills is set with Edit>Preferences to the number of Frames required, where ~ 30 Frames = 01 sec. of Duration.
    Unfortunately, the Duration cannot be reset (Edit>Preferences) for material that has already been Imported. The procedure is to Delete those Imported Stills, and make the change, then re-Import them, and you will get the Duration that you have reset.
    The only other option at this point is to manually Click-drag on the Head, or Tail of each Still in the Timeline, to adjust the Duration. I do this with the Info Panel open and visible to make it easier. Personally, unless I am well into the editing process, the Delete, change and re-Import option is my choice.
    Good luck,
    Hunt
    PS - the ability to alter the Duration en masse for Imported Stills in the Project Panel has just been added in PrPro CS5. I do not know if it has been added in PrE 9 though.

  • Is it possible to get the URL from which user came to Apex Application?

    Hi,
    I have 1 web site which is created by Apex. And I have to create similar sites with slight differences. For example, even though the contents are almost same, each telephone # have to be modified.
    So, if possible, I want to use only 1 web site and depending on the URL from which user came, change some information on the page. Is it possible?
    And if it is possible, what if the user set Apex URL as favorite and visit it after some days?

    Thank you Scott,
    This is the one.
    But I have another issue.
    If a user comes to our page from their link directly, I can identify where he come from. But if he added our site to Bookmark and comes to our site through the link, is it possible to identify his original route?
    If it is impossible, I will create other Apex Application and put each URL to the link in order to catch where the user is from.

Maybe you are looking for

  • OS X 10.8.3 Display Resolution Issue

    Ever since updating to 10.8.3, there has been a sporatic resolution issue when waking my MBP. My mid 2009 13" MBP operates in closed lid mode while connected to a 21.5" monitor. My machine frequently wakes to a completely incorrect resolution that is

  • Noted items

    HI, I posted one noted item in f-49 for futur date  then i see it in fbl1n its showing  futur date  like 31.05.2008  the noted item were not displayed in account books now my problem is how i post that noted items into normal items tell me the proces

  • Advanced "Help Tool" Application

    Hello! I'm looking for ideas, suggestions, products, and information that anyone can provide for creating an advanced Help Tool application using Forte. We are looking to develop something that handles like Microsoft Help (indexing as well as phrase

  • Email program giving Dump

    I'm using the function module SO_DOCUMENT_SEND_API1 and after that I'm using this command.   SUBMIT rsconn01 WITH mode = 'INT'   WITH output = 'X'   AND RETURN. But it is giving Dump. Says Error when calling a remote function call. RFC_GET4 I'm getti

  • Change file path of embedded pictures

    I'm sort of a beginner with Applescript, but I created an application in it that takes screenshots of different web pages and saves them in my Pictures folder. I have a proposal template in a Word document that has these pictures linked and embedded