ut_tess.c File Reference
Tesselated-Surface TSU_.
More...
#include "../xa/MS_Def1.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_os.h"
Functions |
| int | tess_dump_f_ (ObjGX *oxi, char *txt) |
| int | tess_fnam (char *fnam, char *mnam) |
| int | tess_read_ (Memspc *impSpc, char *mnam) |
| int | tess_write__ (char *fnam, ObjGX *oxi) |
| int | tess_read_f (void *oi, int *oSiz, long fSiz, FILE *fpi) |
| int | tess_write_f_ (FILE *fpo, ObjGX *oxi) |
| int | tess_reloc_f_ (ObjGX *oxi, long pDist) |
| int | tess_tra__ (ObjGX *oxi, Mat_4x3 m1) |
| int | tess_siz1 (int *surNr, int *triNr, ObjGX *oxi) |
| int | tess_siz2 (int *triNr, ObjGX *oxi, int *surTyp) |
Detailed Description
Tesselated-Surface TSU_.
=====================================================
Liste_Funktionen_Beginn:
tess_dump_f_ dump file-oriented obj; structured display.
tess_read_f read tesselated surf (file-oriented)
tess_write_f_ tesselated surf in Datei ausgeben.
tess_reloc_f_ relocate tesselated surf (read from file)
tess_read_ read .tess-file from temp-dir
tess_write__ write .tess-file into temp-dir
tess_siz1 find nr of surfaces & (total) nr of triangles
tess_siz2 find nr of triangles in tesselated surface
Liste_Funktionen_Ende:
=====================================================
- see also:
TSU_tess_addf add Mockup-Filestruct oxi to existing Mockup-struct TSU_vMem
TSU_imp_tess import Mockup from file into Mockup-struct
TSU_exp_sm_sur export all faces from Mockup-struct
TSU_tsu2tria__ make Triangles from Mockup-struct
TSU_DrawSurTess draw Mockup-struct (tesselated surf)
wrl_reloc__ see also tess_reloc_f_
Function Documentation
| int tess_dump_f_ |
( |
ObjGX * |
oxi, |
|
|
char * |
txt | |
|
) |
| | |
| int tess_fnam |
( |
char * |
fnam, |
|
|
char * |
mnam | |
|
) |
| | |
| int tess_read_ |
( |
Memspc * |
impSpc, |
|
|
char * |
mnam | |
|
) |
| | |
| int tess_write__ |
( |
char * |
fnam, |
|
|
ObjGX * |
oxi | |
|
) |
| | |
| int tess_read_f |
( |
void * |
oi, |
|
|
int * |
oSiz, |
|
|
long |
fSiz, |
|
|
FILE * |
fpi | |
|
) |
| | |
| int tess_write_f_ |
( |
FILE * |
fpo, |
|
|
ObjGX * |
oxi | |
|
) |
| | |
| int tess_reloc_f_ |
( |
ObjGX * |
oxi, |
|
|
long |
pDist | |
|
) |
| | |
| int tess_siz1 |
( |
int * |
surNr, |
|
|
int * |
triNr, |
|
|
ObjGX * |
oxi | |
|
) |
| | |
| int tess_siz2 |
( |
int * |
triNr, |
|
|
ObjGX * |
oxi, |
|
|
int * |
surTyp | |
|
) |
| | |