Difference between revisions of "THQ Atomic (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{RW Section | NAME = THQ Atomic (Custom) | VENDORNAME = THQ | MODULENAME = Plug-In | MODULEID = 00CAFE | IDENTIFIER = 40 | PARENTS = Atomic ''(Exten...")
 
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
| MODULEID = 00CAFE
 
| MODULEID = 00CAFE
 
| IDENTIFIER = 40
 
| IDENTIFIER = 40
| PARENTS = [[Atomic (RW Section)|Atomic]] ''([[Extension (RW Section)|Extension]]''
+
| PARENTS = [[Atomic (RW Section)|Atomic]] ''([[Extension (RW Section)|Extension]])''
 
}}
 
}}
  
THQ has developed an additional '''atomic''' extension to enabling further rendering properties for cases that need fog, extra [[THQ Material (RW Section)|THQ Material]] parameters, and to make the grouped atomic transparent to part of geometry, made for games ''[[wikipedia:Jimmy Neutron: Attack of the Twonkies|Jimmy Neutron: Attack of the Twonkies]]''.
+
THQ has developed an additional '''atomic''' extension to enabling further rendering properties for cases that need fog, or rendering the grouped atomic transparent to part of geometry, made for games ''[[wikipedia:The Adventures of Jimmy Neutron Boy Genius: Attack of the Twonkies|The Adventures of Jimmy Neutron Boy Genius: Attack of the Twonkies]]''.
  
 
==Structure==
 
==Structure==
 
  uint32 header
 
  uint32 header
  int32 sectionSize // Usually 4.
+
  int32 sectionSize // Usually F.
 
  uint32 flags
 
  uint32 flags
 
    
 
    
void THQAtomic(void)
 
 
  {
 
  {
 
   bool FogEnabled
 
   bool FogEnabled

Latest revision as of 05:01, 7 December 2023

THQ Atomic (Custom)
RenderWare Stream Section
Vendor THQ
Module Plug-In
Module ID 0x00CAFE
Identifier 0x40
Chunk ID 0x00CAFE40
Versions All
Hierarchy
Parents:
Atomic (Extension)
Children:
None
Extensions:
None
File Format

THQ has developed an additional atomic extension to enabling further rendering properties for cases that need fog, or rendering the grouped atomic transparent to part of geometry, made for games The Adventures of Jimmy Neutron Boy Genius: Attack of the Twonkies.

Structure

uint32 header
int32 sectionSize // Usually F.
uint32 flags
 
{
 bool FogEnabled
 bool isTransparent
 
 isTransparent = flags && 0x4000;
 FogEnabled = flags && 0x1000;
}