亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? howto.txt

?? 空戰游戲flacon源碼
?? TXT
?? 第 1 頁 / 共 3 頁
字號:
How to use the 3D library Step-by-Step (as of May 7, 1997)
----------------------------------------------------------

I.   Create required data files (Do it in the following order)
     --------------------------
     1.  Create FLT files
     2.  Convert FLT files to HOT files (Text format)
     3.  Create Input file (objects list)
     4.  Create Texture List (Binary format)
     5.  Create Color List (Binary format)
     6.  Convert HOT files to HOB files (Binary format)
     7.  Create Objects List (Binary format)
     8.  Create Palette List (Binary format) (optional)

II.  3D library Information (Programmer's Guide)
     -------------------------------------------
     1.  Additional files required
     2.  Additional setup/cleanup required
     3.  3D setup/cleanup
     4.  Setup camera
     5.  Setup/cleanup object
     6.  Display object
     7.  Light source
     8.  Math functions
     9.  Misc functions
    10.  Object Slot
    11.  Dynamic Vertex

III. ANimation Script
     ----------------
     1.  ANS file format
     2.  ANS examples
     3.  ANS language reference

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

Note:
----
The latest 3d tools and documentation can be found in code\erickj\objtools

Tools:
-----
RegisCol - Register Color
RegisPal - Register Palette
RegisTex - Register Texture Files
RegisObj - Register Object Files
FLTtoHOT - Convert FLT to text format
HOTtoHOB - Convert HOT file to binary format
show3d   - tool to display HOB files

Additional Tools:
- GetObj   - Display the location of external reference objects in flt file
- ImgInfo  - Display Image dimension to the closest power of 2
- toLower  - Convert texture location and external reference to lower case
- StripCol - Remove the color per vertex flag from the flt file
- ReadOLst - Display the content of the object list file
- getLoc   - Display the location of certain polygons (to be used by Falcon)
- getCoord - Display the first 3 vertices of certain polygons (to be used for
  canvas stuff)
- DumpFlt  - Dump the content of the flt file

File extension:
--------------
HOT = Hierarchical Object Text
HOB = Hierarchical Object Binary
ANS = ANimation Script

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

I. Create data files required by the 3d library:

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

1. Create FLT files, sort polygon with bsp if necessary

Use GameGen to generate FLT file

FLT restriction and requirement:
-------------------------------
- DOF beads must be named dofn or dn where n is a number between 1 to max dof
- Switch beads must be named swn where n is a number between 1 to max sw
  Note: Switches in Gamegen must have unique number. In order to have switches
  with the same number, you have to use 5 digits format as follow:
  sw1XX## where:
  1 is the flag to indicate that this switch will use XX as its number
  XX is the switches number
  ## is number to make the 5 digits unique
  i.e: sw10101, sw10102, and sw10103 means all of these switches will be
  renamed sw1 during HotToHob conversion.
- The maximum number of elements in a switch bead is 32 elements
- To use transparent texture (chromakey) on polygons, set 'Fixed/Alpha' in Face
  Attribute. ChromaKey color is assumed to be color index 0 for 8 bit textures
  or 0,0,0 for 24 bit textures.
- To use billboard type polygons, set 'XYZ/Alpha' in Face Attribute.
- To use billboard tree type polygons, set 'Z/Alpha' in Face Attribute.
- Billboard type and Billboard Tree type will use transparent texture only.
- For objects that required LOD, the FLT files are special restricted files.
  The FLT file must consist only the LOD beads which must be done in a
  sequential order from LOW switchIN to HIGH switchIN. All other values in
  the LOD beads are ignored including the switchout values. The LOD beads
  can only have external reference as their children. The external reference
  beads will store the name of flt file of the curent lod.
- The first BoundingBox or BoundingSphere bead found will be used to calculate
  the object center and size. If there is no BoundingBox or BoundingSphere
  beads found, I will calculate the bounding box from the object's vertices.
- Object beads named with slotn where n is a number between 1 to max slot are
  special object beads to handle object insertion in runtime (ie: missiles)
  This object bead must have one face bead (point) child only. The point
  coordinate will be used to specify the center of objects inserted during
  the runtime.
- Alpha Blend values from Gamegen ColorTable will be ignored.
- Group, Object, Switch, DOF, BSP, BoundingBox, BoundingSphere, and polygon
  beads are required to have a child else the conversion tools will fail!
- Not all features of GameGen are supported

These are the list of FLT beads currently supported:
---------------------------------------------------
Group
Object
LongIdentifier
BSP
Polygon
VertexList
Push
Pop
Header
TextureReference
SharedVertex 
VertexCoordinate
Vertex_NormalCoordinate
Vertex_TextureCoordinate
Vertex_Normal_TextureCoordinate
ColorTable
Material
DegreeOfFreedom
Switch
BoundingBox
BoundingSphere
Subface

These beads are supported only in RegisObj tool:
LevelOfDetail --> Only used to get the switchin value
ExternalReference --> Only used to get the current LOD object filename

Note: Special keywords in the Comment bead:
Animation animationfile
VertexColorPatch vertexpatchfile
DisableMask disablebits
TextureSet totaltextureset
Scale scalefactor
DynamicVertex vertexfile

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

2. Convert FLT files to HOT files (Text format)

Use FLTtoHOT tool to convert FLT file to HOT file.

Usage: FLTtoHOT fltfile [options]
options:
-ohotfile --> where hotfile is the output file (Default file used is the
              fltfile with extension replaced with HOT)
-sScale   --> to scale up/down object (Default scale is 1)
-aAnsfile --> set the animation script file to use for automated articulation.
              Read the ANimation Script section below for more information on
              how to create ANS file.
-pcolorpatch   --> set the Vertex Color patch file if required
-vvertexfile   --> set the Dynamic Vertex file if required
-tTexSetNo     --> set the total number of texture set
-ddisablemask  --> Set disable flag for the current object (1 = disable)
-fpolylistfile --> Set any polygon found in the polylist file to info type.

DisableMask bits:
    0x01000000 --> disable shading
    0x02000000 --> disable smooth shading
    0x04000000 --> disable texture
    0x08000000 --> disable transparent texture (chromakey)
    0x10000000 --> disable alpha blend
    0x20000000 --> disable gouraud color mode --> use solid instead
    0x40000000 --> always enable perspective texture
    0x80000000 --> always enable texture for the object

Vertex Color patch file format: (color in floating point format)
------------------------------
polyvertexindex polyname red green blue alpha
polyvertexindex polyname red green blue alpha
   :
   :
-1

Dynamic Vertex file format:
--------------------------
polyvertexindex polyname
polyvertexindex polyname
   :
   :
-1

Note: Watch out for the Error messages during execution! It may indicate there
      is a problem with the input and/or output file.

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

3. Create Input file (objects list)

Create the input file to be used for RegisTex and RegisObj tools.

input file format:
-----------------
objectid fltfilename objectdescription
  :
  :

where:
objectid is the unique id number of objects.
fltfilename is the object flt file
objectdescription is the description of the object

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

4. Create Texture List

Use RegisTex tool to create texture list file. Texture List file is used by
the 3d library internally to create texture id table.

Usage: RegisTex inputfile [options]
inputfile is objects list file created in step 2 above
options:
-s            --> Input is a single flt file
-otexlistfile --> texlistfile is output file (Default is texture.lst)
-i            --> Insert textures into the existing list

Note: 
- If option '-i' is specified, the existing list will be used; otherwise,
  a new list will be created (default).
- Watch out for the Error messages during execution! It may indicate there
  is a problem with the input and/or output file.

Texture List output format: (in BINARY format)
--------------------------
maxtextureid+1
textureid texturename
   :
   :
-1

Note: Don't modify the Texture List file without RegisTex tool unless you
know what you are doing.

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

5. Create Color List

Use RegisCol tool to create color list file. Color List file is used by
the 3d library internally to create color table.

Usage: RegisCol colorlist [hotfile]
colorlist is the output color list file
hotfile is hot file to be registered (optional)
If hotfile is not specified, all hot files in the current directory will be
registered.

Note: 
- Watch out for the Error messages during execution! It may indicate there
  is a problem with the input and/or output file.

Color List output format: (in BINARY format)
-------------------------
totalcolor
color (4-bytes 'agbr' format)
   :
   :

Note: Don't modify the Color List file without RegisCol tool unless you
know what you are doing.

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

6. Convert HOT files to HOB files (Binary format)

Use HOTtoHOB tool to convert HOT file to HOB file.

Usage: HOTtoHOB hotfile [options]
options:
-ohobfile   --> where hobfile is output file (Default file used is the
                hotfile with extension replaced with HOB)
-ttexfile   --> where texfile is the texture list file (Default file used is
                texture.lst)
-ccolfile   --> where colfile is the color list file (Default file used is
                color.lst)

Note:
- All ANS files must be located in the current directory, if not the animation 
  will be disabled.
- Texture list file (default file is texture.lst) must be located in the 
  current directory, if not texture will be disabled for the object.
- Texture list file is generated by 'RegisTex' tool
- Color list file is generated by 'RegisCol' tool
- Watch out for the Error messages during execution! It may indicate there
  is a problem with the input and/or output file.

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

7. Create Objects List

Use RegisObj tool to create objects list file. Object List file is used by
the 3d library internally to create 3d object id table.

Usage: RegisObj inputfile [options]
inputfile is objects list file created in step 2 above
options:
-s            --> Input is a single flt file
-oobjlistfile --> objlistfile is output file (Default is objects.lst)
-i            --> Insert object into the existing list

Note: 
- If option '-i' is specified the existing list will be used; otherwise, 
  a new list will be created (default).
- If option '-s' is specified, you will be asked to enter objectid and desc.
- objectid must be unique id, if it is not unique, program will terminate.
- All files required (flt and hob) must be located in the current directory
  during execution.
- Watch out for the Error messages during execution! It may indicate there
  is a problem with the input and/or output file.

Object List output format: (in BINARY format)
-------------------------
maxobjectid+1
objectid
objectdescription
objectradius
maxdof maxswitch maxslot maxanim maxdynamicvertex
totallod
switchdistance flag objectname
    :
    :
-1

Note: Don't modify the Object List file without RegisObj tool unless you
know what you are doing.

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

8. Create Palette List

Use RegisPal tool to create palette list file. This step is optional and only
required if you want to use palettized texture.

Usage: RegisPal inputfile [options]
inputfile is the texture list file created by RegisTex tool or an image file
options:
-s           --> inputfile is an image file (LBM, PCX, GIF)
-ooutputfile --> specify the palette list file (Default PALETTE.LST)
-dtexturedir --> specify the location of texture (must include \ at the end)
                 (Default location is the current directory)

Note: 
- If the output palette file has already existed, the content of the file 
  will be loaded first before processing other files.
- Watch out for the Error messages during execution! It may indicate there
  is a problem with the input and/or output file.

Palette List output format: (in BINARY format)
--------------------------
maxtextureid+1
paletteid
   :
   :
totalpalette
palettelist (each palette size 256*4 bytes)
   :
   :

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

II. 3D library Information (Programmer's Guide)

The latest files can be found in code\erickj\3dlib

Assumptions used:
- Transformation matrix axes: (Falcon4 Coordinate system)
  X = north, Y = east, Z = down
  --> Rotation around x axes = roll, y axes = pitch, z axis = yaw
- Coordinate axes (Screen Coordinate system): X = east, Y = down, Z = north
- Rotation order: X -> Y -> Z -> X -> Y (counter clockwise)
- Object transformation matrix: Z X Y
- Row Matrix (vtx = vtx * mat)
- 3DR/DirectDraw is not part of the 3d library (Sample codes are available)
- C++ (Visual C++ v4.x)
- Use 4 bytes alignment
- other Visual C++ compiler options: Pentium, Multi-threaded
- Link with mpr97.lib, ddraw.lib, and winmm.lib

0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-0

1. Additional files required

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品不卡视频| 久久精品国产99| 北岛玲一区二区三区四区| 国产亚洲精品精华液| 国产不卡高清在线观看视频| 日本一区二区久久| 97成人超碰视| 午夜激情一区二区三区| 日韩午夜在线影院| 国产精品综合在线视频| 日韩美女视频19| 欧美日韩在线不卡| 久久99精品视频| 国产精品久久久久久久久免费樱桃| 91在线观看一区二区| 亚洲国产精品久久久久婷婷884| 欧美一级生活片| 国产精品88888| 一区二区日韩av| 日韩欧美在线影院| 国产99一区视频免费| 亚洲精选视频免费看| 日韩精品自拍偷拍| 99久久精品免费看| 麻豆成人免费电影| 一色桃子久久精品亚洲| 91麻豆精品国产91久久久使用方法 | 国产女同互慰高潮91漫画| k8久久久一区二区三区| 日韩黄色一级片| 国产精品视频yy9299一区| 欧美三级在线播放| 国产成人精品午夜视频免费| 亚洲国产一区二区三区青草影视| 欧美tickling网站挠脚心| 色婷婷av一区二区三区gif| 久久国产精品无码网站| 亚洲综合在线电影| 国产日韩一级二级三级| 69堂国产成人免费视频| eeuss国产一区二区三区| 日本不卡视频在线观看| 亚洲日本一区二区| 久久久一区二区三区捆绑**| 欧美老年两性高潮| 91一区在线观看| 国产精品一区免费在线观看| 视频一区欧美精品| 亚洲欧洲三级电影| 欧美zozo另类异族| 精品视频色一区| 色婷婷综合久久久中文一区二区 | 国产欧美视频一区二区| 欧美日韩高清一区二区| 91美女片黄在线观看91美女| 激情六月婷婷久久| 免费在线一区观看| 亚洲国产欧美在线| 亚洲欧美日韩一区| 国产精品免费视频一区| 久久久久亚洲蜜桃| 精品国产免费人成在线观看| 777欧美精品| 欧美顶级少妇做爰| 欧美三级电影在线观看| 欧美亚一区二区| 日本高清免费不卡视频| 日本精品一区二区三区高清| 99久久精品免费| 99久久精品费精品国产一区二区| 成人激情校园春色| 丁香五精品蜜臀久久久久99网站| 狠狠色丁香婷婷综合久久片| 免费在线成人网| 免费人成精品欧美精品| 日韩va欧美va亚洲va久久| 日韩av中文字幕一区二区三区| 午夜伦理一区二区| 爽爽淫人综合网网站| 日本怡春院一区二区| 美女精品一区二区| 麻豆91精品视频| 国产剧情一区二区| 成人高清视频免费观看| 99精品一区二区三区| 日本道免费精品一区二区三区| 色综合久久久网| 欧美久久久一区| 精品久久久久久久久久久久久久久| 欧美一区二区大片| 精品福利视频一区二区三区| 国产欧美一区二区精品仙草咪| 国产精品久久久久aaaa樱花| 日韩理论片网站| 天天色综合天天| 国产一区二区精品久久99| 成人综合婷婷国产精品久久免费| 93久久精品日日躁夜夜躁欧美| 欧美日韩精品一区二区天天拍小说| 91精品国产综合久久福利| 久久综合九色综合97_久久久| 中文字幕视频一区二区三区久| 亚洲区小说区图片区qvod| 偷拍日韩校园综合在线| 国产精品系列在线观看| 在线看国产一区二区| 日韩欧美中文字幕制服| 国产精品三级av在线播放| 亚洲一二三区在线观看| 韩日欧美一区二区三区| 色婷婷精品久久二区二区蜜臂av| 欧美精品久久天天躁| 国产日韩综合av| 午夜欧美在线一二页| 国产精品1024| 欧美日韩一区二区三区免费看| 久久久综合视频| 亚洲国产精品自拍| 成熟亚洲日本毛茸茸凸凹| 欧美人体做爰大胆视频| 中文字幕va一区二区三区| 五月开心婷婷久久| av高清不卡在线| 日韩一区二区免费视频| 亚洲人亚洲人成电影网站色| 美女视频网站久久| 色视频欧美一区二区三区| www激情久久| 天天色天天爱天天射综合| www.色综合.com| 久久嫩草精品久久久精品一| 亚洲成人先锋电影| 99久久免费精品高清特色大片| 精品久久国产字幕高潮| 三级欧美韩日大片在线看| 99精品久久99久久久久| 欧美第一区第二区| 日韩福利电影在线| 欧美午夜精品一区二区蜜桃 | 欧美在线观看一区| 国产精品美女久久久久高潮| 蜜桃av一区二区| 欧美日韩一二三| 一级精品视频在线观看宜春院| 国产成人在线观看免费网站| 在线播放国产精品二区一二区四区| 国产精品第五页| 成人午夜短视频| 久久精品免视看| 国产麻豆精品95视频| 精品久久久久久亚洲综合网| 青椒成人免费视频| 欧美日韩国产综合久久| 亚洲精品大片www| 成人激情电影免费在线观看| 久久久777精品电影网影网 | 国模冰冰炮一区二区| 91精品国产91综合久久蜜臀| 亚洲已满18点击进入久久| 91天堂素人约啪| 国产精品免费久久| 国产成人小视频| 日韩一区二区视频| 日本视频在线一区| 欧美精选在线播放| 日韩精品亚洲一区| 91精品欧美福利在线观看| 视频一区二区不卡| 555夜色666亚洲国产免| 全国精品久久少妇| 欧美大片在线观看一区二区| 捆绑变态av一区二区三区| 精品福利在线导航| 国产精品中文欧美| 26uuu另类欧美| 国产精品一区二区黑丝| 国产精品久久久久毛片软件| 播五月开心婷婷综合| 1024成人网| 欧美艳星brazzers| 日韩高清不卡一区二区三区| 日韩精品一区二区三区视频在线观看| 理论电影国产精品| 久久久久久久精| 97久久超碰国产精品| 亚洲综合在线观看视频| 3d成人动漫网站| 久久99久久99| 国产午夜亚洲精品理论片色戒| 国产a精品视频| 亚洲美女在线国产| 欧美一区二区三区思思人| 国产一区二区福利视频| 亚洲色图视频免费播放| 在线不卡免费欧美| 国产综合一区二区| 亚洲视频免费观看| 91麻豆精品国产无毒不卡在线观看| 国产综合久久久久影院| 亚洲视频在线观看一区|