home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 3 / ACE CD 3.iso / files / utils / real3d32.dms / in.adf / RPL.LZH / RPL / sys / objects.rpl < prev    next >
Encoding:
Text File  |  1995-04-18  |  3.5 KB  |  113 lines

  1. ( ----------------------------------------------------
  2. ( FILE:         objects.rpl
  3. ( DESCRIPTION:  Definitions for Real 3D Objects
  4. ( PLATFORM:     AMIGA
  5. ( VERSION:      2.4
  6. ( DATE:            16-Dec-93
  7. ( ----------------------------------------------------
  8. ( Copyright © 1993,1994 Realsoft.  All rights reserved
  9. ( ----------------------------------------------------
  10.  
  11. ?& OBJECTS.RPL NOT ?IF
  12. 17 CONSTANT OBJECTS.RPL
  13.  
  14. ( Geometry Flags for primitives
  15.  
  16. 2 0 POW CONSTANT wGF_CLOSEU      ( close freeform in u direction
  17. 2 1 POW CONSTANT wGF_CLOSEV      ( close surface in v direction
  18. 2 8 POW CONSTANT wGF_SECTOR      ( sector primitive
  19. 2 9 POW CONSTANT wGF_PERIODC     ( open evaluation
  20.  
  21. ( Freeform Types
  22.  
  23. 0   CONSTANT wFT_POLYGON    ( polygonal line/surface
  24. 1   CONSTANT wFT_PHONG      ( polygonal based phong shaded surface
  25. 3   CONSTANT wFT_BSPLINE    ( cubical B-Spline
  26.  
  27. ( Object Flags
  28.  
  29. 2 0  POW CONSTANT lOF_INVERTED       ( the volume of object is inverted 
  30. 2 1  POW CONSTANT lOF_PAINTED     ( Boolean with material 
  31. 2 2  POW CONSTANT lOF_WFINVISIBLE ( Invisible in editor 
  32. 2 3  POW CONSTANT lOF_LIGHTSOURCE ( lightsource 
  33. 2 4  POW CONSTANT lOF_HOLLOW      ( Hollow object (surface representation) 
  34. 2 5  POW CONSTANT lOF_INFINITE    ( Invisible in first stage ray tracing 
  35. 2 7  POW CONSTANT lOF_RTINVISIBLE ( Control element, invisible in RT 
  36. 2 8  POW CONSTANT lOF_PROTECTL2   ( Protected agains move, color etc. 
  37. 2 9  POW CONSTANT lOF_NOBP1        ( No bottom 
  38. 2 10 POW CONSTANT lOF_NOBP2        ( No cover 
  39. 2 11 POW CONSTANT lOF_TEXTURE     ( Texture mapping descr. 
  40. 2 12 POW CONSTANT lOF_SECTOR      ( Sector primitive 
  41. 2 13 POW CONSTANT lOF_PROTECTED      ( protected against deletion etc. 
  42. 2 14 POW CONSTANT lOF_SEGMENT     ( Only quadr. surface is rendered 
  43. 2 15 POW CONSTANT lOF_NOTREFL     ( Not reflected by other objects 
  44. 2 16 POW CONSTANT lOF_COLLINV      ( Collision invisible 
  45. 2 17 POW CONSTANT lOF_MOTION      ( motion blurred object 
  46. 2 18 POW CONSTANT lOF_SHADOWLESS  ( does not cast shadows 
  47. 2 19 POW CONSTANT lOF_MATTE       ( background colored object 
  48. 2 20 POW CONSTANT lOF_BSPLANE       ( B-Spline bounded polygon evaluation 
  49. 2 21 POW CONSTANT lOF_BUMPSHADOWS ( modify shadows in bump maps  
  50. 2 22 POW CONSTANT lOF_NOTINSHADOW ( receive shadows property 
  51. 2 23 POW CONSTANT lOF_TRIMCURVE   ( curve defining space volume  
  52.  
  53. ( Object Types
  54.  
  55. 1  CONSTANT wOT_AND
  56. 2  CONSTANT wOT_OR
  57. 10 CONSTANT wOT_RECTANGLE
  58. 11 CONSTANT wOT_CUBE
  59. 12 CONSTANT wOT_PYRAMID
  60. 13 CONSTANT wOT_CUTPYRAMID
  61. 14 CONSTANT wOT_POLYGON
  62. 15 CONSTANT wOT_POLYHEDRON
  63. 16 CONSTANT wOT_POLYMID
  64. 17 CONSTANT wOT_CUTPOLYMID
  65. 18 CONSTANT wOT_ELLIPSE
  66. 19 CONSTANT wOT_CYLINDER
  67. 20 CONSTANT wOT_CONE
  68. 21 CONSTANT wOT_CUTCONE
  69. 22 CONSTANT wOT_ELLIPSOID
  70. 23 CONSTANT wOT_HYPERBOL
  71. 24 CONSTANT wOT_ELLIPSEG
  72. 25 CONSTANT wOT_TOROID
  73. 26 CONSTANT wOT_SPLINE
  74. 27 CONSTANT wOT_GROUP
  75. 28 CONSTANT wOT_SYMLINK
  76. 29 CONSTANT wOT_TRISET
  77. 32 CONSTANT wOT_SKELETON
  78. 33 CONSTANT wOT_OFFSET
  79. 34 CONSTANT wOT_LINE
  80. 35 CONSTANT wOT_COORD
  81. 36 CONSTANT wOT_OBSERVER
  82. 37 CONSTANT wOT_AIMPOINT
  83. 38 CONSTANT wOT_ATTR
  84.  
  85. ( Flags for fetching Object Properties using O_PROP
  86.  
  87. 2 0 POW CONSTANT iOP_COG
  88. 2 1 POW CONSTANT iOP_SIZE
  89. 2 2 POW CONSTANT iOP_DIR
  90. ( 2 3 POW CONSTANT iOP_RESERVED
  91. 2 4 POW CONSTANT iOP_MASS
  92.  
  93. ( Object Field Offsets
  94.  
  95. 0  CONSTANT O.aNEXT
  96. 4  CONSTANT O.aSUB
  97. 8  CONSTANT O.wTYPE
  98. 10 CONSTANT O.sNAME
  99. 26 CONSTANT O.iFLAGS
  100. 30 CONSTANT O.aPRIM
  101. 34 CONSTANT O.wMETHOD
  102. 36 CONSTANT O.aTAGS
  103.  
  104. ( Words for accessing primitive fields
  105.  
  106. 0  CONSTANT P.aEOM    ( actual geometry 
  107. 4  CONSTANT P.iRGBA    ( Red Green Blue Alpha
  108. 18 CONSTANT P.wEGCOL    ( Palette index
  109. 20 CONSTANT P.wPTRN    ( Line pattern 
  110.  
  111. ?ENDIF ( OBJECTS.RPL 
  112.  
  113.