olivieryuyu / N64-Microcode-

Testing - Phase 1
3 stars 0 forks source link

G_CULLDL #15

Open olivieryuyu opened 2 years ago

olivieryuyu commented 2 years ago

G_CULLDL

Header of the command: 0x0A

Function: As for Fast3D, this macro measures whether or not the viewing volume and bounding volume intersect. Yet a significant difference exists: if the bounding volume of an object is completely outside of the viewing volume, this function operates the next command in the displaylist, otherwise it skips such a command and continues to go through the displaylist.

With this flexibility, users can defined easily the outcome of having an object outside the viewing volume (for instance, branching to another displaylist instead of ending the displaylist).

Related GBI macros:

gSPCullDisplayList/gsSPCullDisplayList (same than Fast3D)