Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Chrome : A tale of 4 Cameras

  1. #1

    Chrome : A tale of 4 Cameras

    Well I had a rush of blood last night and finally finished a Chrome example that shows how to switch between a Fixed, Tracking, First Person and ThirdPerson Camera. It had been sitting on my HD for a few months now as I didn't know how to set up the 3D things
    correctly. Then suddenly last night some things became clear.



    The sample is based on the 3rd 3D Tutorial series and I originally thought it would make a good 4th Tutorial, but it seems the XNA team have something else planned for that.

    I hope I'm not speaking too soon by saying, I think I may be starting to understand this 3D mumbo jumbo .

    Anyway here is a zip file that contains the Chrome code and executable.

    Instructions
    -------------
    Toggle Camera Modes = Tab or Left Shoulder Button
    Steer = Left & Right Arrow keys or Left Thumbstick
    Accelerate = Up Arrow key or Right Trigger
    Reset = A Button or Spacebar

    All feedback welcome on how this could be improved as I have a lot to learn.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Chrome : A tale of 4 Cameras

    Ooow cool!

    [size=9px]btw, you've got mail. [/size]
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3

    Chrome : A tale of 4 Cameras

    Quote Originally Posted by WILL
    [size=9px]btw, you've got mail. [/size]
    [size=9px]Where?[/size]
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  4. #4
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Chrome : A tale of 4 Cameras

    [size=9px]Look at your screenshot. [/size]
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #5

    Chrome : A tale of 4 Cameras

    Nice work Dom.

    I just found out as well that you can use MSBuild to build the vs solution files even if you only have the command Line Chrome Compiler . You just can't open it in the IDE
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  6. #6
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Chrome : A tale of 4 Cameras

    [size=9px]@will... omg[/size]
    NecroSOFT - End of line -

  7. #7

    Chrome : A tale of 4 Cameras

    Quote Originally Posted by technomage
    I just found out as well that you can use MSBuild to build the vs solution files even if you only have the command Line Chrome Compiler . You just can't open it in the IDE
    If you look at the batch file included in all the demos you'll see that they all use MSBuild to compile the demos, but I also include the VS solution in case you have the IDE plugin as well. The .chrome files are the equivalent of the .csproj files.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  8. #8

    Chrome : A tale of 4 Cameras

    I get a crash after 10 seconds of nothing when I run the application and get some obsure error message saying "Application has generated an exception which could not be handled."....is there some hardware prerequisite for it to make it work?

  9. #9

    Chrome : A tale of 4 Cameras

    Hmm interesting. Do you have XNA runtime and .NET 2.0 or 3.0 installed?

    Other than than you need to have Shader 1.2 or 2.0 to be able run the demos even though I am not using any shader stuff at all.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  10. #10

    Chrome : A tale of 4 Cameras

    I've not had the time to look at adding the spring system to the cameras, but I just added 2 top-down camera views to the sample, in light of the recent Tutorial 4 ( Make a game in 60 minutes ). The 2 cameras are Top Down Fixed and Top Down Centered. Hopefully the names are self explanatory.

    Btw, has anyone actually run any of the demos or tried to compile the code? The Chrome commandline compiler is free!
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •