Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

PlayStation 2
[RpPDS]


Modules

Example Pipeline Definition
Pipelines

Data Structures

struct   RpPDSMatTemplate
struct   RpPDSObjTemplate
struct   RpPDSSkyMatCluster
struct   RpPDSSkyMatPrimitive
struct   RpPDSSkyMatTemplate
struct   RpPDSSkyObjTemplate
struct   RpPDSSkyVU1CodeTemplate

Defines

#define  RpWorldPipesAttach()
#define  RpWorldNumPipes   (7)
#define  RpMatfxPipesAttach()
#define  RpMatfxNumPipes   (6)
#define  RpSkinPipesAttach()
#define  RpSkinNumPipes   (2)
#define  RpSkinfxPipesAttach()
#define  RpSkinfxNumPipes   (6)
#define  RpPatchPipesAttach()
#define  RpPatchNumPipes   (2)
#define  RpPatchfxPipesAttach()
#define  RpPatchfxNumPipes   (6)
#define  RpPatchSkinPipesAttach()
#define  RpPatchSkinNumPipes   (4)
#define  RpPatchSkinfxPipesAttach()
#define  RpPatchSkinfxNumPipes   (12)
#define  RpLtMapPipesAttach()
#define  RpLtMapNumPipes   (3)
#define  RpToonPipesAttach()
#define  RpToonNumPipes   (3)
#define  RpSkinToonPipesAttach()
#define  RpSkinToonNumPipes   (5)
#define  Rt2DPipesAttach()
#define  Rt2DNumPipes   (6)
#define  RpPTankPipesAttach()
#define  RpPTankNumPipes   (0)

Functions

RxPipeline RpPDSSkyMatPipeCreate (RpPDSSkyMatTemplate *definition)
RxPipeline RpPDSSkyObjPipeCreate (RpPDSSkyObjTemplate *definition)

Detailed Description

Platform specific documentation detailing the pipelines currently supported on the PlayStation 2.

Naming Conventions

Pipeline Registration Macros
The pipeline registration macros have a strict naming convention:
   rwPDS_[pipename]_[pipetype]PipeRegister()    
Where pipename and pipetype specifies the pipeline as before. For example rwPDS_G3_Example_MatPipeRegister where G3_Example = pipename and Mat = pipetype.
Pipeline Definition Structures
The pipeline definition structures have a strict naming convention:
   rwPDS_[pipename]_[pipetype]Pipe   
For example rwPDS_G3_Example_MatPipe where G3_Example = pipeline and Mat = pipetype.

The material pipeline VU1 code definition structures have a strict naming convention:

   rwPDS_[pipename]_VU1Code
   rwPDS_[pipename]_VU1Transforms
   rwPDS_[pipename]_CodeArraySize    
For example

RpPDS Terminology

