SanguinettiMods Posted October 9, 2013 Share Posted October 9, 2013 Hey guys! I need a little bit of help. http://wiki.spinout182.com/w/Cutscenes wwrr [0000] [aaaaaaaa] [xxxxyyyyzzzz] [????] w = FF on last entry, 00 for more entries r = camera roll (signed byte, unused?) a = angle of view in degrees (float, unused?) x = x position y = y position z = z position Can any of you figure out how to en/decode debug camera information with that format? JSA's Cutscene tool can kind of do it, but I'd like to know how it's done. This would really save me some work. Thanks! Link to comment Share on other sites More sharing options...
0 Jason777 Posted October 10, 2013 Share Posted October 10, 2013 I'm a little confused as to what exactly you're asking... the documentation looks pretty solid to me. Link to comment Share on other sites More sharing options...
0 SanguinettiMods Posted October 10, 2013 Author Share Posted October 10, 2013 More or less, the information that the debug camera displays when you're using it, how can I input those values, specifically the camera angles, into this documentation for it to be used by JSA's program for example. Link to comment Share on other sites More sharing options...
0 Arcaith Posted November 3, 2013 Share Posted November 3, 2013 Okay, here we go. So for the first segment [WWRR]. If you want this particular camera entry to be the last in the list, WW should be set to FF, otherwise it should be 00. RR is the tilt of the camera, sideways. [0000] that's just a line of 0s. We can ignore that. [AAAAAAAA] is the angle of the view (basically the rotation, I believe) and is a float. A float being a floating point number, so a number that has a decimal point as opposed to an integer which is a whole number. 1.03 = float. 1 = integer. Look up float to Hex converters in Google. [XXXXYYYYZZZZ] is the position of the camera itself. Think of this as the location of the camera's lens. Link to comment Share on other sites More sharing options...
0 mzxrules Posted November 5, 2013 Share Posted November 5, 2013 [AAAAAAAA] is the angle of the view (basically the rotation, I believe) and is a float. A float being a floating point number, so a number that has a decimal point as opposed to an integer which is a whole number. 1.03 = float. 1 = integer. Look up float to Hex converters in Google. Incorrect. Angle of view is (to oversimplify things I don't fully understand) camera zoom. Smaller angles result in less of the game world being view-able, but more of it will be stretched out on the screen, while larger angles result in more of the game world to be view-able. Thus moving from a larger to smaller angle then causes you to "zoom in", while moving from a smaller angle of view to a larger one will cause you to "zoom out". But anyway, x rotation and y rotation are calculated by finding the angle using the Camera Position and Camera Focus Point coordinates, which requires a bit of trig to figure out. I might post how later. Link to comment Share on other sites More sharing options...
0 SanguinettiMods Posted November 5, 2013 Author Share Posted November 5, 2013 1 Link to comment Share on other sites More sharing options...
Question
SanguinettiModsHey guys! I need a little bit of help.
http://wiki.spinout182.com/w/Cutscenes
Can any of you figure out how to en/decode debug camera information with that format? JSA's Cutscene tool can kind of do it, but I'd like to know how it's done. This would really save me some work. Thanks!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts