The main application program is called vdog. When you start it you get two windows. The main window of the application (called ViewDog). has the menu point File/Load, which allows you to open new input files (see figure 2.1).
Let us for example load the file nurbsurf_bilinear1.dat (the file selector box is shown in figure 2.2). This example file contains a simple bilinear surface with a texture.
Just to give you an idea of the format of the input files, here is the content of the above file:
Example 1: (taken from: data/examples/nurbsurf_bilinear1.dat (7.25))
surf1 = NURBSURF ( (0., 0., 1., 1.), (0., 0., 1., 1.), ( ((0., 0., 0., 1.), (10., 0., 10., 1.)), ((0., 10., 10., 1.), (10., 10., 0., 1.)) ) ); teximg1 = TEXIMAGE2D( ( ((1.0,0.0,0.0,0.4), (0.0,1.0,0.0,0.4)), ((0.0,0.0,1.0,0.4), (1.0,1.0,0.0,0.4)) ) ); SCENEROOT = SCENENODE ( (), ( ATTRIBS(teximg1,USETEXIMG(2),USETEXMAGTONEAREST(1), USETEXMINTONEAREST(1),USETEXWRAPX(1),USETEXWRAPY(1), TEX2TRANSFORMS(TRNSF3PT((0,0,0),(8.0,0,0),(0,8.0,0))) ) ), (surf1) );