Supported 3D formats

HRC format overview:

(unfinished - no information available)


HRC file characteristics:


HRC format references and information:

HRC format information and examples from John Burkardt


HRC support notes inside IVCon source code:

 Author:  John Burkardt
 Change: 08 Mar 2007 Tomasz Lis adjusted to new core
 Change: 31 Mar 2008 Tomasz Lis fixed and extended writing function

 A list of supported elements follows. Please modify if you'll enhance something.
 Format support note - reading:
 - unknown
 Format support note - writing:
 - Full 32-bit vertices support
 - Full 32-bit faces support
 - Meshes supported; not sure if they will work with Softimage tools
 - Materials supported
 - One texture per material supported
 - Texture UV supported (per-vertex)
 - No camera/view support
 - No Environment or lights support
 - Shapes/lines supported

NOTE: support of reading this format is unfinished, it probably won't work.


Examples:

HRCH: Softimage 4D Creative Environment v3.00


model
{
name         "cube_10x10"
scaling      1.000 1.000 1.000
rotation     0.000 0.000 0.000
translation  0.000 0.000 0.000

mesh
{
flag    ( PROCESS )
discontinuity  60.000

vertices   8
{
[0] position  -5.000  -5.000  -5.000
[1] position  -5.000  -5.000  5.000
[2] position  -5.000  5.000  -5.000
[3] position  -5.000  5.000  5.000
[4] position  5.000  -5.000  -5.000
[5] position  5.000  -5.000  5.000
[6] position  5.000  5.000  -5.000
[7] position  5.000  5.000  5.000
}

polygons   6
{
[0] nodes  4
{
[0] vertex  0
normal  -1.000  0.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[1] vertex  1
normal  -1.000  0.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[2] vertex  3
normal  -1.000  0.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[3] vertex  2
normal  -1.000  0.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
}
material  0
[1] nodes  4
{
[0] vertex  1
normal  0.000  0.000  1.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[1] vertex  5

...etc.....

[5] nodes  4
{
[0] vertex  2
normal  0.000  1.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[1] vertex  3
normal  0.000  1.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[2] vertex  7
normal  0.000  1.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
[3] vertex  6
normal  0.000  1.000  0.000
uvTexture  0.000  0.000
vertexColor 255 178 178 178
}
material  0
}

edges   12
{
[1] vertices  3  2
[2] vertices  2  0
[3] vertices  0  1
[4] vertices  1  3
[5] vertices  7  3
[6] vertices  1  5
[7] vertices  5  7
[8] vertices  6  7
[9] vertices  5  4
[10] vertices  4  6
[11] vertices  2  6
[12] vertices  4  0
}
}

material [0]
{
name           "kazoo"
type           PHONG
ambient        0.0  1.0  0.0
diffuse        1.0  0.0  0.0
specular       0.0  0.0  1.0
exponent      50.0
reflectivity   0.0
transparency   0.0
refracIndex    1.0
glow           0
coc            0.0
}

texture [0]
{
name          "/usr/users/foss/HOUSE/PICTURES/mellon"
glbname       "t2d1"
anim          STATIC
method        XY
repeat        1  1
scaling       1.000  1.000
offset        0.000  0.000
pixelInterp
effect        INTENSITY
blending      1.000
ambient       0.977
diffuse       1.000
specular      0.966
reflect       0.000
transp        0.000
roughness     0.000
reflMap       1.000
rotation      0.000
txtsup_rot    0.000  0.000  0.000
txtsup_trans  0.000  0.000  0.000
txtsup_scal   1.000  1.000  1.000
}
}

Copying and copyrights:
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.