忍者ブログ
いろいろ楽しんで、挑戦しています。
2024/11/24 [04:41:54] (Sun)
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

?X?
2005/03/05 [01:41:38] (Sat)

teizui2_96x96?X???????????????B



?????????????A?????????v??B

?O???????v????A?????c???o??????B???????????????^???????????o?????v??B?x????????????????o?????v??B

????A???????????????????????s??B



????T?????????????t?????I

??????V???o??????????????B

???C??????????q??????????????????v???????t???????K?}???I



?????F?B??????? ?????????????????I

??X??????????????????????B

?????????x?????????????????????v???????????B



???a href="http://www.fujitv.co.jp/yasashii/index2.html" target="_blank">????????/a>????????B?z?????B??q???????~?X?L???X?g?B
?
2005/03/03 [21:14:07] (Thu)

teizui2_96x96??????~????????B



?????ラ??x??B



??Eィ?E??????????????B

??x???O?????y???????B

?v?[???????s????????????A??????????B



???????_?E????O???N6???????????????B

????????????????????????????B

???????????????????????A???????????v??B?????????????A???????T???????B

??????????????????B



?b??????A?????????R?G???U?C??Q10 ??????????????????B???????B???????????????????J???????B

???????{???????????o?????????c?B

????

?R?G???U?C??Q10?C????????????B



????C????X?????B



????????b??????B

?????????Qメ???????B



??m???A??????????????????????????????A???????B

?Q?????????????A。???????????????`???v????A????????|??B

?C????????????????C??????A??????????L?????B

???????O???v?[???s???^??????????????????B

??????????????????c

--

?Qメ????

(??p)

ゥ????????A16?i?K???

????Q??A??????????????????A?????????????????B????Aゥ????????????v??????????P???????????i?K??A????O????????Q?????4??????4?i?K?????????B



??????v????

1???F?_?o?n?????????????????@????Q??c??A?????v????

2???F?L???l?????@????Q??c??A??????v????



??????O???

?????F??????????A??????G????????????

?????F???????A????????.02?????????A??????????????????

?????F???????A????????.06?????????A?????w??S????????

?????F????????.06?????????A???????S????????

?????F??????????@????Q??c??A???y???J???O??J??????????

?????F????@????????Q??c?????A????????^???Q??c??????

?????F?????w??S????p??p?????A?q??O?e??????X??c?????

?????F????^???Q??c?????A???????t????????????

?????F?@?????????A???????S????????

??0???F????????.1?????????A14?????????????????

??1???F????????????^???Q??c?????A10????????????????????

??2???F?j???O?e??????X??c?????A?q??O?e??X??c??????

??3???F????????.6?????????A?????w????????

??4???F?j???O?e??????X??c?????A????I???????T?C?Y??X????c??????

--

8 ??????????v????A?????I???????????o????|???B

????????????????s????B

?C??R???????R?????????????A?????????????B

?????Qメ????????T?[?t?B????????l?^?????????????????B
2005/02/27 [00:46:21] (Sun)

teizui2_96x96????d???~?X???o?I

????M11:00 ????y????d?b?B



????????????y?????????B

?????????????????????????B

???????????y??B

??y????????????????v????A????????r??????????????B

??K??????B



?????a?C???s????????



???????y???y???^_^)?B



??????[???B

??W????l??g???????????????????b????????v????????????B

????A?????E???A?Q?????????????????????????????????????{????????B

??S???????????????????????A???????F???X?????B
2005/02/27 [00:31:24] (Sun)

tools96x96.pngnVIDIA Cg SDK?????????????????B



* environment

----------------

Pen4 2.4GHz


Geforce3 Ti500


WindowsXP + cygwin






* glu.h

----------------

LIB ??ake ??????glu.h"?



g++ -Wall -g -I../../inc -I../../../inc -c paramgl.cpp


In file included from ../../../inc/GL/glut.h:59,


from paramgl.cpp:13:


/usr/include/GL/glu.h:214: error: syntax error before `void'



????B???w?b?_?????????v??A?w?b?_??v???v???Z?b?T??????????????????v??A???????B

...

??????????????B



* GLAPI ??

----------------

nvparse.cpp ??aramgl.cpp ??nclude ?????lu.h ??LAPI ????G???[??o????B

glu.h ?



#ifndef GLAPI

#define GLAPI extern

#endif



????G???[????????B



* rc1.0_register.h

----------------

??x??????G???[



rc1.0_combiners.cpp:21: error: `glCombinerParameterfvNV' undeclared (first use


this function)


rc1.0_combiners.cpp:21: error: (Each undeclared identifier is reported only


once for each function it appears in.)





glCombinerParameterfvNV ??lext.h ??????????????c1.0_combiners.cpp ????????????????A????c1.0_register.h ??BR>




#include <glh/glh_extensions.h>





???????????B


???t?@?C?????BR>




#ifdef GL_NV_register_combiners


#define glCombinerParameterfvNV GLH_EXT_NAME(glCombinerParameterfvNV)



??????????B

??[?A???fdef ????????????B

RedhatLinux9 ?????????????B

????????????p?C????name -a ?????????????????????H



????



#define GL_NV_register_combiners 1



??????????B

???A?????????????????????B

/inc/glh/extgen ???????????????ake ????lx.h ??lxext.h ????????B



??????a href="http://oss.sgi.com/projects/ogl-sample/sdk.html" target="_blank">sgi glxext.h???_?E?????[?h????????I

????Aglx.h



* extgen

----------------

(?D? Ж ???G???[??A



g++ -DUNIX -Wall -g -I.. -c extgen.cpp


In file included from extgen.cpp:19:


/usr/include/GL/glx.h:29:26: GL/glxtokens.h: No such file or directory


In file included from extgen.cpp:20:


/usr/include/GL/glxext.h:355:2: invalid BLOCKQUOTEprocessing directive #warn


make: *** [extgen.o] Error 1



glxtokens.h ??B

nVIDIA viewcvs

????????????????????????????B



* #warn

----------------



$ make

g++ -DUNIX -Wall -g -I.. -c extgen.cpp

In file included from extgen.cpp:20:

/usr/include/GL/glxext.h:355:2: invalid BLOCKQUOTEprocessing directive #warn

make: *** [extgen.o] Error 1



???????????B

??[?X?R?[?h????



/* Define int32_t and int64_t types for UST/MSC */


/* (as used in the GLX_OML_sync_control extension). */


#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L


#include


#elif defined( __VMS )


#include


#elif defined(__SCO__) || defined(__USLC__)


#include


#elif defined(__UNIXOS2__) || defined(__SOL64__)


typedef long int int32_t;


typedef long long int int64_t;


#else


#warn "int32_t and int64_t are undefined!"


#endif



?????A??????????????B

Cygwin ?????????



typedef long int int32_t;


typedef long long int int64_t;




????B??????w?b?_??????????B



???Aextgen ??ompile ????B



* glCombinerParameterfvNV

----------------

???c1.0_combiners.cpp ????????{????B

???????????B???W?X?^?R???o?C?i???eforce3 ????????????v??????B



OpenGL ??????????????????????I

OpenGL Extensions: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_comBLOCKQUOTEssion GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_comBLOCKQUOTEssion_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_centroid_sample GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_comBLOCKQUOTEssion_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control

???????H?H



* ???

----------------

#define GL_NV_register_combiners 1

?????R???p?C????????????G???[



$ make


for dir in nv_math nv_manip unzip nv_util nvIO nvparse paramgl png; do


(cd $dir && make --no-print-directory);


done


make[1]: `../../lib/libnvmath.a' is up to date.


make[1]: `../../lib/libnvmanip.a' is up to date.


make[1]: `../../lib/libunzip.a' is up to date.


make[1]: `../../lib/libnvutil.a' is up to date.


make[1]: `../../lib/libnvio.a' is up to date.


g++ -DYY_NO_UNPUT -Wall -g -I../../inc -I../../../inc -c rc1.0_combiners.cpp


In file included from rc1.0_general.h:4,


from rc1.0_combiners.h:4,


from rc1.0_combiners.cpp:5:


rc1.0_register.h:138: error: `GL_UNSIGNED_IDENTITY_NV' was not declared in this


scope


rc1.0_register.h: In member function `void


MappedRegisterStruct::Init(_RegisterEnum, int)':


rc1.0_register.h:140: warning: comparison is always false due to limited range


of data type


rc1.0_register.h:143: error: `GL_UNSIGNED_IDENTITY_NV' undeclared (first use


this function)


rc1.0_register.h:143: error: (Each undeclared identifier is reported only once


for each function it appears in.)


rc1.0_register.h:144: error: `GL_UNSIGNED_INVERT_NV' undeclared (first use this


function)


rc1.0_register.h:149: error: `GL_EXPAND_NORMAL_NV' undeclared (first use this


function)


rc1.0_register.h:152: error: `GL_EXPAND_NEGATE_NV' undeclared (first use this


function)


rc1.0_register.h:155: error: `GL_HALF_BIAS_NORMAL_NV' undeclared (first use


this function)


rc1.0_register.h:156: error: `GL_HALF_BIAS_NEGATE_NV' undeclared (first use


this function)


rc1.0_register.h:161: error: `GL_SIGNED_IDENTITY_NV' undeclared (first use this


function)


rc1.0_register.h:164: error: `GL_SIGNED_NEGATE_NV' undeclared (first use this


function)


rc1.0_combiners.cpp: In member function `void CombinersStruct::Invoke()':


rc1.0_combiners.cpp:23: error: `glCombinerParameterfvNV' undeclared (first use


this function)


make[1]: *** [rc1.0_combiners.o] Error 1


make[1]: `../../lib/libparamgl.a' is up to date.


make[1]: `../../lib/libnvpng.a' is up to date.



????B????lext.h ??????H

???A#include <glext.h> ?????????B

???????????????A?R???p?C???????????????[??????????R?[?h???????B



* ???????ake ????B

----------------

???W?X?^?R???o?C?i??g??????T???v??????????????

???????ake ?????B

??l?F

Cg for Linux



????BCg ???C?u??????ygwin ??????????G???[??o??B

???l????????O???corz



* Conclusion

----------------

???AGoogle ???E????????esa ??G???[??????q?b?g???B

?????Cg ??ygwin ????????????????[?B

Linux ?p????????AOpenGL ???????????????????B

Visual Studio ?????????????????????????B

???isual Studio ????????????????????B(^^;)



* Help!

----------------

Cygwin + Cg ???????????w?E??]?B
[66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76
«  Back :   HOME   : Next  »
ブログ内検索
プロフィール
HN:
KGussan
HP:
性別:
男性
スライド
カウンター
アクセス解析
バーコード
最新記事のフィルム
忍者ブログ [PR]