Camera Angles in Java 3D

Hi,
I am using lookAt command in Java 3D to view my drawings from different camera angles. However, I am having some difficuty doing that.
I have used gluLookAt with OpenGl and I was wondering if there is a difference between the two. I am trying to use the command in Java exactly in the same way I was in C++ but the two are behaving differently.
For example.
I have drawn grid lines which I want to view from different locations instead of looking it at from the normal 0,0,1 location. I want to view it from location such as 1,1,1 (top right corner)
Also, does it have to do with the way I am drawing my gridlines. Currently I am drawing the lines with width of 25 starting at (x=-300,y=-200) using the following code
Transform3D t3 = new Transform3D ();
// Horizontal Lines
Point3f[] verts = {
new Point3f (-300.0f, 0.0f, 0.0f),new Point3f(275.0f, 0.0f, 0.0f)
Color3f grey;
int y;
for (y=0;y<16;y++)
Color3f[] colors = {
grey, grey
t3.setTranslation (new Vector3d(0.0, -200+y*25.0, -800.0));
Point3f[] verts1 = {
new Point3f (0.0f, -200.0f, 0.0f),new Point3f(0.0f, 175.0f, 0.0f)
for (y=0;y<24;y++)
     t3.setTranslation (new Vector3d(-300+y*25.0,0.0, -800.0));
Please let me know.
Thanks, Divya

Hi,
Ideally for best results, you need a physics engine to work along with your code. Open source physics engines available are Newton, ODE, Torque.
Else you could use OpenGL api and hard code equations for velocity, gravity, etc. to give best results.
I may be completely wrong, but this is the approach I followed when I was working on a similar project.
Hope this helps,
pd

Similar Messages

  • Premiere Pro Multi-Cam Angles on External Monitor

    On Mac OS 10.10.3 with a Blackmagic Intensity Pro and Premiere Pro CC 8.2...
    Is there a way to show multi-cam angles on an external monitor connected to the intensity via HDMI? Enabling "multi-cam" in my timeline only shows the angles on my computer, not the external monitor. The external monitor only shows the active angle.
    The feature is available in FCP7 with the click of a button --> show multicam angles.

    One editor's huge oversight is another editors yawn, of course. But for those like yourself doing much multi-cam with clients looking over their shoulder, yes, this would be a biggie. And you'll not find any disagreement about wanting it. So ... how about filing a bug/feature report about this? The teams actually do quantify these over time, and the bean counters look at these numbers as part of the logic of where they allow budget for changes/fixes to be allocated. So the more filed the better chance we'll get something like this changed.
    Adobe Bug Report /Feature Request form ...
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Heck, file one weekly if you want!
    Neil
    (well known for filing such requests ... )

  • CS6 Multicam Edit - Is there a way to turn off some camera angles when the system gets strained?

    I'm doing a multicam edit in cs6 and the 5 camera angles I have are straining my system.  I have two main angles and three kind of back up go pro angles that I don't need most of the time.  But I don't want to get rid of them either.  Is there a way to turn off monitoring some of the angles at times so that video will playback smoother?  Then when I need the other angles, switch them back on when I want?  The video is so choppy with all 5 angles monitoring at once that multicam editing is basically impossible.  I'm editing on what's supposed to be a very fast system at work but it's not fast enough...Thanks!

    I'm not aware of any way to do this. You might want to invest in a battery case if this is a problem for you; our users here all have them.
    Please submit your feature request to Apple at this link: http://www.apple.com/feedback; I agree it's a good idea.

  • Can I still work with at least 2 camera angles in the imovie 10 (new version with mavericks)

    With Imovie 9 it was possible to use the cutaway tool to use two camera angles. Can't find this option in the new Imovie downloades with the new OS X Mavericks... Any advice for me? Thanks!

    To create a cutaway with the new iMovie, simply drag one clip above another, and it will instantly connect to the clip below to create a cutaway. Once the clip is in the timeline, you can easily change it to a side-by-side, picture-in-picture, or green screen clip. You can learn more here:
    http://help.apple.com/imovie/mac/10.0/#mov159eff157

  • FR: Full Screen Preview of Multi-Camera Angles

    The Program monitor can be viewed in Full Screen mode, as we all know, but when the Program monitor is displaying Multi-camera angles, it can only viewed in windowed mode.  Full Screen mode no longer works in this situation.  This is inconsistent, illogical and unproductive, thus my new FR for Adobe to allow the Program Monitor to be viewed in Full Screen mode, regardless of what it's displaying:
    (feel free to copy/paste and send as your own FR here: www.adobe.com/go/wish)
    How would you like the feature to work?
    *******Enhancement / FMR*********
    Brief title for your desired feature: Full Screen Preview for Camera Angles
    How would you like the feature to work?
    The Program and Source Monitors can both be toggled in/out of  Full Screen mode with a single keyboard shortcut, a fantastic feature.  Why then can't the Program Monitor display in Full Screen when it's displaying Camera Angles, either with the Multi-Camera Preview Monitor on or off?  A window that can be viewed in Full Screen should always allow full screen preview, regardless of what it is displaying!
    Why is this feature important to you? 
    Consistency and a logical, productive UI is beneficial to all editors.  The fact that the Program Monitor window can be viewed in Full Screen in one instance but not another, is illogical, inconsistent, and a productivity hindrance that should be fixed.
    Ideally, Adobe could give us a separate, Full Screen capable window for displaying Camera Angles.  This way users could display their Camera Angles on one monitor, and their Program Monitor on a second monitor, all in Full Screen mode, without the visual polution of a windowed interface whenever that interface does not contribute to the editing task at hand!  Here is my thread regarding that request: Help Improve Premiere! FR: Separate, maximizable Multi-camera view.  However, should Adobe be unable or unwilling to provide us with the suggested interface that would provide maximum customizability/flexibility, at the very least having the option to view our Program Monitor in Full screen mode when viewing Camera Angles would be useful.

    The iSight is either 640x480 (older MBPs) or 1280x1024 (newer MBPs). Displaying it 'full screen' especially in an older MBP (which is what you have if you're posting in the correct forum) would result in a horribly pixelated image, not 'high resolution'. The apps that show the iSight feed are showing it at its native resolution, and that's a limitation of the hardware. If you need higher resolution, you can attach a higher resolution video camera (for example, my Panasonic DV camcorder connects via FireWire and can be used as a webcam).

  • 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

  • Best way to mix multiple camera angles from multiple performances?

    There has to be a slick way to do this, but I can't seem to figure it out.  I'm hoping someone can offer their advice on the best way to approach this project. (I'm using Premiere Pro CS4)
    I have footage from 2 performances of a high school play that I want to mix together, with 2 cameras used each night:
    Cam1: Friday Right
    Cam2: Friday Center
    Cam3: Saturday Wide Left
    Cam4: Saturday Wide Right
    I only had 2 cameras, but I wanted to capture 4 different angles that I could later mix and match.  The problem is that, as live performances go, you can't count on exact timing from night to night.  It's really simple to do multi-camera editing for one night with the Multicamera Monitor (painfully simple), which works great for the 2 angles that were filmed on the same performance, but if I try to do it with footage from different nights, it only takes about a minute for actions onstage to be so far off between the two nights that I can't switch between cameras with reasonable accuracy.
    Since I will be going back and forth many times among 4 clips, the ideal solution that I have come up with (but I don't think Premiere can do) is to have the ability to set markers or keyframes at certain locations that basically say "switch to MM:SS on camera X now" without actually trimming clips and overlaying them into a single video track.  So basically determining which camera is "Live".  This would let me do rolling edits without having to create a new clip every time I want to switch to that camera angle.
    I may be missing something very simple or over-analyzing something that really won't be that bad, but I'm having a hard time wrapping my mind around the best way to approach cutting back and forth among the same 4 unsynchronized camera angles numerous times.  If nayone has a suggestion I'd love to hear it.
    Thanks,
    -keen

    Time - being in sync...
    Most performances like that shot ( for like a music video ) are done to recorded music ( lip sync and play to recorded music ) ..so timing stays the same to the music...  dont know what kind of performance you shot but this gives you an idea how tough it is to keep timing for music performances.
    ---------you wrote -----
    Since I will be going back and forth many times among 4 clips, the ideal  solution that I have come up with (but I don't think Premiere can do)  is to have the ability to set markers or keyframes at certain locations  that basically say "switch to MM:SS on camera X now" without actually  trimming clips and overlaying them into a single video track.  So  basically determining which camera is "Live".  This would let me do  rolling edits without having to create a new clip every time I want to  switch to that camera angle.
    If you can't just use one night as suggested earlier by Jim and Stan....I would say bite the bullet and just do what you dont want to do...
    make subclips ( trim clips or whatever ) and forget about rolling edits...
    You might want to consider putting stuff in 4 sequences... day 1, day 2, day 3, day 4...
    make a 5th sequence called "rough cut " or something...
    each time you take a "clip" from one of the 4 sequences move that clip up one video channel ( and copy / paste to your 5th sequence )..which then gives you a visual quick guide what you have USED from the sequences...so you dont waste time scrubbing through stuff you already put into sequence 5....
    You may be able to choose just ONE sound track from one night and just use THAT...and pick shots that FIT those moments in time OK from all 4 sequences....you can play with duration / time of a small clip ( as it is unlinked to the sound in this scenario ) to make it FIT better...but that would be very subtle changes...
    ps...I keep forgetting...some people use the camera to record sound instead of a sound mixer, recorder, etc...so if thats your case what I suggested at bottom of mssg probably would not work...using duration / time...unless its REALLY minor adjustment...hmmmm, maybe export just the sound from a single performance and try using that as your ONE sound file for the performance...I really dont know what you would do if you recorded sound with the cameras...as I would never do that I dont know what to suggest if thats the case...

  • Working with 30 Camera angles in multicam sequence, best workflow, too many cams for system to play all at once

    Working with 30 Camera angles in multicam sequence, best workflow, too many cams for system to play all at once

    Get a halfway decent system, something like:

  • Editing a movie with video from two camera angles

    I made video of the home birth of our third child using a miniDV and a Nisis DV6 camera. The DV6 has very lousy sound, but some of the DV6 video was critical to use for a period of time. I imported the overlapping clips, exported the audio on both, muted the DV6 audio, then moved the audio from the miniDV clip so it lined up with the DV6 audio. With a little more fading in/out on the audio from the two tracks I seemlessly/gracefully switch camera angles and preserved good audio.
    I have a comment (a wishlist item) and a question. I wish I would have had the ability to take the two overlapping video clips, line up the audio waveforms and at the same time overlap the video clips on the timeline. I wish I could have then played both clips at the same time with the ability to switch between the two camera angles. I would take the ability to view both camera angles without the ability to switch between camera angles in real time, but then I'd wish I had the ability to specify which clip to use at any point in the timeline rather than having to manually insert the video from one camera angle or the other the other then insert a transition. Does any Apple-compatible video editing software thats provide some or all of the capability I desire? If Apple software developers are out there I hope you think this might be another great innovation.

    As David and Karsten said: FinalCut Express is really the software, you are looking for. I have only worked with it twice (unfortunately I am still waiting for my - first - Mac now for two weeks, so as a Win-user I had no chance to have a more intensive look on FCE). But it is a great program.
    What David said about the learning: It is quite easy. I have learned digital video editing on Adobe Premiere and on a Avid-machine, which is nearly the same as handling FinalCut. You'll perhaps need one evening. But after that you'll have the basic knowledge for editing your videos. The rest comes step by step. It is just learning-by-doing.
    Another advice: Adobe Premiere Elements is also a good program for what your want to do. But it is much cheaper and a bit easier to learn. For editing simple home-movies perhaps the better choice. It has even a build-in DVD-authoring.
    Greets
    Stefan

  • Audio interrupted when switching camera angles (help request)

    When switching camera angles in FCPX 10.0.3, a clip is split into two and there's a slight break in the audio at that point. I'm using the Angle Viewer, and I've selected video-only switching, but due to the Blade tool there's still a gap in the audio whenever I switch camera angles. For instance, if I switch cameras (by pressing 1 or 2 on the keyboard or clicking the respective camera view) during dialog, the word is interrupted by a glitch or hiccup at that point.
    My setup is two cameras synchronized with external audio. My goal is simply to be able to switch from one camera angle to another while retaining the audio exactly. I wish to make hard cuts (i.e., no cross dissolves or other transitions)—surely this must be the easiest and most common of multicam edits?
    Is there any setting to automatically crossfade adjacent audio clips? The Expand Audio/Video command doesn't allow for separate audio/video editing on multicam clips. Further, the Detach Audio command also doesn't work on multicam clips. Adding cross dissolves only to audio therefore appears to be impossible for multicam editing, at least not without extremely time-consuming surgical editing, which clearly isn't a feasible solution.
    I'd be extremely grateful for any help.

    I think this describes my issue as well. Thank you for your investigation!
    I had the background noise reduction enabled on the angle I was using for the multicam audio. I disabled that, and the volume adjustment I had made to the track, and now the full multicam clip with angle switching appears to be playing without audio interruptions.
    I'm working on a possible work-around: In the Project Timeline, I took all of the "sub-clips" representing each new angle, and created a new compound clip containing all of them. I then applied the noise reduction to the compound clip. This appears to apply the noise reduction to the compound clip as a whole, instead of each individual angle cut, and therefore does not interrupt the audio on an angle cut.
    Write back if it works for you.

  • Preparing Multiple Camera Angles for DVDs

    I filmed and event using 2 DV cameras, imported the video and did some editing. I created 2 multi clips that are about 1 hour each. The multi clips switch between the different camera angles.
    What I want to do is create a DVD (probably two 1 hour DVDs) that provides the three different views: 1) multi clip as the main track 2) camera one & 3) camera two.
    What is best way to do this?
    It looks like I could export the multi clip and each individual camera clip, bring them into DVD Studio Pro and create a DVD with 3 angles. However because each clip is about 1 hour, I would need to fit 3 hours of video on the DVD and lower the video quality to do this.
    Is there some way to build a the DVD from just the 2 base video clips so I don't have to lower the video quality as much?

    VideoWrecker wrote:
    What I want to do is create a DVD (probably two 1 hour DVDs) that provides the three different views: 1) multi clip as the main track 2) camera one & 3) camera two.
    What is best way to do this?
    You need to output three video clips, one for each video stream (angle). It can get tricky. You should read up on it in the DVDSP manual. It covers this area very well. I recently produced an instructional dance DVD which incorporated a front, side and rear view of the instructor. News about that DVD feature has been burning up the bellydance forums, so I did something right!
    It was a bit of a nightmare with invalid GOP structures due to different edits in different timelines. But it was worth working through (a giant learning experience) and in the end it was much fun -- the whole thing was shot on a bare bones budget and over a marathon 17-hour shoot! FYI, and this is not meant to be a plug, [here's the trailer|http://azhiadance.com/dancerscompanion.htm] to see an example.
    However because each clip is about 1 hour, I would need to fit 3 hours of video on the DVD and lower the video quality to do this.
    That is the rub. Your options are:
    1. Sacrifice quality and compress your video till it all fits
    2. Sacrifice quantity and include fewer streams
    3. Sacrifice cost and use DL discs (this is what I went with)

  • Two Camera Angles

    I shot a wedding for a friend (I have very little experience with this, just doing him a favor to save money on the wedding) and had two camera angles going, one from a tripod and one handheld that I was carrying.
    I was wondering if there was an easy way to line up the clips and cut back and forth between the two angles. I also have iMovie HD 6 available.

    bp1002 wrote:
    .. (why does the single guy always get stuck shooting these romantic things )
    advice from the divorced guy, who always get stuck shooting these romantic things:
    give (m)any of the present teenagers (a) small digital still-cam(s) and give advice 'as much and as close as you can get'; they shouldn't care for detail, perspective.. SHOOT! (e.g. never use the viewfinder, hold camera 'on the long arm'). faces, faces, faces..
    before edit, view the 4321 stills in iPhoto and create an album of the top50 pics... perhaps, prep them: b/w, add a white border, place them on some grey-linen background =can all be done in Keynote .. see example#2 on my iDVD modding site .. in case, you don't own Photoshop/Pixelmator etc.
    esp. when using 1 camcorder only, you will LOVE to intercut stills.. that adds 'drama' - paced video, calm (Ken Burns) stills, or +vice versa+ fast edited still impressions, and slow-mo, classic music video..

  • How to change camera angles frequently (Like in music videos)

    Hey I'm trying to make a music video of my own and I have 6 video clips of a shot of the band, guitarists, bass, singer, and drums and I want to know if there is any way you can like set a priority to what video is being shown so you dont have to chop up each clip and you can just keep them all whole but just set something so that one clip is the only clip being shown at that time and then switch every 3 seconds or so. Please help if there is any tool that does this.

    Look up mulitcam editing in the PPro docs.
    Basically: First, create a "source" sequence. Each video feed on it's own layer in the timeline. Sync them as required.
    Next, create a new "multicam" sequence. Nest your source sequence into the multicam sequence by dragging the source sequence icon from the Project panel into the multicam timeline. Enable multicam editing on this sequence. Notice that this nested squence shows you exactly one video feed. This is normal, not to worry, all will be clear soon.
    Now, open the multicam editing monitor. You'll see all of your different camera angles on the left hand side, and the "current" angle on the right hand side -- this corresponds to the camera angle on the left hand side with the highlight around it. Use your pointing device to select which angle is active. Start your video playing. As it plays, use your pointing device to pick which angle to show at any particular time by clicking on a camera angle on the left hand side of the multicam monitor. Be quick, this is real-time work. When you stop, you'll see the cuts made on your timeline. Each cut is identified by camera number, which corresponds to the video track number of your source sequence.
    Finally, go back through your timeline to each cut, and use the rolling edit tool to move that cut back and forth to fine tune the location of each camera angle change. You can do this as often as you need to.
    It sounds complicated, but in practice it's simple and quick.

  • Viewing multiple camera angles at the same time

    Hello -
    Basic question, that I'm sure has been answered many times before - so apologies for the repeat!
    I have been asked to take over editing some shows and gigs, which are filmed from up to four different camera angles. Each operator starts their camera, then runs it for the whole performance - so you end up with four long clips of video. The guy I am taking over from tells me that once you've got the four clips correctly aligned, it's actually a relatively simple job IF you can view all four clips at the same time. I basically need to be able to watch the whole show from start to finish, watching all four angles at the same time and doing a rough edit as I go, then go back and neaten things up.
    1. Will Final Cut Express do this?
    2. If the program can do it, am I right in thinking my iMac might be a bit underpowered?
    As you can probably tell, I'm not at all down with the lingo on video editing, so I hope my question makes sense!
    Thanks in advance,
    Joe

    Hi
    A VERY Good Answer from Tom.
    I do this in a slightly different way.
    Videos on one track each
    Re-sized to 25% as Tom describes
    Moved to sync.
    Then I don't use the blade tool - BUT adjust transparicy. So that needed angle get 100%
    rest goes to 0%
    Finalicing by re-sizing all back to 100%
    Done
    BUT if You can finance it - THIS is much easier to be done in FCP when getting the hang of
    how it works here. Much more like a Real-Time editing situation - Click on the view You like
    You don't even need to be very excat - Easily fixed with "roll tool" (I think it's named)
    If Time is of essence and mony not - FinalCut Pro about 10 times faser to me
    If other way around ==> FCE
    Yours Bengt W

  • Multiple camera angles

    Does Final Cut Pro 10 not have multiple camera angles like previous versions?   How do you edit multiple cameras angles?
    ... Gary

    Complaint: There’s no multicamera editing. In the old FCP, you could import the footage from various cameras that covered an event (say, a concert) from different angles simultaneously, and then easily cut back and forth between them while editing. It was a star feature of Final Cut, and it’s gone from FCP X.
    Answer: Apple intends to restore this feature in an update, calling it “a top priority.” Until it does, here’s a stopgap facsimile of multicam editing: If you drag two clips into parallel timeline tracks, you can choose Clip->Synchronize Clips. By comparing their audio tracks, the program aligns the clips exactly. Now, each time you select a piece of the upper video track and press the V key (“disable”), you are effectively cutting to what’s on the lower video track.
    http://pogue.blogs.nytimes.com/2011/06/23/professional-video-editors-weigh-in-on -final-cut-pro-x/
    There was an official Apple FCPX FAQ but the url no longer works.

Maybe you are looking for

  • How can I login with a broken letter of my keyboard used in the password?

    I broke the letter "i" from my keyboard and I need to use  it when a login! Therefore, I cant login. How can I substitute it? Is there any character?

  • Page X of Y functionality for PDF export in OBIEE

    Hi, Can any one of you please let me know how to implement page 1(2) and page 2(2) functionality in OBIEE when we export in PDF. Its very urgent requirement for us.

  • When is my BT cabinet being upgraded for fibre?

    Hi, I live on a new build estate with about 100+ houses and whilst everywhere around us seems to be able to get fibre our cabinet has not been upgraded for fibre. I'v registered my interest on the BT site to be kept informed of fibre availability in

  • Grouping synced audio + video clips into one clip?

    I've been asked to edit some footage together that was shot by some other people. They recorded the audio separate from the video on a Marantz device, but they used a clapboard to mark everything so it shouldn't be too much of a problem to sync the a

  • Iweb, mac.me rollover code?

    I have created html snippets for my website to create rollover states, they work fine when saved to my HD, what do I change the code to when I publish to mac.me? What is the correct URL?