Cameras vs. views; views.xml

Hi guys,
[Question 1]
I'm having problems defining and using appropriate user-defined cameras / views created within Acrobat 3D Toolkit.
What I would like to do is predefine a set of appropriate user-defined views based on exact angles within my U3D model, and use this set within 3D annotations embedded in PDF documents.
What I do not want are inexact views. I know that I could generate views by mouse-dragging (rotating) the scene within Acrobat 3D and saving the current view using the view snapshot button. That's not what I want.
First of all I think I understand the difference between using views vs. using cameras:
- When using views and clicking the left mouse button, the camera stays fixed, and the model is rotated about the center of the scene.
- When using cameras and clicking the left mouse button, the camera is rotated around its focal point.
I came up with the following workflow:
(1) Open a U3D model in Acrobat 3D Toolkit
(2) Select the desired view, e.g. 30° isometric view left top front, no perspective
(3) Create a new camera (which is based on the current view)
(4) Save the U3D model
(5) Embed the U3D model into a PDF document thus creating a new 3D annotation
(6) Import the cameras stored in the U3D model converting them into 3D annotation views
The problem is that the resulting 3D annotation views are cameras but not views. I.e. when the user activates such a view and drags the mouse, the camera will be rotated but not the model! If the camera is far enough away from the center of the scene, the model "escapes".
How can I solve this?
[Question 2]
Acrobat 3D Toolkit user manual:
p.51:
"Note: A sample views.xml is included with Acrobat 3D Toolkit and can be used as a template to define your custom views."
p.54:
User-defined views can be created either by creating camera objects or by defining the views in the views.xml file."
p.54:
"views.xml file: Views created using the views.xml file are non-positional. That is, they only control the angle of the camera. They are activated by using the Views menu (on page 293). Note that this file must be located in Acrobat 3D Toolkit's root installation folder for the views to be visible in the Views menu."
I have no such file in my Acrobat installation folder. Where can I get a sample views.xml file?
Thanks in advance for your help!
Best regards
Sebi

The issue with the camera orbiting around its center is due to a limitation of the U3D file format. U3D does not support the concept of a camera target object or position. This means that when cameras are imported from the file the information pertaining to their orbit distance is lost in the conversion.
The only way to really get around this shortcoming at the moment is to manually create the views in the PDF file with the correct camera target distance.
Another possible solution is to create the views and then add a JavaScript file that has a CameraEventHandler that updates the camera's target distance based up the camera information provided.
Something like the following:
viewManager = new CameraEventHandler();
viewManager.onEvent = function( event )
  if ( event.targetDistance == 1 )
    bb = scene.computeBoundingBox();
    cam = event.canvas.getCamera();
    dist = bb.center.subtract( cam.position ).length;
    dir = cam.targetPosition.subtract( cam.position );
    cam.targetPosition.set( cam.position.add( dir.scale( dist ) ) );
runtime.addEventHandler( viewManager );
Note: This will not work well for cameras placed very close to the exact center of the scene and added views that happen to have an exact target distance of 1 (very unlikely)

