资源简介
ARTag打包下载:(1)artag_rev2k_demo_windows_0608;(2)artag_rev2k_sdk_windows_1208;(3)code和Augmented Reality A Pratical Guide.pdf(4)AR+.ppt
代码片段和文件信息
//?2006 National Research Council Canada
//ASE_PARSE.C - reads .ASE files (ascii format in 3DStudio export menu) and puts into mesh_management.c structures
//author:Mark Fiala - Sept 2005 - National Research Council of Canada - IIT/CVG group -
//
//credits: thanks for http://www.solosnake.com/main/ase.htm for the partial description of the ASE format
//
//notes:
//-needs “mesh_management.c“
//-Incomplete coverage of ASE format only diffuse bitmaps are loaded. I‘m sure someone can write a better parser
//-only the last submaterial in a material will have its diffuse bitmap loaded (multiple diffuse bitmaps in a material
// just overwrite the last one).
//-----------------------------------------------------------------------------------------------------------------------------------------------
#ifndef _ASE_PARSE_C_
#define _ASE_PARSE_C_
#ifndef _MESH_MANAGEMENT_C_
#include “mesh_management.c“
#endif
#define ASE_PARSE_DEBUG_ON 0
#define ASE_PARSE_DISPLAY_STATUS_ON 0
//file parsing functions variables and constants
char ap_get_char(void);
int ap_get_type(char cc);
int ap_get_token(void);
int ap_expect_token(char *expected);
int ap_get_string_token(char *string_token);
#define ASEPARSE_CHAR_IS_NUMBER 0
#define ASEPARSE_CHAR_IS_LETTER 1
#define ASEPARSE_CHAR_IS_WHITESPACE 2
#define ASEPARSE_CHAR_IS_UNKNOWN 3
#define ASEPARSE_CHAR_IS_COMMA 4
#define ASEPARSE_CHAR_IS_PERIOD 5
#define ASEPARSE_CHAR_IS_QUOTES 6
#define ASEPARSE_CHAR_IS_SQUIGGLY_BRACKET 7
#define ASEPARSE_TOKEN_IS_UNKNOWN 0
#define ASEPARSE_TOKEN_IS_NUMBER 1
#define ASEPARSE_TOKEN_IS_STRING 2
#define ASEPARSE_TOKEN_IS_NAME 3
char ap_charap_token[256]ap_token_type;
int ap_parse_line_number;
FILE *ASE_PARSE_IN;
FILE *ase_parse_log_file;
//parse error functions
void parse_error(char *message)
{
#ifdef ASE_LOGFILE_ON
if(ase_parse_logfile_on)
{
fprintf(ase_parse_log_file“PARSE.C error line %d\n%s\n“ap_parse_line_numbermessage);
fclose(ase_parse_log_file);
}
#endif
printf(“PARSE.C error line %d\n%s\n“ap_parse_line_numbermessage);
//exit(1);
}
//{printf(“ALE_PARSE.C error line %d\n%s\n“ap_parse_line_numbermessage);}
//parse error functions
void parse_warning(char *message)
{
#ifdef ASE_LOGFILE_ON
if(ase_parse_logfile_on)
{
fprintf(ase_parse_log_file“PARSE.C warning line %d\n%s\n“ap_parse_line_numbermessage);
fclose(ase_parse_log_file);
}
#endif
printf(“PARSE.C warning line %d\n%s\n“ap_parse_line_numbermessage);
}
//object_type_num=ase_parse(ase_filename1000&num_meshes&num_vtxs&num_triangles&num_normals&bitmaps_loaded);//expect <1000 materials in this file
int ase_parse(char *ase_filename int max_num_materials int *num_meshes
int *num_vtxs int *num_triangles int *num_normals int *num_bitmaps)
{
char message[1024];
char end;
char base_loaded=0pointer_loaded=0;
int i*material_lookup;
int num_geomob
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8038335 2009-04-26 09:07 ARTAg\Augmented Reality A Pratical Guide.pdf
文件 1702912 2009-04-26 02:20 ARTAg\AR+.ppt
文件 1518592 2006-06-24 13:30 ARTAg\artag_rev2k_demo_windows_0608\artag_rev2.doc
文件 1928 2001-03-14 03:04 ARTAg\artag_rev2k_demo_windows_0608\opencv_license.txt
文件 3486 2007-07-19 16:24 ARTAg\artag_rev2k_demo_windows_0608\readme.txt
文件 245760 2007-05-04 15:34 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\3d_augmentations_dragonfly.exe
文件 245760 2007-05-04 15:32 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\3d_augmentations_dragonfly_pgr_1_4r27.exe
文件 503 2005-10-04 04:26 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\3d_augmentations_readme.txt
文件 245760 2007-05-04 15:03 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\3d_augmentations_usb.exe
文件 17978 2005-09-28 12:52 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\CanOfAspargus.mesh
文件 129617 2005-09-28 05:33 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\can_o_aparagus_2.jpg
文件 190 2005-09-28 05:33 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\chihuahua.mtl
文件 60922 2005-09-28 05:33 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\chihuahua.obj
文件 56611 2005-09-28 05:33 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\chihuahua_rough_colour.jpg
文件 1187898 2003-02-27 06:41 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\cv.dll
文件 138 2005-09-28 05:49 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\fish.mtl
文件 24644 2005-09-28 05:49 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\fish.obj
文件 35025 2005-09-28 12:09 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\fish_color_map_small.jpg
文件 237568 2001-11-07 13:27 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\glut32.dll
文件 512000 2003-02-27 06:44 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\highgui.dll
文件 569411 2004-08-14 01:00 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\highgui096.dll
文件 159 2006-05-29 16:53 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\ms_pacman.mtl
文件 169367 2006-07-25 12:32 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\ms_pacman.obj
文件 77147 2006-05-29 14:54 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\PacMantex.jpg
文件 40684 2004-12-09 12:32 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\panel_set.cf
文件 30549 2005-09-30 08:22 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\peters_car.mesh
文件 1082 2006-07-25 12:37 ARTAg\artag_rev2k_demo_windows_0608\3d_augmentations\setup_artag_3d.cfg
文件 184320 2007-05-04 15:44 ARTAg\artag_rev2k_demo_windows_0608\artag_cad\artag_cad_dragonfly.exe
文件 184320 2007-05-04 15:43 ARTAg\artag_rev2k_demo_windows_0608\artag_cad\artag_cad_dragonfly_pgr_1_4r27.exe
文件 184320 2007-05-04 15:42 ARTAg\artag_rev2k_demo_windows_0608\artag_cad\artag_cad_usb.exe
............此处省略1256个文件信息
相关资源
- 高精度激光点云三维显示,分析,处
- Wireshark-win64-3.2.4.rar
- AngularJS Eclipse 1.2.0 插件
- CanFestival移植到arm的am3359
- PARAMICS中文使用手册
- LearningOpenDayLight
- ArcGIS-Geoda空间相关分析操作说明.
- 论文研究-基于Arena的食堂就餐过程建
- smartsvn 最新版本license免费注册文件
- cpabe-0.11.tar.gz
- arcgis路网数据处理过程
- 基于Harris角点检测与匹配算法
- smart200通讯协议整理.docx
- clock.rar
- 软件工程文档需求分析概要设计详细
- hadoop-2.6.0-cdh5.10.0.tar.gz
- 2019研究生数学建模试题及优秀论文
- zebraSDK2-14.rar
- Parallels_Desktop_16_共享版.rar
- jfrog-artifactory-pro-6.19.0.zip
- LibcSearcher.zip
- 策划文档魔域英雄.rar
- 大数据开发及运维的5本重要的书籍
- VScode+opencv3.4+mingw5.3+cmake-3.9.0.rar
- 海信YMB0310-HX拆机强刷固件.rar
- 王道2019年计算机专业考研复习指导
- kepware6.0破解版 part1
- 孙老师LTE教程四部曲3和4.rar
- (基于KC705 Microblaze 的lwip echo server 实
- 数据算法Hadoop/Spark大数据处理技巧 源
评论
共有 条评论