Multiple views - how do I do it?

I am writing a piece of software that simulates a submarine attacking a ship. The software will show various platforms such as sub, ship and torpedo moving through the water and it is required that the user can "ride on" whichever platform they wish. The user's view will be a fixed distance from the chosen platform and will move with the platform through the water. The user will be able to move from platform to platform during the simulation as required. Can anyone point me in the right direction, because I cannot work out how to do this at the moment.

Simply update the viewing camera through lookAt(), invert() function in transform3D.
It's quite easy to implement :)

Similar Messages

  • URGENT query multiple views

    Hi,
    I want to query on multiple views, how do I do that?
    I have a view (foto_main) with primary key foto_id and 6 other attributes.
    I have 2 other views (foto_link_feat and foto_link_pict) that are linked with foto_main.
    Foto_link_feat has 2 attributes (foto_id and feat_id) and foto_link_pict has also 2 attributes (foto_id and pict_id).
    I want to create a query on all the attributes in foto_main and on feat_id and foto_id.
    You can create a new view with al the attributes you want to search but that is not a good solution.
    Does anyone know how to solve this problem??

    I believe that there was a suggestion/feature request which involves defining ViewObjects which do not work on database tables/views, but on other ViewObjects. I guess this is what you would want.
    However, that still would mean defining yet another ViewObject. So I guess, that wouldn't be much different to creating a new ViewObject in your current situation.
    Or.. in case I misunderstood you, you can alter an existing ViewObject in a way that it queries multiple tables/views. In order to do that, just set the query to expert mode and enter a simple join or whatever.
    HTH

  • How can I have multiple views for my question

    When I posed a question on a forum, it indicates that I have one (1) view. How can I have multiple views on the same question?

    I believe the number you are looking at is the number of times a particular thread has been looked at (viewed) by different users. When someone else opens your question, the view count should increase.
    Justin

  • How to share a bind variable across multiple view objects?

    Hi, Can someone tell me if it's possible to share a bind variable among multiple view objects within an application module? My web page displays data from different VOs on different regions. But all data should be controlled by the same bind variable, which appears in all queries. How can I achieve this?
    Please help.

    Best to state your JDev version, and technology stack (eg. ADF BC) when posting.
    I can think of 2 approaches.
    1) Create a parent VO based on SELECT :bindVar FROM dual, then create links between your other VOs and the parent
    2) Create a AM client interface method that programatically sets the bind variable in each VO.
    Can you specify your use case? This one tends to come up when discussing effective from/to dated queries.
    CM.

  • When viewing the weather default app with multiple cities, how come there isn't a one click shortcut to go back to the first city?

    When viewing the weather default app with multiple cities, how come there isn't a one click shortcut to go back to the first city?

    3.2 you can make multiple clocks, each clock can have a different alarm.

  • Can Numbers Display Multiple Views of the Same Table

    Hi,
    Excel and Appleworks both have a pull down tab on the vertical bar allowing multiple views into the same spreadsheet (table). Can Numbers do this?
    I have a set of calculations at the top of a spreadsheet that are based on years and years worth of data under the calculations (same column). I add data for each new event (the rows) and watch the calculations at the top of the data. Easy to do in Excel or Appleworks, but, I can't figure out how to do this in Numbers.
    Example:
    Spot1 Spot2
    Total 15 36
    Avg 5 12
    Jan 09 5 10
    Feb 09 6 20
    Mar 09 4 6
    Apr 09
    So... does Numbers allow the view "split" or multiple views that Excel and Appleworks allow?
    Thanks!
    Tom

    Question asked and responded several times:
    feature unavailable.
    For multiple views of a table there is an easy workaround as we may build a table whose every cells grab their contents from the 'master' one.
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (VALLAURIS, France) mardi 1 septembre 2009 21:56:42

  • I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book format to see the multiple view, spread view, or single view.  I can no longer see my book although I still see the collection with 418 photos

    I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book module and clicking on the multiple view, spread view, or single view does not take me back to the book I have been working on.  I can no longer see my book although I still see the collection with 418 photos under collections.  What I do see is a blank template for a new book and I can't find the unfinished book I started with 418 photos.  It is like the new empty template is somehow covering it up.  How do I get back to the book I have been working on?

    Is it possible you mistakenly clicked on a [Clear Layout] button?
    But a great hint is- Always click on the [Create a Saved Book] button, early in your new book design.
    Then you have a permanent link to the book in the Collections panel. (In addition to the standard collection of your selected images)
    Note: a Book Collection shows an icon that looks like a book.
    Every time you come back to edit the book, open the Book Module by clicking on the white arrow that appears on the end of your Book Collection title. (The title as saved)
    Re-opening a book without using the "Saved Book" option can have unpredictable results.
    A "Book" Collection is like a "Smart Collection" because anything you do to the book design, change pages, change images, etc,  is automatically updated in the Saved Book collection.

  • MVC �Best Practice� (handling multiple views per action/event)

    Looking for the best approach for handling multiple views for one action/event class? Background: I have a small application using a basic MVC model, one controller servlet, multiple event classes, and multiple JSP views. For performance reasons, the controller Servlet is loaded once, and each event class is an instance within it. Each event has an �eventProcess()� and an �eventForward()� method called by the controller, standard stuff.
    However, because event classes should not use instance variables, how should I communicate which view to forward to should based upon eventProcess() logic (e.g. if error, error.jsp, if success, success.sjp)? Currently, there is only one view mapped per event, and I'm having to put error handling logic in the JSP, which goes against the JSP being for just view only.
    My though was 1) A session object/variable that the eventProcess() sets, and the eventForward() reads, or 2) Have eventProcess() return a mapping key and have the conroller lookup a view page based upon that key, as opposed to 1-1 event/view mapping.
    Would like your thoughts!
    Thanks
    bRi

    Your solution seems ok to me, but maybe the Struts framework from Apache
    that implements MVC for JSP is a better solution for you:
    http://jakarta.apache.org/struts/index.html
    You should take a look at it. It has in addition some useful taglibs that makes life much easier.
    We have successfully used it in a project with about 50 pages.

  • Table based on multiple views

    Hello all,
    Is it possible to populate a table with data from multiple view objects that are linked with a view link?
    The reason i want to do this is because if you update the reference ID in the master the detail automatically follows.
    Now, I know i can create a view object and then include the detail info using expert mode, but this way the detail info doesn't change if i change the reference ID.
    To conclude, a brief explanation of what i'm trying to achieve.
    I have a table with adresses. Having a reference ID to the ZIP table.
    Because the user doesn't know all the ID's by heart i show the name of the city and the user can change them by clicking on a lov button. This all works fine, BUT, when the city is changed the old one stays visible for the user. Although committing, changes the city to the new one.
    Regard
    Johan

    Keeping in mind what Dave just said, you would be better off creating your GTT once. Then reusing it over and over again. Using GTTs is advantagous in that its contents are visible only at the session level, and depending on how the GTT was created it will either automatically truncate the table on commit (the default if not otherwise specfied) or truncate the table at the end of your session regardless of commits.

  • Controlling Post Order of Multiple View Objects

    Hi ,
    Here is the scenario:
    I have a use case of "Creating an Abstract"
    Steps:
    step1 ) (Page 1) Author presents the details of the abstract (Details goes to 2 tables ABSTRACT & ABSTRACT_CONTENT tables). For the 2 tables i have 2 entities. I use a view here called CreateAbstractView from both the tables( here i control the post order of the entities ....code from jdeveloper 11g guide)
    Step 2)(Page 2) Author presents details of Additional Authors. I use the view (*AdditionalAuthorDetailsView*) (Details goes to 2 tables AUTHOR & ABSTRACT). Here in the abstract table i have a parent key(parent abstract id) So all the additional authors has a record in Abstract table with parent_abstract_id from step1. ABSTRACT table also has a foreign key (author_id) .Here also i control the post order of the 2 entity object using the code from jdeveloper 11g guide.
    I also have a link from CreateAbstractView to AdditionalAuthorDetailsView (abstract_id in Abstract table from CreateAbstractView to parent_abstract_id in Abstract table from AdditionalAuthorDetailsView )
    If i have a commit on both the pages , i don't see a problem.
    But i want to have a commit process at the end so that the user can review the information. So when i try to add a commit process at the end , i get a exception (Parent Key not found exception) which i came to understand that commit from AdditionalAuthorDetailsView is happening first which is trying to insert a record into ABSTRACT table and cannot find the parent_abstract_id.
    How do i control the post order for multiple view objects in such scenarios?

    Hi!
    Please take a look at the dev guide. It comes down to controlling the posting order on entity level.
    http://download-uk.oracle.com/docs/html/B25947_01/bcadveo007.htm#CEGJAFCF
    Sascha

  • SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.

    Hi there,
    Does someone know in SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.
    Thanks,

    Hi,
    Per my knowledge,
    it is by design that the data type multiple lines of text can only use “contains” and “begins with” operators.
    You can also filter the list view using SharePoint Designer,
    Open your list AllItem.aspx page in SPD ->click “Filter” > in “Field Name” select your multipe line of text field, in “Comparison” will displayed four choices.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Define multiple views

    I'm trying to build a simple app which has multiple views. When the user clicks on the worksetItem I want to change the view, and display an other table in the shell. But I dont know how can I define another view, and add it to the shell.

    Hy Venkatesh
    I've found the link too that you've posted.
    I've used the following tutorial to buld the base of my app:
    Developing a simple List based SAPUI5 Application
    And now I want to spereate the BP data, and create a subview for it, and do the same for Sales, than load it to the main view, when the user clicks on the menu. But I dont really know how to write my own view. (what to write to the "createContent()").

  • Multiple views without instancing

    Ive seen the question asked about this. and it doesnt seem to
    be widely used. using multiple cameras diplaying multiple views of
    one scene, at one time, without having to use instances. why so
    many opt not to use it I dont know. when it should be used. on a
    very standard basis. for those that play the playstion or xbox
    systems. you have most likely seen a game where a second window
    opens up. You can do the the exact same thing in shockwave 3d. so
    why not use it. Say you have a character walking thru a house. and
    the camera is following that character. You can take a seperate
    camera, in a seperate part of the house. Showing another person
    coming from behind the first person in a second window displaying
    both windows at the same time. You can actually create mood and
    atmosphere. There isnt a single shot in movies or tv that cant be
    created in 3d and therefore shockwave 3d, be it split screens or
    not. So why not use it. This is like if all the people that use
    flash opt not to use flash video. when that is one of its strongest
    features. well here is a very simple example of it
    www.bleed3d.com/rotating%20cameras.htm

    quote:
    Originally posted by:
    tyree_2
    Im not referring to resources Im referring to visual delivery
    here is a very simple scene nothing special just a sphere but its
    interesting to look at
    But resources, in terms of manpower and funding is a huge
    factor which
    directly affects the end quality of the visuals. This is a
    lot of the reason that most commercial games require huge teams and
    huge amounts of funding. If we had double the time available (i.e.
    funding) and double the team size for our projects, we would be
    able to deliver much higher visual quality in terms of time spent
    modelling characters and levels, and time spent adjusting and
    improving visual routines.
    Incidentally, the demo you posted is actually quite boring to
    look at! Adding a second camera view of something that is already
    very dull doesn't make it significantly more interesting :-)
    quote:
    I also dont believe that the size of the plugin is really a
    problem. keep in mind people downloading movies and content in
    excess of 100 mb is the norm.
    If you read my post more carefully, you'll see that I said
    the plugin install "process", not the size. I agree with you that
    the size is not so much of an issue particularly now broadband is
    more widespread. But the number of dialogue boxes that must be
    click through, the 'age request', the toolbar option, the redirect
    to shockwave.com.... it's appalling and I am embarrassed when a
    client needs to see that, when we pitch a shockwave game to them.
    It's a
    major hinderance to selling shockwave work to clients.
    I
    really don't understand how you think adding a second camera
    view would inherently raise the 'standard' or make a project more
    entertaining. In almost all cases, unless it was for some specific
    purpose that was relevant to the project, I think the user would
    think, "what's that extra camera view for?".
    - Ben

  • Multiple views in single View Container

    Hi Experts,
    Is it possible to display multiple views in single view container.!! . I want to display 2  views in a view container based on condition. Please suggest me how to achieve this.
    Thanks,
    Regards,
    Ram.

    Hi.,
    Yes it is possible to embed views in one view container.
    Embed all views in one View Container . Assign plugs based on condition navigate through them.
    Create an attribute and bind the visibility property and play with show or hide.
    hope this helps.,
    revert if u need some more clarifications.,
    Thanks & regards
    Kiran

  • NSTimer on multiple views

    Hello everyone,
    I am making a simple game with multiple views (levels) that involves a timer that counts down. I can't seem to figure out how to code the same timer into each of the views. So far I have only been able to get the timer to show on the first view.
    Thanks in advance.

    You can declare a int variable (e.g. int timePassed - in secs) in the AppDelegate (e.g: GameAppDelegate) - also make properties for it. You can init it in the mainViewController as follows:
    GameAppDelegate *delegate= (GameAppDelegate *)[[UIApplication sharedApplication] delegate];
    delegate.timePassed = 0;
    Each viewcontroller (that uses a timer) will have an nstimer instance:
    NSTimer *timer; (or something similar)
    At viewWillAppear method you will init the timer as follows:
    timer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(TimePasses) userInfo:nil repeats:NO];
    In TimePasses method (each viewController will have such a method) you will update the label of the viewController using the timePassed from the delegate:
    GameAppDelegate *delegate= (GameAppDelegate *)[[UIApplication sharedApplication] delegate];
    timerLabel.text = (format the seconds from timepassed into a nice time output - e.g 70 => 1:10)
    When switching to a new viewcontroller you have to invalidate the timer of the old viewcontroller and init the timer of the new viewcontroller. You will invalidate the old timer when doing the [self.navigationcontroller pushviewcontroller:newviewcontroller animated:NO] (you'll get an error if you already have invalidated it). Again in the newviewcontroller you'll have to init the timer as above, which will launch the selector method from it's own class.
    I believe this is how it can be done, though if you want a single nstimer instace I don't know how you can switch the target/selector. You'd also need to declare the NSTimer variable in the delegate like the timePassed. Also if you need to invalidate the timer with other occasions you can also use a BOOL which will tell you if the timer is invalidated or active so you won't get a BAD ACCESS.
    I hope this helps, good luck with your game

Maybe you are looking for

  • Manually edit volume of MIDI file in Java

    Hey all, I'm trying to find a way to manually change the volume (velocity) of a midi file before playback, i.e. directly in the code. This is the code I'm using to play my midi files: import javax.sound.midi.*; import java.io.*; /** Plays a midi file

  • OK, i5/i7 received how is your experince?

    Received iMac i7 on 11/24/09. No cracked screen, zero BT Magic Mouse issues, zero BT Keyboard issues and zero heat issues. Speed is awesome as with the display. All in all I am completely satisfied with my purchase. I am feeling for those, that seem

  • Adobe CS4 Design Premium Compatability

    Hello, My daughter is required to use Adobe CS4 Design Premium by her School. I will have to buy a new laptop for this purpose. In this regard, I have few queries: Most laptops come with Windows Vista Home Premium (64-bit) OS. Since the Adobe website

  • Submitting program in Background  - Very Urzent

    Hi, I am currently working in mySAPERP 2005 upgradation project. Here i am facing a strange situation. I want to submit a SAP standard program SAPMV50S (Delivery due list creation) in my custom program in Background. I tried below option: CALL FUNCTI

  • Message in Develop "The File Could Not be Opened"

    My photos are in an external 500 gig hard drive. I am using a new iMac. In Lightroom when I go to the develop module and select an image I get a message saying The File Could Not Be Opened. I can not do any editing. I can open photos from the hard dr