$B7W;;5!2J3X

$B3X@8$B!$(B $B55EDG=@.$N%[!<%`(B 2002/10/04, 2004/03/09

$B%]%j%4%s%i%s%@%`H/@8(B

$BBh#12]Bj$G$O%]%j%4%s%G!<%?$OFbIt%i%s%@%`H/@8$G9=$$$^$;$s$,!"(B $BBh#22]Bj0J9_$,$"$k$N$G%W%m%0%i%`FbIt$N%G!<%?9=B$$O(B $B=@Fp$K$7$F$*$$$?$[$&$,$$$$$G$7$g$&!#(B

VRML$BFI$_9~$_%k!<%A%s(B

$BBh#22]Bj$N;29M$K$J$k$+$I$&$+J,$j$^$;$s$,!"(B $B;d$,:n@.$7$?!JL:LZ@h@82~D{!K%5%V%k!<%A%s$rMxMQ$7$F$b9=$$$^$;$s!#(B $B$?$@$7!"MxMQ$7$?>l9g$O$=$N;]%l%]!<%H$KJs9p$7$F2<$5$$!#(B
  1. vrml.c
  2. vrml.h

VRML$B%G!<%?%U%!%$%k$K$D$$$F(B

$B%5%s%W%k(BVRML$B%U%!%$%k$G$9!#3HD%;R$OK\Mh(B".wrl"$B$G$9!#(B $B%U%!%$%k%5%$%:$,Bg$-$$$N$G!"%W%j%s%H%"%&%H$7$?$j$7$J$$$h$&$K$7$F$/$@$5$$!#(B
$B%5%s%W%k%U%!%$%k(B $BH?$B:G>.CM(B $B:GBgCM(B $BD:E@?t(B $BLL?t(B $BCm
av1 $B3H(B (-200, -150, -500) ( 200, 150, -400) 5 4 $BI)7A(B
av2 $B3H(B (-200, -100, -500) ( 200, 200, -400) 6 2 $BMW(BZ$B%P%C%U%!%j%s%0(B
av3 $B3H(B (-190, -90, -600) ( 210, 110, -400) 1562 3120 $BBg5,LO$JNc(B
av4 $B3H!&6@(B (-190, -90, -600) ( 210, 110, -400) 1562 3120 $B!!(B
av5 $B3H!&6@!&4D(B (-190, -90, -600) ( 210, 110, -400) 1562 3120 $B!!(B
head $B3H!&4D(B (-190, -90, -600) ( 210, 110, -400) 267 530 $B?MF,(B
dragon $B3H!&4D(B (-145.0670, -78.0, -457.972) ( 74.0515, 107.4, -215.558) 403 607 $BN6!J5ULL$,:.F~!K(B
iiyama $B3H(B (-0.051510, -0.678160, 0.118390) (-0.124040, 0.137250, -0.515220 (0.499)) 5046 13252 $B
aa053 $B3H(B (x, x, x) (x, x, x) x x $B!)(B
av007 $B3H(B (x, x, x) (x, x, x) x x $B!)(B
av020 $B3H(B (x, x, x) (x, x, x) x x $B!)(B

$B@[email protected](B

$B@8@.$7$?(BPPM$B2hA|$NNc(B
av1 av2 av3
av4 head iiyama
av5(Constant shading) av5(Gouraud shading) av5(Phong shading)
    $B%+%a%i0LCV!!!!!'(B(x,y,z) = (0.0,  0.0,  0.0)
    $B%+%a%iJ}8~!!!!!'(B(x,y,z) = (0.0,  0.0, -1.0)
    $B%+%a%i>GE@5wN%!'(B256.0 
    $B8w8;J}8~!!!!!!!'(B(x,y,z)=(1.0, -1.0, -2.0)
    $B8w8;L@$k$5!!!!!'(B(r,g,b)=(1.0,  1.0,  1.0)
    $B8w8;%b%G%k!!!!!'J?9T8w8;(B

$B%l%]!<%HDs=PJ}K!(B

TeX$B$GJs9p=q$r:n@.$7$F(Bpdf$B$r%a!<%kAw?.$9$kJ}K!$K$D$$$F4JC1$K(B $B@bL@$7$^$9!#$^$::[email protected]}K!$O0J2<$N$h$&$K$J$j$^$9!#(B
  1. $B!J(Bemacs$BEy$G(Bsample.tex$B$r:n@.!K(B
  2. /usr/local/bin/platex sample.tex $B!J(Bsample.dvi$B$r@8@.!K(B
  3. /usr/local/bin/xdvi sample.dvi $B!J(Bdvi$B%U%!%$%k$r3NG'!K(B
  4. /usr/bin/dvipdf sample.dvi sample.pdf $B!J(Bpdf$B%U%!%$%k$r@8@.!K(B
  5. /usr/local/bin/acroread sample.pdf $B!J(Bpdf$B%U%!%$%k$N3NG'!K(B
  6. $B;29M(B:/usr/local/bin/dvips sample.dvi sample.ps $B!J(Bps$B%U%!%$%k$r@8@.!K(B
  7. $B;29M(B:/usr/X11R6/bin/ghostview sample.ps $B!J(Bps$B%U%!%$%k$N3NG'!K(B
$BO!J%+%P!<%Z!<%8!K$r=q$$$?$"$H!"2<5-$N:n6H$r$7$F$/$@$5$$!#(B
  1. Prepare Attachment(C-c C-a)
  2. $BE:IU%U%!%$%k$N%j%9%HCf$N6uMs$G!"(Bl $B!J>.J8;z$N%(%k!K(B [$B$^$?$O!"%a%K%e!<$+$i(B Mew/Draft$B"*(BAttachment Command$B"*(BInsert a File by Linking]
  3. $BE:IU%U%!%$%k$N%Q%9$rF~NO!#(B[$B%9%Z!<%9$GJd402DG=(B]
  4. $BAj$b;XDj$G$-$^$9$,!"(B $B%G%U%)%k%H$N$^$^$G$$$$$G$7$g$&!#(B
  5. C-c C-c$B$GAw?.!#(B
$B;29M!'(B $B;d2HHG(B Mew $B

$B;29MJ88%(B

$B%F%-%9%H$G$b=R$Y$F$$$k;29MJ88%(B OpenGL Programming Guide $B$O!"#23,7W;;5!<<$KF|K\8lHG$N;f$NK\$,#2:}$[$I=`Hw$5$l$F$$$^$9!#(B $BK\1i=,$N35G0$r?<$/M}2r$9$k$K$O9%E,$G$7$g$&!#(B

X$B%/%i%$%"%s%H2=(B

OpenGL$B$H(BGLUT$B$r;H$C$F!"(B $B<+J,$G%l%s%@%j%s%0$7$?2hA|%P%C%U%!$r(B $B$=$N$^$^I=<($9$k%5%s%W%k%W%m%0%i%`$rMQ0U$7$^$7$?!#(B GLUT$B$O(BOpenGL$B$r;H$&>e$GM-MQ$J%f!<%F%#%j%F%#$r$^$H$a$?%i%$%V%i%j$G$9!#(B
render_viewer.c $B$N(B render_the_image() $B4X?t$r!"(B $B<+J,$N:n@.$7$?4X?t$KCV$-JQ$($F2<$5$$!#(B $B!J(B2002/10$B8=:_F0:nL$3NG'!K(B


<[email protected]>