How to rotate at any angle?

So I see normally for the rotation it's based on X, Y, and Z, by choosing one of them.. I also saw somewhere where you can specify the angle for the cam, but that's about it.. I want to be able to manipulate a 3d object at any angle :)

For that you need to rotate the camera rather than the object.
You will need to use a recent build of Java8 (b77+) for that and a machine that can run the 3D stuff in it (currently only a Windows machine).
From: https://wikis.oracle.com/display/OpenJDK/3D+Features
There is some code for specifying a movable camera:
// Create a camera and add it to the Scene
Camera camera = new PerspectiveCamera();
scene.setCamera(camera);
// Add camera to scene graph (so it can move)
Group cameraGroup = new Group();
cameraGroup.getChildren().add(camera);
root.getChildren().add(cameraGroup);
// Rotate the camera
camera.rotate(45);
// Move the cameraGroup (camera moves with it)
cameraGroup.setTranslateZ(-75);I haven't tried it, but in JavaFX 8 the camera is just another node.
I think if you apply a RotateTransition to the camera you could animate rotating it around (like turning your head to see change your field of view).
Similarly, if you instead applied a PathTransition to the group containing the camera, then that would simulate you walking in a circle, but looking in a constant direction.
If you applied an appropriate RotateTransition to both the camera and a PathTransition to the group containing the camera and you did it at the right proportional values, then you could ensure that the as the camera was rotating around the object, it was always facing inward tangentally to the path the group is following so that it is always looking at the object being walked around.
http://docs.oracle.com/javafx/2/api/javafx/animation/RotateTransition.html
For some inspiration look at Uluk's answer here which demonstrate animation around a circular path.
http://stackoverflow.com/questions/14171856/javafx-2-circle-path-for-animation
http://stackoverflow.com/questions/14182704/javafx-2-animation-scale-node-depending-pathtransition-duration/14182917#14182917
But in the second example, you put it in 3D and rotate the camera instead of scaling the node.