The RpPDS plugin pipelines use the following terminology when describing the pipelines:

   TERM         DESCRIPTION

   G2           Generation 2 generic lighting rendering technology
   G3           Generation 3 generic lighting rendering technology
   G3x          Generation 3 custom lighting rendering technology
   G3xd         Generation 3 custom lighting degeneration rendering technology

   A4D          Ambient and 4 Direction lights
   ADL          Ambient and Direction Lights
   APL          Ambient and Point Lights
   OPL          Per Object pre-light value

   Gem          Gloss Environment Map effect rendering
   Emb          EMBoss bump mapping effect rendering
   Bem          Bump mapping and Environment Mapping effect rendering
   Dup          Dual pass
   Uva          Single pass texture coordinate transform rendering
   DupUva       Dual pass texture coordinate transform rendering

   Dot3         Dot3 bump mapping effect rendering
   Specular     Specular effect rendering

   Im3D         3D Immediate Mode pipeline

   Generic      Generic pipeline normally supporting:
                  Perspective & Isometric projection
                  Triangle strip and list
                  Back face and front face culling
                  Triangle clipping and culling
                  Fog and non fog rendering
                (althought individual pipelines will vary)

   Skin         Skinning pipeline normally supporting:
                  Same features of the Generic pipelines
                  64 bone 4 weight vertex position and normal skinning

   SkSpt        Skin Split
                  Same features of the Skin pipelines
                  256 bone 4 weight vertex position and normal skinning

   BPatch       Bézier Patch rendering pipeline normally supporting:
                  Perspective & Isometric projection
                  Quad patch and triangle patch rendering
                  Back face and front face culling
                  Refinded triangle culling
                  Fog and non fog rendering

   Clone        Clone rendering pipeline supporting:
                  48 local transforms per atomic

   Matfx        Material effects rendering pipeline supporting:
                  Same features of the Generic pipelines
                  Generic, Gem, Emb, Bem, Dup, Uva, DupUva effect rendering

   Team         Custom rendering pipeline supporting:
                  Base pass, Gem or Dup effect pass
                  Up to 4 plane projected shadow rendering

   Atm          Atomic object pipeline
   Sct          World Sector pipeline
   Mat          Material pipeline

   Obj          Immediate mode object pipeline
   Tri          Triangle immmediate mode pipeline
   Seg          Line segment immediate mode pipeline
   

Define Documentation

#define RpLtMapNumPipes   (3)
 

number of pipelines registered by RpLtMapPipesAttach

 
#define RpLtMapPipesAttach
 
 

Value:

Registers the RpLtMap plugin's pipelines. This macro is provided to restore the light map pipelines prior to the introduction of the PDS plugin. RpLtMapNumPipes pipelines are registered.
#define RpMatfxNumPipes   (6)
 

number of pipelines registered by RpMatfxPipesAttach

 
#define RpMatfxPipesAttach
 
 

Value:

Registers the RpMatFX plugin's pipelines. This macro is provided to restore the material effects pipelines prior to the introduction of the PDS plugin. RpMatfxNumPipes pipelines are registered.
#define RpPatchfxNumPipes   (6)
 

number of pipelines registered by RpPatchfxPipesAttach

 
#define RpPatchfxPipesAttach
 
 

Value:

Registers the RpPatch plugin's pipelines. This macro is provided to restore the patch and patch material effects pipelines prior to the introduction of the PDS plugin. RpPatchfxNumPipes pipelines are registered. The generic and material effects patch pipelines are registered.
#define RpPatchNumPipes   (2)
 

number of pipelines registered by RpPatchPipesAttach

 
#define RpPatchPipesAttach
 
 

Value:

MACRO_START                                                     \
{                                                               \
    rwPDS_G2_BPatch_GrpMatPipeRegister();                       \
    rwPDS_G2_BPatch_GrpAtmPipeRegister();                       \
}                                                               \
MACRO_STOP
Registers the RpPatch plugin's pipelines. This macro is provided to restore the patch pipelines prior to the introduction of the PDS plugin. RpPatchNumPipes pipelines are registered. Only the generic patch pipelines are registered.
#define RpPatchSkinfxNumPipes   (12)
 

number of pipelines registered by RpPatchSkinfxPipesAttach

 
#define RpPatchSkinfxPipesAttach
 
 

Value:

Registers the RpPatch plugin's pipelines. This macro is provided to restore the full set of patch pipelines prior to the introduction of the PDS plugin. RpPatchSkinfxNumPipes pipelines are registered. The generic, material effects, skinning and skinning material effects pipelines are registered.
#define RpPatchSkinNumPipes   (4)
 

number of pipelines registered by RpPatchSkinPipesAttach

 
#define RpPatchSkinPipesAttach
 
 

Value:

Registers the RpPatch plugin's pipelines. This macro is provided to restore the patch and patch skinning pipelines prior to the introduction of the PDS plugin. RpPatchSkinNumPipes pipelines are registered. The generic and skinning patch pipelines are registered.
#define RpPTankNumPipes   (0)
 

