OBD:OBLS: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Adding info (ref. - Oni_Object.h, lines 451-462)) |
||
Line 5: | Line 5: | ||
{{OBDtr|0x00|int32 | | | | instance id}} | {{OBDtr|0x00|int32 | | | | instance id}} | ||
{{OBDtr|0x04|int32 | | | | file id}} | {{OBDtr|0x04|int32 | | | | file id}} | ||
{{OBDtr|0x08| | {{OBDtr|0x08|uint32 | | | | index }} | ||
{{OBDtr|0x0C| | {{OBDtr|0x0C|uint32 | | | | flags; used values: | ||
:0x'''40''' 00 00 00 - type: area | :0x'''40''' 00 00 00 - type: area | ||
:0x'''20''' 00 00 00 - type: linear | :0x'''20''' 00 00 00 - type: linear | ||
Line 13: | Line 13: | ||
:0x00 '''02''' 00 00 - distribution: spot | :0x00 '''02''' 00 00 - distribution: spot | ||
}} | }} | ||
{{OBDtr|0x10|float | | | | color - red component }} | {{OBDtr|0x10|float | | | | filter color - red component }} | ||
{{OBDtr|0x14|float | | | | color - green component }} | {{OBDtr|0x14|float | | | | filter color - green component }} | ||
{{OBDtr|0x18|float | | | | color - blue component }} | {{OBDtr|0x18|float | | | | filter color - blue component }} | ||
{{OBDtr|0x1C| | {{OBDtr|0x1C|uint32 | | | | light intensity }} | ||
{{OBDtr|0x20|float | | | | beam angle }} | {{OBDtr|0x20|float | | | | beam angle }} | ||
{{OBDtr|0x24|float | | | | field angle }} | {{OBDtr|0x24|float | | | | field angle }} |
Revision as of 22:16, 4 November 2022
OBLS instances were used to store information about light sources (linked from furniture geometry).
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | int32 | instance id | ||
0x04 | int32 | file id | ||
0x08 | uint32 | index | ||
0x0C | uint32 | flags; used values:
| ||
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 |