Similar Messages

  • How do you rotate an object to any angle

    I have Adobe Acrobat 9 Pro. I am adding an object eg. square to the PDF file. I now want to rotate it to any angle, which I cannot do. I tried the help menu (TouchUp Object Tool) step by step and i am unsuccessfull. Please help.

    Thank you George for helping
    From Tools Menu. I selected customize toolbar, then selected rectangle tool from Comment and Markup Toolbar, then OK. Then from toolbar I selected the Rectangle and inserted it. I now need to rotate it.
    I have not tried the flattenning method, but after reading the notes by flattenning it becomes part of the page and can no longer be edited which is not what I require. Note I only need to rotate the little square on the page to any angle and not in 90 degree increments.
    The notes in the help topic (In Acrobat) on touchup object tool mentions it can be rotated incrementally, but when i follow the steps it does not work out. There is no handle to rotate the object.
    Regards
    Richard

  • Rotate3D : How to find rotating image's angle reached 90

    I am looking for a solution to find rotated image's angle.
    Say an image is rotating from 0 to 180 along the y axis it has to cross 90degree mark. Is it possible to listen motion of image in degrees while animation is playing?

    Sorry, Its not what I am looking for.
    I am looking for a listener or something which will trigger when it reaches certein angle say 90degrees. I am rotating an image from 0 to 180 along the y axis (by setting angleYFrom & angleYTo not along x axis) and I have to flip an image when it reaches 90, so that reversed image can be avoided. Making it show face all the way it reaches 270 degrees from 90.
    Thanks

  • How to rotate a Video in WindowsPhone 8.1 Silverlight

    Hi,
    Let me explain my problem.
    I want to record video without shutter sound, so i choice CaptureSource  instead of
    MediaCapture.
    With MediaCapture i can set SetPreviewRotation(VideoRotation) to
    change to rotate of video, the problem is with CaptureSource,
    i can't do that.
    So i looking for some way to rotate a video.
    With library, maybe ffmpeg is the right way, but i can't use it with WP.
    Anyone can tell me how to rotate a video, please ?

    Since you didn't share any code, I hope this works for you. They key here is to rotate the VideoBrush.
    //check if webcam is detected
    if (captureSource.VideoCaptureDevice != null)
    captureSource.Start();
    //RotateTransform
    RotateTransform aRotateTransform = new RotateTransform();
    aRotateTransform.CenterX = 0.5;
    aRotateTransform.CenterY = 0.5;
    aRotateTransform.Angle = 90; //set this value to what you need
    //create a videobrush
    VideoBrush vBrush = new VideoBrush();
    //set the rotate transform to VideoBrush relativetransform
    vBrush.RelativeTransform = aRotateTransform;
    //set it to us the capture source
    vBrush.SetSource(captureSource);
    //fill the rectangle with the video brush contents
    vRect.Fill = vBrush;
    Hope it works.
    Abdulwahab Suleiman

  • Rotation about ANY axis

    Hi all !!!
    I am a novice to 3d programming but i have done some JAVA programming earlier.
    The problem i am finding is that I do not know how to rotate any geometric object (say, a cylinder or a cone) about any arbitrary axis, say ax+by+c=0.
    Can anybodyhelp me ???
    Thanks in advance.
    Ajay

    I am pretty sure I know what you are talking about.
    //Create the Object
    //Create a transform group for your object
    TransformGroup tg = new TransformGroup();
    // Now you need to make a Transform3D to do the rotational work
    Transform3D tr = new Transform3D();
    //To rotate around any axis use setRotation and pass
    // is a Quat4D (or f,i)
    // Quat takes 4 arguments x,y,z,w use the x,y and z to
    // create a vector to rotate around. i.e. (0,1,0,.4) would
    // rotate arount the Y axis, (1,1,0, .4) would rotate
    // around a line between x,y.
    // The W in the Quat is the angle to rotate (in Radian 0-2Pi);
    //So ...
    tr.setRotation( new Quat4d(1,1,0,.4));
    tg.setTransform(tr);
    //Add your object to your transform group
    tg.addChild(your_object);
    //Add your TRansformGroup to the world
    root.addChild(tg); //or whatever your BranchGroup is called
    I hope that is what you wanted. And does what you need.

  • HT201401 how to rotate a video after recording on my iphone

    how to rotate a video after recording on my iphone?

    Import the video with your computer as with any other digital camera and you can use a video viewing/editing app on your computer to rotate the video.
    For what purpose?

  • How to rotate jserv log files?

    Hi all,
    We are using 9iAS 1.0.2.1, which has Apache 1.3.12/Jserv 1.1
    How to rotate jserv log files? We have 'rotatelog' to rotate httpds_access_log etc.., but no such program for jserv log.
    (Tomcat has extended rotatelog to jserv, but what about Jserv?)
    Thanks in advance,
    Rajidhar Etta

    798852 wrote:
    Hi i am trying to see the archive files location...here is how i did
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination +LAWCRS_ARC1/lawcrsdb/
    Oldest online log sequence 37264
    Next log sequence to archive 37267
    Current log sequence 37267
    My question is how can I go to the location "+LAWCRS_ARC1/lawcrsdb/".....I am not able to find this location..can any one help...Perhaps you're looking for this...
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16102/asm_util001.htm#OSTMG01610
    I'm not clear on what you're looking for so it's just a best guess.

  • Thought I knew Adobe...but can't figure out how to rotate an object in AdobeMUSE. Help?

    I can't figure out how to rotate an object in Adobe Muse. I want an object to be half a bubble off plumb.

    Hi ,
    You can rotate an object in Muse by using the Transform toolbar and selecting the rotation angle. Please refer to this screenshot :- http://prntscr.com/52vtux
    However, if you want to create a circular looking object , then all you need to do is, set the corners as Rounded, Make the Height and Width Equal and then increase the corner radius. This would give you the desired result.
    Please refer to this screenshot :- http://prntscr.com/52vu9n
    Hope this helps
    Regards,
    Rohit Nair 

  • How to rotate and transform art board using extended javascript

    1.How  to rotate artboard using extended javascript
    2.way to write code which will work similar to transform feature , in adove illustrator
    Thanks in Advance

    it is not possible to rotate an artboard in the UI, and there don't seem to be any transform commands for it at all in the JS reference, so I'd guess its not possible.

  • How do I constrain anchor angle when I tug on a path with the direct select tool?

    How do I constrain anchor angle when I tug on a path with the direct select tool like it did in every version of Illustrator since 1988? New behavior is costing me time.

    That solves it!
    I was not able to find this in the online materials about the pen tool.  In fact, Illustrator Help | Adjust path segments does not show the new functionality at all.  They need to update that article.
    Better way to implement the new functionality
    It would have been nice if Adobe added to the chording controls for the direct select tool the ability to toggle this setting temporarily by holding down the space bar after mouse down to drag a segment.
    Before mouse down this would give the user the hand tool.
    If, after mouse down, I could hold space bar and have the behavior switch from the historical capability where dragging a segment cannot change adjacent segments to the new behavior where dragging the segment cannot move anchors but can rotate them, I am sure I would find times when the tool saved time. If, before mouse up, I release spacebar, turn the constraint back on with anchors pointing in their new directions and allow me to stretch the curve protecting the new shapes of adjacent curves.
    Using space bar for this would be intuitive to me because holding down the space bar is something I already do to organically drag the page around with the hand tool. The new tool allows me to more organically stretch artwork around, something that is distantly analogous, but close enough to remember.
    For long time Illustrator users, the chording features holding Ctrl/Alt/Shift/Space or Ctrl/Command/Shift/Space in different combinations while using the direct select tool and pen tool is the killer app part of Illustrator that keeps us using it. This what we did on Illustrator 88 on a Mac Plus in 1988 and is still the most productive way to produce vector art when precision is required.

  • How to Rotating the Bulge effect....   Stumped

    I was looking at a tutorial
    http://library.creativecow.net/articles/rabinowitz_aharon/displacement1/video-tutorial.php
    on using the displacement effect.  I started experimenting on my own using the Bulge effect to animate the layer that is to be used as the displacement source.  If you want to follow exactly what I was working with, it was number 4, the Expand Output composition.
    I applied the bulge effecty to the Test Layer with the setting of Horizontal Radius 33; Vertical Radius 167, and a Bulge Height of 4.  I animated the effect by setting keyframes for the Bulge Center.  Then I duplicated the effect and changed the Horizontal Radius to 33 and the Vertical Radius to 167.  What I ended up with was a  + (Plus sign) looking shape that animated over the layer, which is what I wanted.  I precomposed the layer and used it as the displacement map layer.
    But then I wanted the rotate the Plus sign so that it would be like and "X" instead. but there is no way to adjust for that in the Bulge controlls.  So I applied the Transform effect to the Test Layer to rotate it but I rotates the whole layer including the word Test, I got the X shape that I was looking for but I did not want to put the Test on a 45 degree slant.
    Any suggestions on how to rotate the Bulge effect.  I thought that it may have something to do with the Pin All Edges, I didnt see anything change with it on or off.
    Cris

    Unfortunately there is no intuitive way to do this. It's one more time where you will have to pre-compose. Rotatte the footage in teh pre-comp, apply the bulge on top of it using an adjustment layer. Put the pre-comp in teh main comp, then un-rotate it. I believe that will give you the kind of distortion I think you are looking for.
    Mylenium

  • How to rotate a Text Field?

    Is there anyone who knows how to rotate a Text Field? I just need to move some degrees (for example: clockwise).
    Thanks in advance for any help you can provide

    You can onlt rotate it in 90 degree imcrements ...this is controlled on the
    layout tab next to the anchor setting.
    Paul

  • How to Horizontally attribute any layers

    How to Horizontally attribute any layers with scripting

    Make a selection and align the layer to it using action manager code. This code should show I  how it can be used, The top part is missing supporting code but its the align function Paul posted that you want.
    // Add Filename Text if called for
    if ( MICollage.msgPnl.StampImage.st.value) {
      stampFilename(textFont,textSizeFactor,textColor,Name);
      loadAlpha("Image " + imageNumber);
      var Position = Number(MICollage.msgPnl.grp5a.dd1.selection.index) + 1;
      switch (Position){
      case 1 : align('AdLf'); align('AdTp'); break;
      case 2 : align('AdCH'); align('AdTp'); break;
      case 3 : align('AdRg'); align('AdTp'); break;
      case 4 : align('AdLf'); align('AdCV'); break;
      case 5 : align('AdCH'); align('AdCV'); activeDocument.selection.deselect(); activeDocument.activeLayer.rotate(textAngle); break;
      case 6 : align('AdRg'); align('AdCV'); break;
      case 7 : align('AdLf'); align('AdBt'); break;
      case 8 : align('AdCH'); align('AdBt'); break;
      case 9 : align('AdRg'); align('AdBt'); break;
      default : break;
      // could add code to do something with the image prefix info if it exists in prefixlist
      if ( prefixlist[imageNumber -1] != undefined ) {}
      activeDocument.selection.deselect();
      // Add text Layer's layer style
      addStyle(textStyle);
    function align(method) {
      var desc = new ActionDescriptor();
      var ref = new ActionReference();
      ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
      desc.putReference( charIDToTypeID( "null" ), ref );
      desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
      try{
      executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );
      }catch(e){}

  • In my Apple Macbook Air, most of the USB Flash/Thumb Drives are not shown in the Finder Window. Only a few Brands of USB /Flash Thumb Drives are shown or compatible or shown in the Finder. How do I use any Flash/Thumb Drive with my Apple MacAir?

    In my Apple Macbook Air, most of the USB Flash/Thumb Drives are not shown in the Finder Window. Only a few Brands of USB /Flash Thumb Drives are shown or compatible or shown in the Finder. How do I use any Flash/Thumb Drive with my Apple MacAir?

    Yes, junker thumb drives pour like rain in the market.  
    Which makes are working on your Air, and which arent?
    Stick to Sandisk and a couple of other reliable mfg. of memory sticks

  • I prepare chronologies in word, and i am trying to do the same in pages using tables and cells. But somtimes i need a cell to wrap onto the next page but I can't work out how to do it - any suggestions would be greatly appreciated

    I prepare chronologies in word, and I am trying to do the same in pages using tables and cells. But sometimes I need a cell to wrap onto the next page because the contents are bigger than the page or the space left on the page,  but I can't work out how to do it - any suggestions would be greatly appreciated

    brendanfromsydney wrote:
    What are the different opinions on why pages should not achieve this?
    As far as I know, Apple is free to choose to offer this or that feature.
    They never said that they want to clone Word or even compete with it.
    Differences between tables in both worlds are numerous.
    In Pages (or Numbers)
    - we can't sort a single column
    - we can't sort by row
    - we can't insert or remove a single cell
    - a cell can't cross pages boundaries
    If I understand well these design choices match :
    ++-+-+-+-+-+-+-+-++
    Apple Human Interface Guidelines:
    Apply the 80 Percent Solution
    During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution‚ that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.
    If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.
    +-+-+-+-+-+-+-+-+-++
    Yvan KOENIG (VALLAURIS, France) jeudi 9 juin 2011 16:03:52
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Maybe you are looking for

  • IPod recall: US iPod sent off in the UK - Volume capped upon return?

    As the subject says, my iPod was purchased in the US and I am based in the UK and as I understand it if I send it off to be repaired I won't be getting the same one back so does that mean I'll be getting an EU volume capped one? Cus that would be suc

  • Need information on EEO

    Hello all, Select * from hr_lookups hlu where hlu.lookup_type=       (select decode (org_information11, 'EEO4', 'US_EEO4_JOB_CATEGORIES', 'EEO5', 'US_EEO5_JOB_CATEGORIES', 'IPEDS', null, 'US_EEO1_JOB_CATEGORIES') from hr_organization_information hoi

  • Cannot open psd file in Illustrator

    One of my users is getting one of two errors when she tries to open a psd in Illustratror CS5.  One error say "Cannot open the illustration",  the other error says "The file filename.psd is in an uknown format and cannot be opened."  Furthermore, she

  • Site License query ...

    How much will it cost the school I work at to license Adobe CC for a site license?

  • IDVD burn fail with no error

    iDVD 8 (7.0.1), 10.5.3, 12G avail on HD, iMovie8 data and proj file are on external firew with 255G avail, MBookPro intel, 1G mem, likes long walks on the beach iMovie 45 min of video. iDvd 7.0 Themes with vid in drop zones. Now, I created several 30