Pink 0.9

ac2pink.c File Reference

converts a 3D scene from AC3D format to Pink 3Dscene format More...


Detailed Description

converts a 3D scene from AC3D format to Pink 3Dscene format

Usage: ac2pink in.ac out.3sc

Description:

Reads the file in.ac. This file must be in the AC3D format. Generates the output file out.3sc in the 3Dscene format :

FILE ::= '3Dscene' <N> <OBJ>* OBJ ::= <LINE> | <CLOSEDLINE> | <SPLINE> | <CLOSEDSPLINE> | <POLYGON> LINE ::= 'line' <N> <POINT>* CLOSEDLINE ::= 'closedline' <N> <POINT>* SPLINE ::= 'spline' <N> <POINT>* CLOSEDSPLINE ::= 'closedspline' <N> <POINT>* POLYGON ::= 'polygon' <N> <POINT>* N ::= ascii_coded_integer POINT ::= ascii_coded_float ascii_coded_float ascii_coded_float

Types supported: AC3D

Category: convert

Author:
Michel Couprie