number of pipelines registered by RpPTankPipesAttach

 
#define RpPTankPipesAttach
 
 

Registers the RpPTank plugin's pipelines. This macro is provided to restore the particle pipelines prior to the introduction of the PDS plugin. RpPTankNumPipes pipelines are registered.

#define RpSkinfxNumPipes   (6)
 

number of pipelines registered by RpSkinfxPipesAttach

 
#define RpSkinfxPipesAttach
 
 

Value:

Registers the RpSkin plugin's pipelines. This macro is provided to restore the skinning and skinning material effects pipelines prior to the introduction of the PDS plugin. RpSkinfxNumPipes pipelines are registered. The generic skinning and material effects skinning pipelines are registered.
#define RpSkinNumPipes   (2)
 

number of pipelines registered by RpSkinPipesAttach

 
#define RpSkinPipesAttach
 
 

Value:

MACRO_START                                                     \
{                                                               \
    rwPDS_G3_Skin_GrpMatPipeRegister();                         \
    rwPDS_G3_Skin_GrpAtmPipeRegister();                         \
}                                                               \
MACRO_STOP
Registers the RpSkin plugin's pipelines. This macro is provided to restore the skinning pipelines prior to the introduction of the PDS plugin. RpSkinNumPipes pipelines are registered. Only the generic skinning pipelines are registered.
#define RpSkinToonNumPipes   (5)
 

number of pipelines registered by RpSkinToonPipesAttach

 
#define RpSkinToonPipesAttach
 
 

Value:

Registers the RpToon plugin's pipelines. This macro is provided to restore the skinning toon pipelines prior to the introduction of the PDS plugin. RpSkinToonNumPipes pipelines are registered. The generic and skinning toon pipelines are registered.
#define RpToonNumPipes   (3)
 

number of pipelines registered by RpToonPipesAttach

 
#define RpToonPipesAttach
 
 

Value:

Registers the RpToon plugin's pipelines. This macro is provided to restore the toon pipelines prior to the introduction of the PDS plugin. RpToonNumPipes pipelines are registered. Only the generic toon pipelines are registered.
#define RpWorldNumPipes   (7)
 

number of pipelines registered by RpWorldPipesAttach

 
#define RpWorldPipesAttach
 
 

Value:

Registers the RpWorld plugin's pipelines. This macro is provided to restore the world's pipelines prior to the introduction of the PDS plugin. RpWorldNumPipes pipelines are registered.
#define Rt2DNumPipes   (6)
 

number of pipelines registered by Rt2DPipesAttach

 
#define Rt2DPipesAttach
 
 

Value:

Registers the Rt2D plugin's pipelines. This macro is provided to restore the 2d pipelines prior to the introduction of the PDS plugin. Rt2DNumPipes pipelines are registered.

Function Documentation

RxPipeline* RpPDSSkyMatPipeCreate RpPDSSkyMatTemplate   definition
 

Creates a material pipeline from the RpPDSSkyMatTemplate definition structure. This function is called by default when RpPDSRegisterPipe is creating material PS2All pipelines.

The function constructs a pipeline in the following way :-

Parameters:
definition  Definition structure defining the material pipeline.
Returns:
Contructed pipeline on success : NULL otherwise.
See also:
RpPDSSkyObjPipeCreate , RpPDSRegisterMatPipe
RxPipeline* RpPDSSkyObjPipeCreate RpPDSSkyObjTemplate   definition
 

Creates an object pipeline from the RpPDSSkyObjTemplate definition structure. This function is called by default when RpPDSRegisterPipe is creating object PS2All pipelines.

The function constructs a pipeline in the following way :-

Parameters:
definition  Definition structure defining the object pipeline.
Returns:
Contructed pipeline on success : NULL otherwise.
See also:
RpPDSSkyMatPipeCreate , RpPDSRegisterMatPipe

Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:34 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)