1 /* Copyright (C) 1992-1998 The Geometry Center 2 * Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, Mark Phillips 3 * 4 * This file is part of Geomview. 5 * 6 * Geomview is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU Lesser General Public License as published 8 * by the Free Software Foundation; either version 2, or (at your option) 9 * any later version. 10 * 11 * Geomview is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with Geomview; see the file COPYING. If not, write 18 * to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, 19 * USA, or visit http://www.gnu.org. 20 */ 21 /* 22 * MG context attributes specific to Renderman rib driver (mgrib) 23 * 24 */ 25 #ifndef _GV_MGRIB_H_ 26 #define _GV_MGRIB_H_ 27 28 #define MG_RIBWINID 300 /* token: int */ 29 #define MG_RIBBORN 301 /* token: int (boolean) */ 30 #define MG_RIBFILE 302 /* token: FILE* */ 31 32 #define MG_RIBLINEMODE 303 /* token: int */ 33 #define MG_RIBPOLYGON 304 /* possible value for MG_RIBLINEMODE */ 34 #define MG_RIBCYLINDER 305 /* possible value for MG_RIBLINEMODE */ 35 #define MG_RIBPRMANLINE 306 /* possible value for MG_RIBLINEMODE */ 36 37 #define MG_RIBFORMAT 307 /* token: int */ 38 #define MG_RIBASCII 308 /* possible value for MG_RIBFORMAT */ 39 #define MG_RIBBINARY 309 /* possible value for MG_RIBFORMAT */ 40 41 #define MG_RIBFILEPATH MG_RIBDISPLAYNAME /* obsolete. token: char* */ 42 43 #define MG_RIBDISPLAY 311 /* token: int */ 44 #define MG_RIBTIFF 312 /* possible value for MG_RIBDISPLAY */ 45 #define MG_RIBFRAME 313 /* possible value for MG_RIBDISPLAY */ 46 47 #define MG_RIBDISPLAYNAME 314 /* token: char* */ 48 49 #define MG_RIBBACKING 315 /* token: int */ 50 #define MG_RIBDOBG 316 /* possible value for MG_RIBBACKING */ 51 #define MG_RIBNOBG 317 /* possible value for MG_RIBBACKING */ 52 53 #define MG_RIBSHADER 318 /* token: int */ 54 #define MG_RIBSTDSHADE 319 /* possible value for MG_RIBSHADER */ 55 #define MG_RIBEXTSHADE 320 /* possible value for MG_RIBSHADER */ 56 57 #define MG_RIBSCENE 321 /* RIB 1.0: scene name: char* */ 58 #define MG_RIBCREATOR 322 /* RIB 1.0: creator: char* */ 59 #define MG_RIBFOR 323 /* RIB 1.0: user: char* */ 60 #define MG_RIBDATE 324 /* RIB 1.0: date: char* */ 61 62 /* following are functions wich need to be accessed by main program */ 63 void mgrib_flushbuffer(); /* flushes tokens from buffer to file */ 64 65 #endif 66 67 /* 68 * Local Variables: *** 69 * mode: c *** 70 * c-basic-offset: 2 *** 71 * End: *** 72 */ 73