1/1

The DynamicLoad Procedural Primitive

DSOを作成してみた。
3Delightマニュアルのsponge.cをコンパイルしてみる。

>CL /Ox /DWIN32 /LD /I%DELIGHT%/include sponge.c %DELIGHT%/lib/3D
elight.lib

sponge.dllができる。

以下,sponge.ribとして作成。
Display "sponge2.tiff" "file" "rgb"
Format 320 240 -1
ShadingRate 1
Projection "perspective"
Translate 0 -2.5 2.5
Rotate -10 1 0 0
Rotate -40 0 1 0
WorldBegin
TransformBegin
Translate 0 2 0.5
Procedural "DynamicLoad" ["sponge" "3"] [-1 1 -1 1 -1 1]
TransformEnd
WorldEnd

sponge.PNG

sponge2.PNG



>renderdl sponge.ribでできあがり。 続きを読む>>
  • -
  • -

1/1