Similar Messages

  • I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look

    I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look normal when I first open them in photoshop. I will edit, save, and then realize once i've sent it to myself to test the color is WAY off. This only happens in photoshop. I've read some forums and have tried different things, but it seems to be making it worse. PLEASE HELP! Even viewing the saved image on the mac's pic viewer is way off once i've edited in photoshop. I am having to adjust all my colors by emailing myself to test. Its just getting ridiculous.

    Check the color space in camera raw, the options are in the link at the bottom of the dialog box. Then when saving make sure you save it to the srgb color space when sending to others. Not all programs understand color space and or will default to srgb. That won't necessarily mean it will be accurate, but it will put it in the ballpark. Using save for web will use the srgb color space.

  • How to view raw XML in Safari

    Is there anyway to view an XML document with both tags and data visible in Safari? Like what you get when you do a "View Source" on a parsed document. Mozilla based browsers just show the XML without parsing it ... that's kind of what we are looking for.

    Up.

  • Out of view in XML data

    Hi,
    Is there a way to take an output for view in XML data file.

    here is a good start -> [http://www.oracle.com/technology/oramag/oracle/03-may/o33xml.html|http://www.oracle.com/technology/oramag/oracle/03-may/o33xml.html]

  • How to view TestStand XML results files

    Hi Gurus,
    We have used TestStand to save literally thousands of test results files in the XML format. TestStand allowed us to view a specific results file immediately after a test sequence, however I can't find a way to view the XML test results files otherwise. In other words, how can I view any one of a number of TestStand-generated XML results files using TestStand or otherwise (in an appropriate format/style) ?
    Regards
    Mike V

    Hi Ray
    its version 6.0.blablabla
    For some reason it doesn't find the stylesheet on the PC where its being launched from. i can fix the problem by editing the XML's stylesheet path within the xml file and putting style sheet in same directory as results, but I had to write a program to modify all the files because there were so many. Future files no problem.
    On another issue, we have thousands of results files stored in XML. Now I need to do some statistical analysis on the results but extracting the fields into a spreadsheet is a nightmare, I wish i'd used text files (database ultimate goal). Any tips here?
    Also, in TestStand there seems to be only one location allowable to store all results files. Ideally i want to store results files in product-specific directories, ie not put results for all UUT types in the same directory. Is this possible?
    Also, how can I append the word "Pass" of "Fail" into the results file name so you can tell at a glance if a test was passed without opening the file? 
    Regards
    Mike

  • I touch keeps blacking out, camera wont change views either

    when we hit an icon it keeps blacking out or returning to main page... camera wont change views either

    Try #2 and #3 in link below. If neither work, you most likely have a hardware issue.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • Why some extra XML tags are created when viewed a XML in Adobe Illustrator with Esko plugin?

    We see some extra XML tags are created when viewing a XML in Adobe Illustrator with Esko plugin. Why these extra lines are created ?
    Screenshot of XML and XML viewed in AI below(the extra XML tags outlined in red):

    Hi Graffiti,
    Thanks so much for your resply.  I am happy to say that the problem has been fixed by my customer updating her version of Adobe Reader 9 to the latest version.  I had sent her a few suggestions on how to try to fix the problem including that one from info I had read on the forum etc.. and that was the solution that worked.  I am so relieved that I was able to fix the problem and to answer your question the blank pages were only graphics no text but they were the only pages that the graphics took up the whole page.  I thought that was strange and had her change a setting in preferences for printing large images a solution I read in the forum but it did not work.   

  • HT203167 I rented a movie on Apple TV to view at a later time. When I came back to view the movie, I can't find where on Apply TV the movie has been savAny ideas?ed to view.  Any ideas?

    I rented a movie from Apple Tv to view at a later time. When I came back to view it, I can't find the "rented' section within Apple TV to view the movie.

    force quit app.  double click home button and slide app up and off page
    Peace, Clyde

  • Regarding the article: iTunes Store: Troubleshooting iTunes Match: in my mac iTunes, i don't have a menu option 'view view options'. i do have 'view show view options'. but the resulting popup is different. is this article out of date?

    regarding the article: iTunes Store: Troubleshooting iTunes Match: in my mac iTunes, i don't have a menu option 'view > view options'. i do have 'view > show view options'. but the resulting popup is different. is this article out of date?
    i am troubleshooting iTunes match because it has been days since i uploaded music to mac iTunes and it still has the iCloud status icon for 'waiting'.

    Is there really nobody else with this problem? Really?

  • No 'Viewer' view in fullscreen only Browser and Split

    I'm not sure if I am doing something stupid here. I installed the 3.1 update and launched Aperture and I have lost the full screen 'Viewer' view. Pressing V toggles between Browser and Split view. All three views are selectable in the non full screen view.
    I'm following the Aperture 3 Pro training series book, so it's possible that I have changed something but I'm pretty sure it was fine before the 3.1 update.
    Any ideas?
    Thanks,
    Gareth.

    Is the 'always show filmstrip' slider (on the right edge of the filmstrip between the last image and the right margin) in the down or 'on' position?

  • Web Cam is not viewing,

    Hi,
      I HAVE A SATELLITE L505D-G6000 RUNNING WINDOWS HOME PREMIUM 6.1.7600. WEBCAM IS BUILT IN USB2.0 UVC WEBCAM MANUFACTURED BY MICROSOFT IN 2006 SO APPEARS TO BE A BASELINE PRODUCT. BOUGHT 8 MAY OF THIS YEAR. WEBCAM WORKED PERFECTLY. NOW WEBCAM DOESN'T WORK. I'VE DONE ALL THE STANDARD UNINSTAL/RE-INSTALL OF THE DRIVER OR MORELESS THE "TOSHIBA WEBCAM APPLICATION". I'VE ELECTED UPDATE DRIVER AND ITS GONE TO THE MICROSOFT SITE AND STATED IT WAS THE MOST UPDATED. I'VE COME TO THIS SITE AND DOWNLOADED THE WEBCAM UPDATE POSTED AUGUST OF LAST YEAR, TO NO AVAIL, NOTHING.
       I HAVE VERIFIED THROUGH THE DEVICE MANAGER IT'S INSTALLED AND ACCORDING TO IT THE DEVICE IS WORKING PROPERLY. SKYPE NOR FACEBOOK CAN FIND IT. WHEN I OPEN THE TOSHIBA APPLICATION, THE PRETTY BLUE LIGHT ON TOP OF THE SCREEN COMES ON, THE VIEW BOX OPENS AND ITS PITCH BLACK.
      ANY HELP WOULD BE GREATLY APPRECIATED AS THIS IS THE 3RD TOSHIBA IN A ROW I'VE BOUGHT DONE BASIC OPS ON AND THEY STOP OPERATING DEVICES I'M NOT USING. THIS ONE IS IN FACT A FREE REPLACEMENT OF THE LAST ONE THAT BURNT UP AS THE FAN COULDN'T KEEP IT COOL ENOUGH. LIL FRUSTRATED SORRY. THANKS AND HOPE  SOMEONE CAN HELP ME FROM HAVING TO GO 2 MONTHS WITHOUT MY COMPUTER AGAIN WHILE THEY SEND IT AWAY TO BE WORKED ON.
    CHUCK YAGER

    Satellite L505D-GS6000
    Perhaps you mean you have the Satellite L505D-GS6000? Let's try a reinstall of the main base drivers, then the webcam driver/app, one more time. Download and install these drivers in this order:
    AMD/ATI Display Driver for Windows 7 (32/64) v8.634.1
    Realtek Audio Driver for Windows 7 (32/64)(v6.0.1.5904)
    Toshiba Web Camera Application for Windows XP/7 (32/64)(v1.1.1.6)
    Then try the webcam again. Please let us know if it works, or if you get any error messages trying the above reinstalls. Good luck
    Mike

  • I want to view the screen of my dslr camera in live view on my macbook pro via the hdmi port, is this possible?

    I would like to view the output from my DSLR on the screen of my macbook using the hdmi port.  I know I can connect to a tv to send images "out" from my macbook, but is it possible ti send images in?? I operate my camera by remote control, and would really live a live view if possible.
    Thank

    Nope - you can only output video from your MBP - there's not a port for input.
    Clinton

  • How do I get aperture to automatically insert a .png overlay onto incoming photos from a tethered camera and constantly view the incoming photos in full-screen without retreating back into gallery?

    As per the discussion title, I would like to be able to shoot with a tethered camera that will input images and display right away on my Mac on full screen, with each incoming photo display as such without ever going back to gallery view, and in each instance a .png graphics template is automatically overlayed on each photo that enters aperture such that when I print every photo the graphic template will appear on print.
    Is aperture able to do this on its on? If so, how?
    If not, is Apple script the only way to make this possible?

    Would it then be possible to direct aperture tethered shoots to a folder where aperture will hot import, from which I can use action after import via the scrip as you mention?
    I've seen it being done with my own eyes but I wasn't able to inquire more...

  • How to achieve Single content but multiple views in XML form builder

    Hi,
    I have requirement something like this.
    I am using xmlform builder to generate the content template for our portal.
    I have 5 links where I need to render html content dynamically. I am using NewsExplorer and NewsBrowser layout. Presently I have created  5 xmlforms project and design the layout in the renderlist item. I am not satisfied with my approach. It seems very inefficient of doing it as all the content layout is same. but all the different iviews  has different content to pick.
    To make myself clear I am giving with an example
    I have two iviews
    Policy1 and Policy2 which are KM Navigation Iviews whose init path are diferent path to get the different content.
    As the content has to generate dynamically , I am using NewsAuthor to create the content.
    To achieve this , I have created 2 xmlform project( though the rendering format is SAME) and 4 iviews  ( news explorer and newsbrowser for each ie policy1 and policy2).
    Since I need to generate some 100 contents like this .
    I do not think my approach is a very efficient one though the rendering format remains same.
    I wish to achieve this by using one xml form project , one News author and one news browser to create different content as long as the rendering template format is same
    this is something like this
    when I click on the Policy1 link for content creation , It should only shows Policy1 content format . and should not display the content authoring for policy2. This holds good for the viewing also .and also I would like to create only one xml form project as long as the rendering format is same.
    can anyone please tell me how to achieve this ?
    thanks in advance
    pk

    Hi Jasmine,
    To make your project link alone visible, try this
    To make the global setting for the availability of XML forms, choose Content Management > Form-Based Publishing > Forms Availability > Global Setting.
    To make specific settings for folders, choose Content Management > Form-Based Publishing > Forms Availability > Folder Settings.
    You need to give the name(s) of those XML project(s) you want to display in the Forms to Include parameter in the Settings for Folders.
    Forum reference:
    /message/1371270#1371270 [original link is broken]
    /message/1313368#1313368 [original link is broken]
    Consider rewarding points for helpful answers,
    Regards,
    Shankar

  • Can I use a CEC - Camera with Lab View 6.0?? what do i habe to notice?

    I want to treat real time - pictures with Lab - view 6.0. Is that possible?

    Hello,
    www.ni.com/camera is a camera advisor designed to give you detailed information on the supported types and brands/models of cameras.
    Hope this helps!
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

Maybe you are looking for