POV-Ray の自由制作課題 では, シーンファイルだけでなく, ウェブページも作成する必要がある. ウェブページ作成用言語 HTML について学習しておこう.
$ tar zxvf html.tgz ... html/ ... html/index.html ... html/style.css ... html/fishes.png ... html/fishes.pov ... html/obj.png $ firefox html/index.html &
$ rm html.tgz # 元の圧縮ファイルは不要なので削除 $ mv html ~/ap/YourUserID # ディレクトリ名を変更 $ cd ~/ap/YourUserID $ rm *.png *.pov # 元のサンプル作品のファイルも不要 $ cp ~/ap/YourSceneFile.pov ./ $ cp ~/ap/YourImageFile.png ./ $ cp ~/ap/YourAnimationFile.gif ./ # もし,あれば...
ここで,ドット「 . 」は現在のディレクトリを意味する.
$ gedit index.html & $ gedit style.css &
編集したら「保存」.
$ firefox index.html &
または「再読み込み」.
$ cd .. or $ cd ~/ap/ $ tar zcvf YourUserID.tgz YourUserID/ ...
ここで,ドットドット「 .. 」は親ディレクトリを意味する.
$ tar ztvf YourUserID.tgz ... YourUserID/ ... YourUserID/index.html ... YourUserID/style.css ... YourUserID/YourSceneFile.pov ... YourUserID/YourImageFile.png ...