Left and Right eye views

I have written an application that displays the left eye view in one window, A, and the right eye in another window, B.
Extract from the code:
>>>
Canvas3D canvas3D_A = new Canvas3D(gc);
canvas3D_A.setMonoscopicViewPolicy(View.LEFT_EYE_VIEW); // <--
Canvas3D canvas3D_B = new Canvas3D(gc);
canvas3D_B.setMonoscopicViewPolicy(View.RIGHT_EYE_VIEW); // <--
View view = new View();
view.addCanvas3D(canvas3D_A);
view.addCanvas3D(canvas3D_B);
ViewPlatform viewPlatform = new ViewPlatform();
view.attachViewPlatform(viewPlatform);
<<<
The problem is that the left eye image is translated to the left and the right eye image to
the right. I seems like the distances correspond to PhysicalBoby
left eye position : (-0.033, 0.0, 0.0)
and
right eye position : (0.033, 0.0, 0.0)
I want the images to be centered while preserving the stereo effect. Which parametes etc shall I manipulate?

Sorry if a probably used the "wrong" terminology.
In fact you can watch these image with "polarized glasses" as well.
I also initially though that J3D would provide the option of directly doing the job.
One day may son got polarized glasses (colorized with Red and Blue) from a childrens comics magazine and I also wondered if it was possible to easily create such kind of images with Java 3D since, as you also did, J3D offers the facility to set the right/left monscopic eye view.
I didn't manage to find a direct instruction to render the combined result so i simply used the algorithm consisting in:
set the right monoscopic view
get the rendered Canvas3D image ( as a BufferedImage) and apply a Java image filter (i.e. colorize with red color)
set the left monoscopic view
get the rendered image and apply a Java image filter (i.e. colorize with blue color)
merge both BufferedImages (red and blue) in a single image.
..and finally watch the result with the polarised glasses.

Similar Messages

  • Partial cropping left and right when viewing on TV ?

    hi, i've just finished a project which was anamorphic. it looks great on CPUs, which was it's intent, but it is slightly cropped when viewed on a TV with a DVD player here in the US. here are the details: i produced 2 final "prints". the first was a 4x3 sequence with a nested anamorphic sequence embedded within it. this was rendered using compressor > ntsc > 4x3. the second "print" was anamorphic and rendered using compressor but this time it was ntsc > 16x9 etc. etc. both versions were then burned to DVD using Studio Pro 4. both versions look great when viewed on computer which was the goal all along. My question is: what am i missing so that they can also be viewed on both computers and TVs without any cropping? the amount of cropping is just a little on left and right so i'm not sure if it's simply a video safe question. it seems to be more than just an overlookable amount though. thanks !

    thanks a lot for the help! ... looks like i'll need to author 2 versions ... one more for viewing on TV in addition to the one i made for viewing from a computer ... thanks again for the feedback!

  • Render left eye and right eye in cs6

    Hi there,
    I have a video that it is 3D Stereo in after effects and it is on anaglyth mode ( added a camera, second mouse button, camera, create stereo 3D rig ) and i have all set. But now how i render the left and right eye, with out the anaglyth look?
    Cause now in the main comp where is the Stereo 3D Controls, both comps are off ( that is normal) but when i enter in the both comps i notice that they are not offsseting as they supose to do ( or how it doing on the main comp) I notice that the left and right comp have been offset to left and right but the image is not moving, and if i the layers as 3D i will have a gap, and if i try to compensate the by incrising the size of the comp, the gap is even bigger. so I dont know how to do it. Can anyone help me?
    Thanks

    If you are referring to these arrows in the CS5 interface:
    They have been removed in CS6:
    note:
    If you're new to CS6 from CS5, just wait until you try to select
    a transition vs. a cut point in the Timeline.

  • How do I plot a y axis on the left and right in DIAdem/VIEW (version 11.0)?

    I am trying to analyze flight data, and I would like to analyze plots of certain parameters so that they share an x axis. It is necessary to view these using two different y axis, on the left and right. How do I do this in DIAdem (version 11.0) in the VIEW tab? Is this possible to do in the VIEW tab?

    myocom,
    You can highlight random points in DIAdem as well. 
    Here is an example:
    Use the cursor to move to the point you wish to highlight.
    Press the "Set Data Point and Flag" icon on each data point you wish to highlight
    When you are done selecting points, press the "Flags: Copy Data Points" icon - that will copy all X/Y coordinates into two new channels
    I created a REPORT Layout using the original data and the highlighted random points (I added the actual point Z-value above the point, they look strange when written at the exact point). I attached the layout for your reference.
    The complete task took 3 minutes from loading the data to finishing and exporting the REPORT layout. If you have a REPORT layout already, this will take less than 30 seconds ...
    I am not familiar with Matlab, so I can't compare how this works in DIAdem vs. Matlab. You can add the combine the complete process in a Script and it will automatically create this kind of report after simply selecting a few data points in VIEW and then pressing a button ...
        Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
    Attachments:
    Report with highlights.zip ‏5 KB

  • TS3048 My left and right arrow on my wireless keyboard is not working.  It does not highlight in the keyboard viewer.  What's next?

    My left and right arrow on my wireless keyboard are not working.  I've looked at the keyboard viewer and see that they do not highlight.  What do I do now?

    Hello:
    Try resetting the PRAM.
    Barry

  • Is there a way to tie to iPads together so that when you turn a page with a tap on one, both iPads turn a page.  I am using the ipad to replace piano sheet music.  The challenge is that ordinary sheet music is on both a left and right page.

    We are trying to use an ipad to replace ordinary paper sheet music on a piano.  When truning ordinary paper pages, it is sometimes hard to grasp one page, turn it quickly and get it to stay turned.  The idea with using an ipad is that a tap turns the page, it stays turned.  However,,,,,ordinary sheet music is on both left and right pages.  With one turn you get 2 new pages.  The ipad, being smaller results in only one page and therefore twice as many page turn taps; more taps equals less hands on the piano.  If we could tie 2 ipads together and get them both to turn the page simultaneously it would be nice.  We are trying to get used to using the ipad.  We are using ForScore app to get sheet music into the ipad; we could load one with odd pages and one with even pages.  Maybe this is getting too complicated.
    Anyway to tie 2 units together
    John

    No way to control one device from the other.  But, according to ForScore, you should be able to display two sheets side by side in landscape mode (2-up view)?  Not sure if that helps as it must make the actual print smaller to do so.
    http://www.forscoreapp.com/about/#interface

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

  • The three finger swipe left and right does not seem to work

    Hi
    I have been trying to do the left and right three finger swipe that allows you to move between applications to no avail.  It just keeps switching between dashboard and one app even if I have 5 apps open at the same time. Snow Leopard has this feature where all the apps opened are shown when you do the swipe and you can choose the one you want.  I think this is better but it doesn't work.
    Any help will be appreciated.
    Antonio

    Such spaces actually use very little extra memory relative to the apps you have open to occupy those spaces. I would go out on a limb and say it doesn't matter whether you have one space for every application or all on the same desktop.
    The limitation will come from the applications and the data you are crunching on them.
    (But that's just a personal view, haven't run into any limits on my ow 4GB Macbook Pro so far)

  • Why after i update my left and right arrow keys stop working

    my left and right arrow keys stoped working after i updated to Mavericks now the dont work

    Hello ccombs2014,
    It sounds like 2 of your keys are not working after updating to Mavericks. I found this section of an article for you to help troubleshoot this issue named:
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/ts1381
    Some keys don't work as expected
    From the Apple menu, choose System Preferences.
    From the View menu, choose Speech.
    Click the Text to Speech tab.
    If "Speak selected text when the key is pressed" is enabled, the key or key combination set to speak text cannot be used for other purposes or used to type text--click Set Key and change it to a less-commonly used key combination (try to use modifier keys such as Shift, Command, Option, and Control). Or, disable the "Speak selected text when the key is pressed" option.
    Click the Universal Access pane in System Preferences, click the Keyboard tab.
    Make sure that Slow Keys is turned off. With Slow Keys on, you need to press a key for a longer period of time for it to be recognized.
    In the Universal Access pane, click the Mouse tab, and make sure Mouse Keys is turned off. With Mouse Keys enabled, you cannot use the Numeric Keypad to enter numbers--instead the keypad moves the pointer (cursor). (There is an option to enable Mouse Keys with five presses of the Option key; you may want to turn that option off to avoid accidentally enabling it.) If Mouse Keys is enabled and you are using a keyboard with no numeric keypad or Num Lock function, see Unable to type while Mouse Keys is enabled in Mac OS X.
    If the function keys on the top row of the keyboard are not working as expected, see Mac OS X: How to change the behavior of function keys.
    If the issue persists, use Keyboard Viewer to help isolate the issue:
    Click the Language & Text pane (Mac OS X v10.6) or International pane (Mac OS X v10.5.8 or earlier) in System Preferences.
    Click the Input Sources tab (or Input Menu tab in Mac OS X 10.5.8 or earlier).
    Click the Keyboard & Character Viewer "On" checkbox to select it (click the Keyboard Viewer "On" checkbox in Mac OS X 10.5.8 or earlier).
    From the Input (flag) menu, choose Show Keyboard Viewer.
    If the keyboard is connected and detected by Mac OS X, the keys you type will highlight in the Keyboard Viewer window. Open TextEdit (or any text application), and try to type something using the keys that were previously not responding to see if they highlight in Keyboard Viewer.
    Start from the Mac OS X Install Disc, choose Terminal from the Utilities menu and test the keys which were previously not working.  If the keys work while started from the Install disc, then the keyboard itself is working correctly.  Use Mac OS X: How to troubleshoot a software issue to isolate the software issue that may be causing the keys to not respond.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Enlarged photos show white borders on left and right margins

    Should these white margins be present when viewed in enlarged format? I can't get rid of these left and right margins when printing 4x6 borderless format so I assume it needs to be corrected in iphoto first.

    Did you crop your photos?
    Most digital cameras use a 3:4 aspect ratio. When you print onto 4X6 paper, you will have bands on the sides of the photos. It's the same thing as watching a "letterboxed" movie on television with the bands at the top and the bottom.

  • How do i get to see websites on full screen so i dont need to keep scrolling left and right?

    before i could see the whole width of a webpage without scrolling left and right but now everything is bigger and i cant see the whole page without scrolling.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Clips import with black edges left and right

    I viewed my clip (avi file) using quicktime to confirm that it was the right one that i wanted to import and it looked fine. Then i imported into imovie and it doesn't fit the whole screen. It's got about 1/8 inch of black along the left and right. The weird thing is that when i import photos it does the same thing but i scale them to 102 % to correct. How can I correct this?

    bear in mind that tv broadcasts are often stretched/zoomed/cropped etc to make it appear that it is widescreen, when really it is 4:3.
    also it is possible that your TV is simply stretching to make it fill your screen.
    your TV may be able to stretch it to fill the screen, but the appletv will always output it in the correct aspect ratio.
    also it is only recently that most of the tv output has been widescreen. 6 years ago when wire season 1 was produced, 4:3 non-widescreen was very much the norm, especially in USA.

  • Wireless Keyboard's left and right shift keys don't like some keys...

    Hello everyone!
    I recently bought a second hand 2009 Apple Wireless Keyboard to use with my iPad 32GB Wi-Fi.
    When pressed by themselves, the keys all individually work - I've tested them all using my MacBook's Keyboard and Character Viewer. The problem is when I use either shift keys with the following keys:
    123456789
    qwertyuio
    Now, the odd thing is, the left shift key won't wok with either of those lines but the right shift key will work with the letters but not the numbers.
    Using sticky keys on my MacBook, I can get every single one of the numbers to give out their character (!@£ etc.) with the left and right shift keys. I've not got Mouse Keys turned on either (and I don't think there's an option to enable it on the iPad)
    Also, the Shift keys work perfectly fine with all of the other keys on the keyboard so they aren't worn out.
    Any ideas what could be making my keyboard this way..? Or should I send it back (if I can...)?
    Thank you for your time!

    ok so i've made a bit of progress on my own...
    i've found the on-screen keyboard viewer (silly me, i was looking under "keyboard" in system preferences...) and this flashes with each key i press except the problematic left and right cursor keys.
    moreover, if i click the left and right cursor keys on the on-screen keyboard, they behave as they should, moving my cursor left and right.
    this is starting to look like a hardware fault but i'd love to be able to test outside of the OSX GUI to be really sure. is there any way i can do that. not sure i want to get the screwdriver out just yet...

  • How to migrate stored procs accessing columns "LEFT" and "RIGHT"

    Hello!
    I have to migrate a SYBASE11-Database to Oracle 8.1.7.
    How can I migrate Stored Procs that access tables that contain columns 'LEFT' and 'RIGHT'?
    OMWB reports a parse error "encountered: ,". If ommit the words 'left' or 'right' or if I write 'left()' or 'right()', it works. But I have to use these columns and we cannot change the database model.
    It doesn't work with quoted column names like this: "LEFT" or "RIGHT".
    I use OWMB 1.3.1.0.0. Anybody any ideas? Thanks in advance.
    Yours, Heiko Kaschube

    This is a simple matter to fix.
    As the words LEFT and RIGHT are treated as reserved words by the stored procedure parser, they cannot be used successfully as column names within Oracle PL/SQL.
    In order to get the stored procedure to parse, you can append an underscore to all references to LEFT and RIGHT e.g.
    left_
    then right click on the stored procedure name and select 'parse procedure' from the drop-down menu. The procedure will now parse and the generated PL/SQL can be viewed within the Oracle model menu tab.
    It will now be necessary to remove all the underscores previously appended to the words 'left' and 'right' from the PL/SQL version of the stored procedure in question. Again, this can be done within the Migration Workbench.
    Hope this helps.

  • How to set audio instruments to record in left and right channels

    I am a new Logic express user. I am using a PreSonus FireWire to in put guitars and mic's. If I use Logic Express to record my guitars from input 1 I only get sound out of the right channel. If I use input 2 I only get sound out of the left channel. If I use the Garage Band tab to input the same instruments plugged into either channels 1 or 2 on my PreSonus I get sound from both the left and right channels together. There must be a simple fix I am missing in Logic. If anyone can help me I would I would appreciate it.

    Hi t,
    welcome to the forum!
    There's nothing wrong with your set-up!
    MONO inputs to mono tracks,
    from the mono track you can add mono to stereo plug-ins and benefit from that.
    In garage band you have a mono input that showing a stereo channel, that's what what I have explain above. In Logic it's a blody waste of HD space (not to say wrong) as you recording a mono file to stereo.
    Think bigger and pratical now T, those things make all the sence,
    GB is so easy that can confuse us about the real thing because it's hidden from your eyes.
    Kindly regards,
    Jorge

Maybe you are looking for

  • Image files are copied but SAPMMC not started

    Hi All,       I copied the Image file and paste in the my new server of SR2.after i clicked my ghost icone, selecte the Restore option and selected the Image files are orcale instances and  <b>XI instances but SAPMMC not started</b>.pls sugest me. re

  • Creative cloud launches but does not load - using windows 7 PC

    I have uninstalled and reinstalled several times but when Creative cloud launches, the wheel turns and stops and it remains blank. Can anyone help please. Since asking this I opened Acrobat and it asked me to sign in which I did and now Creative Clou

  • Profit center assign in Copany code and controling Area

    where Profit center assign in Copany code and controling Area ?

  • DYNPRO_FIELD_CONVERSION

    Hello All, I am getting system dump due to "DYNPRO_FIELD_CONVERSION". This is happening as negative sign is appearing in cumulative quantity field in VBAP and VBEP tables. "Information on where terminated The termination occurred in the ABAP program

  • RMI Codebase Issue

    Every thing works just fine as both the Client and server runs on the same system,, but as i run one of them on a remote m/c,well i am using vmware for that, Client is not able to locate server's stub and server is not able to locate clients classes