Thread: What are you working on/studying?

  1. #16
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    But that's just it, what do you really think happens when you say 'you are the one rotating'. You are rotating your view vector and changing your position, and unless you perform the transformations manually you probably pass
    1) the position of the camera
    2) the view vector (in worldspace)
    3) the up vector

    and then it uses that to rotate the world around you before drawing! The glu library supplies gluLookAt and I know I"ve seen similar in d3d code.

    EDIT: ohh I think I somewhat might have mis understood what you were saying, the total effect is different right? I believe I was confusing what you said with something different.
    Last edited by Silvercord; 08-24-2003 at 11:05 PM.

  2. #17
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    I know about those 3D vector/matrix stuff. Although it looks like the map is rotating around you, its actually just a different viewpoint matrix. But I don't use any of that.

    Yea, in my game, you ALWAYS point up, even when you turn and move. That way, the map and everything else seems to rotates around you.

    Still, how would it be confusing to a player?
    Last edited by Speedy5; 08-24-2003 at 11:14 PM.

  3. #18
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    no, i think your right silver, rotations and translations done by the 'camera' are actually rendered by doing the opposite things to the scence.


    what im donig: 3rd year of Comp. Sci.

  4. #19
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    perspective what speedy is talking about is the difference between a 2d tank moving through a 2d maze (where the maze stays in more of less the same spot and it is only the tank moves) versus the tank staying in the exact center of the screen and the maze always moving around you. How the actual math to get that done is moot, he's just talking about two different visual effects. DAMMIT I AM SUCH AN $$$$$$$ I MAKE EVERYTHING SO COMPLICATED I SUCK I SUCK I SUCK!

  5. #20
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    is comp sci fun per?

  6. #21
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    Well its not in the exact center. Its 2/3 down the screen.

    Whats moot?

    What college Perspective?

  7. #22
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    I usually tell people to go to dictionary.com

    but moot basically means that something makes an irrelevant point

  8. #23
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Perspective, I just think it would be confusing to the player (at first) because "conventionally" the player rotates and the map doesn't, so that's what everyone is used to. So people might get (slightly) confused for the first 10 minutes or so.
    Away.

  9. #24
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Originally posted by confuted
    Perspective, I just think it would be confusing to the player (at first) because "conventionally" the player rotates and the map doesn't, so that's what everyone is used to. So people might get (slightly) confused for the first 10 minutes or so.
    Hu? What about sidescrollers? I mean it's a translation, not a rotation, but we have a static object (the player, his ship or whatever) and a world that moves around it.
    [code]

    your code here....

    [/code]

  10. #25
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Originally posted by confuted
    Perspective, I just think it would be confusing to the player (at first) because "conventionally" the player rotates and the map doesn't, so that's what everyone is used to. So people might get (slightly) confused for the first 10 minutes or so.
    I dunno - it seems like I see more games with the way speedy's doing it. Meh, I think it may take a couple seconds of getting used to, but wouldn't be that bad.

    Anyways, I'm currently trying to desparately finish my thesis project on time. It involves porting a 4 level communications protocol from the vendor-written code to somehting that will function with our RTUs on an RCM2100 micro. Also, I've had to port uC/OS II, but that's completed. [/elitist loser]

    I'm porting code so I can get my degree.

  11. #26
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Whose RTU's do you use cheez?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  12. #27
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Westronic/GE

    (well, that's the kind we frequently use, but not always. This'll be made by Rabbit Semiconductor)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function not working
    By sloopy in forum C Programming
    Replies: 31
    Last Post: 11-12-2005, 08:08 PM
  2. Program Not working Right
    By raven420smoke in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2005, 03:21 AM
  3. Trying to eject D drive using code, but not working... :(
    By snowfrog in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2005, 07:47 PM
  4. x on upper right corner not working
    By caduardo21 in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2005, 08:35 PM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 04:08 AM