「実践CGへの誘い」アニメーションの出力
- 3Delight
- by yuichirou yokomakura
- 2007.11.13 Tuesday 18:03
サンプルを動かしてみる。エラーが出ましたが,実行して連番TIFFが出力されました。
C:\3Dlight6>cl /I%DELIGHT%/include %DELIGHT%/lib/3delight.lib anim2_8.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
anim2_8.c
anim2_8.c(21) : warning C4996: 'sprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using sprint
f_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
anim2_8.c(82) : warning C4033: 'ColorCube' must return a value
c:\3dlight6\anim2_8.c(108) : warning C4716: 'ColorCube' : must return a value
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
/out:anim2_8.exe
"C:\Program Files\3Delight/lib/3delight.lib"
anim2_8.obj
C:\3Dlight6>anim2_8.exe
良いですね。以下の10枚が出力されました。










C:\3Dlight6>cl /I%DELIGHT%/include %DELIGHT%/lib/3delight.lib anim2_8.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
anim2_8.c
anim2_8.c(21) : warning C4996: 'sprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using sprint
f_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
anim2_8.c(82) : warning C4033: 'ColorCube' must return a value
c:\3dlight6\anim2_8.c(108) : warning C4716: 'ColorCube' : must return a value
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
/out:anim2_8.exe
"C:\Program Files\3Delight/lib/3delight.lib"
anim2_8.obj
C:\3Dlight6>anim2_8.exe
良いですね。以下の10枚が出力されました。
- -
- -