#include "aqsis/aqsis.h" #include "aqsis/ri/ri.h" int main(int argc, char **argv) { RiBegin( 0 ); RiDisplay( (char*)"sample.tiff", (char*)"file", (char*)"rgba" ); RiDisplay( (char*)"+sample.tiff", (char*)"framebuffer", (char*)"rgb" ); RiFormat( 800, 600, 1 ); RiProjection( (char*)"perspective" ); RiWorldBegin(); RiTranslate( 0, 0, 2 ); float c1[3] = { 0.2, 0.4, 1 }; RiColor( c1 ); RiSphere( 1, -1, 1, 360 ); RiWorldEnd(); RiEnd(); return 0; }