User Tools

Site Tools


super_mario_64:geometry_layout_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
super_mario_64:geometry_layout_commands [2018/10/21 06:33]
David Added documentation for the commands [11: Translate Node (and Load Display List or Start Geo Layout)] and [12: Rotate Node (and Load Display List or Start Geo Layout)]
super_mario_64:geometry_layout_commands [2018/10/21 19:10]
David [14: Billboard Model and Translate (and Load Display List or Start Geo Layout)] Added documentation to the geo layout 0x14 command.
Line 410: Line 410:
 ---- ----
  
-==== 14: Billboard Model ==== +==== 14: Billboard Model and Translate (and Load Display List or Start Geo Layout) ​==== 
-Billboards ​the model without needing the use of 0x21 in the behavior script.+Almost identical with the geometry layout 0x11 command, except that it will billboard the node and it's children ​without needing the use of 0x21 in the behavior script. You can start a geometry layout with this command to billboard and set the offset for the entire model. You cannot start a geometry layout and load a display list at the same time, as it will cause the game to freeze (white-screen).
  
-''​14 ​00 00 00 00 00 00 00''​+''​14 ​[<color orange>​B</​color>​][<​color lightgrey>​L</​color>​] [<color darkred>​XX XX</​color>​] [<color darkgreen>​YY YY</​color>​] [<color darkblue>​ZZ ZZ</​color>​] {<color purple>​AA AA AA AA</​color>​}''​
  
-Length: 8+| <color orange>​B</​color>​ | Include last 4 bytes if set to 8 (command will be C bytes long instead of 8) | 
 +| <color darkgrey>​L</​color>​ | Drawing layer if <color orange>​B</​color>​ is set, otherwise will always be zero | 
 +| <color darkred>​X</​color>​ | X translation offset (s16) | 
 +| <color darkgreen>​Y</​color>​ | Y translation offset (s16) | 
 +| <color darkblue>​Z</​color>​ | Z translation offset (s16) | 
 +| <color purple>​A</​color>​ | Segmented address with display list if <color orange>​B</​color>​ is set. \\ Also creates a joint of some kind? (Does not work with animations?​) | 
 + 
 +Length: 8-C (variable)
  
 ---- ----
super_mario_64/geometry_layout_commands.txt · Last modified: 2019/11/03 14:23 by jesusyoshi54