OBD:OBLS: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Adding info (ref. - Oni_Object.h, lines 451-462))
m (pointed to the talk page for its interesting speculation)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
OBLS instances were used to store information about light sources (linked from [[OFGA|furniture geometry]]).  
OBLS instances were used to store information about light sources and were linked from [[OFGA|furniture geometry]] and [[TURR|turrets]]. See the talk page for speculation on the intended use for this data.


{{Table}}
{{Table}}
Line 21: Line 21:
|}
|}


http://geyser.oni2.net/OBD/dialogs/dialog_light_properties.png
[[Image:Tool dialog - Light Properties.png]]


{{OBD}}
{{OBD}}

Latest revision as of 23:31, 26 December 2023

OBLS instances were used to store information about light sources and were linked from furniture geometry and turrets. See the talk page for speculation on the intended use for this data.

Offset Type Raw Hex Value Description
0x00 int32 instance id
0x04 int32 file id
0x08 uint32 index
0x0C uint32 flags; used values:
0x40 00 00 00 - type: area
0x20 00 00 00 - type: linear
0x10 00 00 00 - type: point
0x00 01 00 00 - distribution: diffuse
0x00 02 00 00 - distribution: spot
0x10 float filter color - red component
0x14 float filter color - green component
0x18 float filter color - blue component
0x1C uint32 light intensity
0x20 float beam angle
0x24 float field angle

Tool dialog - Light Properties.png