当前位置: 首页 > news >正文

网站建设推广唯心磁遁8深圳建站公司设计

网站建设推广唯心磁遁8,深圳建站公司设计,企业网站推广注意事项,自己制作一个网页Urho3D尽可能使用现有文件格式,仅在绝对必要时才定义自定义文件格式。当前使用的自定义文件格式有: 二进制模型格式(.mdl) Model geometry and vertex morph data byte[4] Identifier "UMDL" or "UMD2" …

Urho3D尽可能使用现有文件格式,仅在绝对必要时才定义自定义文件格式。当前使用的自定义文件格式有:

二进制模型格式(.mdl)

 Model geometry and vertex morph data

byte[4]    Identifier "UMDL" or "UMD2"

uint       Number of vertex buffers

  For each vertex buffer:

  uint       Vertex count

  uint       Legacy vertex element mask (determines vertex size)

  uint       Morphable vertex range start index

  uint       Morphable vertex count

  byte[]     Vertex data (vertex count * vertex size)

  In "UMD2" format, the legacy vertex element mask is replaced with the following:

  uint       Vertex element count

  uint[]     Descriptions for each vertex element, where

             bits 0-7 = element data type, bits 8-15 = semantic, bits 16-23 = semantic index

uint    Number of index buffers

  For each index buffer:

  uint       Index count

  uint       Index size (2 for 16-bit indices, 4 for 32-bit indices)

  byte[]     Index data (index count * index size)

uint    Number of geometries

  For each geometry:

  uint       Number of bone mapping entries

  uint[]     Bone mapping data, Maps geometry bone indices to global bone indices for HW skinning.

             May be empty, in this case identity mapping will be used.

  uint       Number of LOD levels

    For each LOD level:

    float      LOD distance

    uint       Primitive type (0 = triangle list, 1 = line list)

    uint       Vertex buffer index, starting from 0

    uint       Index buffer index, starting from 0

    uint       Draw range: index start

    uint       Draw range: index count

uint    Number of vertex morphs (may be 0)

  For each vertex morph:

  cstring    Name of morph

  uint       Number of affected vertex buffers

    For each affected vertex buffer:

    uint       Vertex buffer index, starting from 0

    uint       Vertex element mask for morph data. Only positions, normals & tangents are supported.

    uint       Vertex count

      For each vertex:

      uint       Vertex index

      Vector3    Position (if included in the mask)

      Vector3    Normal (if included in the mask)

      Vector3    Tangent (if included in the mask)

Skeleton data

uint       Number of bones (may be 0)

  For each bone:

  cstring    Bone name

  uint       Parent bone index starting from 0. Same as own bone index for the root bone

  Vector3    Initial position

  Quaternion Initial rotation

  Vector3    Initial scale

  float[12]  4x3 offset matrix for skinning

  byte       Bone collision info bitmask. 1 = bounding sphere 2 = bounding box

  If bounding sphere data included:

  float      Bone radius

  If bounding box data included:

  Vector3    Bone bounding box minimum

  Vector3    Bone bounding box maximum

Bounding box data

Vector3    Model bounding box minimum

Vector3    Model bounding box maximum

Geometry center data

  For each geometry:

  Vector3    Geometry center


 

二进制动画格式(.ani)

byte[4]    Identifier "UANI"

cstring    Animation name

float      Length in seconds

uint       Number of tracks

  For each track:

  cstring    Track name (practically same as the bone name that should be driven)

  byte       Mask of included animation data. 1 = bone positions 2 = bone rotations 4 = bone scaling

  uint       Number of keyframes

    For each keyframe:

    float      Time position in seconds

    Vector3    Position (if included in data)

    Quaternion Rotation (if included in data)

    Vector3    Scale (if included in data)

注意:动画是使用绝对骨骼变换存储的。因此,仅支持动画之间的lerp混合;附加姿势修改不是。

Direct3D9二进制着色器格式(.vs3,.ps3)

byte[4]    Identifier "USHD"

short      Shader type (0 = vertex, 1 = pixel)

short      Shader model (3)

uint       Number of constant parameters

    For each constant parameter:

    cstring    Parameter name

    byte       Register index

    byte       Number of registers

uint       Number of texture units

    For each texture unit:

    cstring    Texture unit name

    byte       Sampler index

uint       Bytecode size

byte[]     Bytecode

Direct3D11二进制着色器格式(.vs4、.ps4)

byte[4]    Identifier "USHD"

short      Shader type (0 = vertex, 1 = pixel)

short      Shader model (4)

uint       Vertex element hash code (0 for pixel shaders)

uint       Number of constant parameters

    For each constant parameter:

    cstring    Parameter name

    byte       CBuffer index

    uint       Start byte offset in CBuffer

    uint       Byte size

uint       Number of texture units

    For each texture unit:

    cstring    Texture unit name

    byte       Sampler index

uint       Bytecode size

byte[]     Bytecode

包文件(.pak)

byte[4]    Identifier "UPAK" or "ULZ4" if compressed

uint       Number of file entries

uint       Whole package checksum

    For each file entry:

    cstring    Name

    uint       Start offset

    uint       Size

    uint       Checksum

    The compressed data for each file is the following, repeated until the file is done:

    ushort     Uncompressed length of block

    ushort     Compressed length of block

    byte[]     Compressed data

编译的AngelScript(.asc)    

byte[4]    Identifier "ASBC"

byte[]     Bytecode, produced by AngelScript serializer

http://www.yayakq.cn/news/839319/

相关文章:

  • 网站建设销售好做么flash做网站的流程
  • 网站导航内链建设wordpress搜索开发
  • 拨付网站建设费用的报告公司网站招聘费如何做会计分录
  • 营销网站seo推广费用东莞网站网络推广公司
  • 汽车网站建设代理加盟app大全视频app大全
  • 五莲网站建设公司阿里云的wordpress
  • win10怎么做网站公众号开发者平台
  • 深圳建站公司哪个网站跨境电商做的最好
  • 大的网站制作外贸自建站平台怎么找
  • 广西建设职业学院官网网站天心区网站建设公司
  • 深圳教育 网站建设网站建设的一般过程包括哪些
  • 一般建设网站需要多少预算学生个人网页成品
  • 我的网站模板下载大连知名的seo外包
  • 美工网站设计是什么网盟官方网站
  • 网站底部连接怎么做中铁建设集团有限公司华中分公司
  • 如何介绍自己的网站建网站 多少钱
  • 网站做301需要备案吗wordpress 中文名注册
  • 性价比最高网站建设哪里好个人备案能公司网站
  • 百年建筑网站建个官方网站要多少钱
  • 揭阳网站建设策划方案crm客户管理系统软件
  • 宇舶手表网站网站建设规划方案制作
  • 购物网站数据分析东莞专业网站设计专业服务
  • 个人备案之后用于商城网站潍坊网站建设 绮畅
  • 网站建设在整体布局有哪些要求照片制作小视频
  • 在网站中添加搜索引擎网上注册公司在哪办
  • 个人网站可以名字写官网吗房地产新闻头条
  • 图片1600px做网站wordpress后台不显示
  • 网站建设网站建苏州市建设交易中心网站首页
  • 大型移动网站开发帮网站做关键词排名优化
  • 物流网站后台wordpress怎么收录