conventions.h

Go to the documentation of this file.
00001 
00004 #ifndef _ADSK_CONVENTIONS_H_
00005 #define _ADSK_CONVENTIONS_H_
00006 /**************************************************************************************
00007 
00008 Copyright (C) 2001 - 2008 Autodesk, Inc. and/or its licensors.
00009 All Rights Reserved.
00010 
00011 The coded instructions, statements, computer programs, and/or related material 
00012 (collectively the "Data") in these files contain unpublished information 
00013 proprietary to Autodesk, Inc. and/or its licensors, which is protected by 
00014 Canada and United States of America federal copyright law and by international 
00015 treaties. 
00016 
00017 The Data may not be disclosed or distributed to third parties, in whole or in
00018 part, without the prior written consent of Autodesk, Inc. ("Autodesk").
00019 
00020 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
00021 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
00022 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR ARISING
00023 BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES OF TITLE, 
00024 NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE. 
00025 WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION
00026 OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE. 
00027 
00028 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
00029 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR EXPENSES
00030 OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE DAMAGES OR OTHER
00031 SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS OF PROFITS, REVENUE
00032 OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR DAMAGES OF ANY KIND),
00033 HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF LIABILITY, WHETHER DERIVED
00034 FROM CONTRACT, TORT (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE), OR OTHERWISE,
00035 ARISING OUT OF OR RELATING TO THE DATA OR ITS USE OR ANY OTHER PERFORMANCE,
00036 WHETHER OR NOT AUTODESK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS
00037 OR DAMAGE. 
00038 
00039 **************************************************************************************/
00040 
00041 //
00042 // Predefined shader languages
00043 //
00044 #define sHLSL  "HLSL"
00045 #define sGLSL  "GLSL"
00046 #define sCGFX  "CGFX"
00047 #define sMentalRaySL "MentalRaySL"
00048 
00049 //
00050 // Predefined rendering apis
00051 //
00052 #define sDirectX  "DirectX"
00053 #define sOpenGL  "OpenGL"
00054 #define sMentalRay "MentalRay"
00055 #define sPreview  "PreviewColorAPI"
00056 
00057 
00058 /*
00059 enum ImplementationTarget
00060 {
00061     eImplPreview,
00062     eImplMentalRay,
00063     eImplCGFX,
00064     eImplHLSL,
00065     eImplNone,
00066     eImplCount
00067 };
00068 */
00069 
00070 #define ImplementationPreview "ImplementationPreview"
00071 #define ImplementationMentalRay "ImplementationMentalRay"
00072 #define ImplementationCGFX "ImplementationCGFX"
00073 #define ImplementationHLSL "ImplementationHLSL"
00074 #define ImplementaitonOGS  "ImplementationOGS"
00075 #define ImplementationNone "ImplementationNone"
00076 
00077 #define ImplementationAdditionalFiles "AdditionalFiles"
00078 
00079 // PROTEIN 1.0 conventions
00080 #define FBXSDK_TYPE_ENVIRONMENT         "KFbxEnvironment"
00081 #define FBXSDK_TYPE_LIGHT               "KFbxLight"
00082 #define FBXSDK_TYPE_PROCEDURALGEOMETRY  "KFbxProceduralGeometry"
00083 #define FBXSDK_TYPE_SURFACEMATERIAL     "KFbxSurfaceMaterial"
00084 #define FBXSDK_TYPE_TEXTURE             "KFbxTexture"
00085 #define FBXSDK_TYPE_SWATCHSCENE         "KFbxSwatchScene"
00086 
00087 // PROTEIN 2.0 conventions
00088 #define ADSK_TYPE_ENVIRONMENT           "ADSKEnvironmentDefinition"
00089 #define ADSK_TYPE_LIGHT                 "ADSKLightDefinition"
00090 #define ADSK_TYPE_PROCEDURALGEOMETRY    "ADSKProceduralGeometryDefinition"
00091 #define ADSK_TYPE_SURFACEMATERIAL       "ADSKSurfaceMaterialDefinition"
00092 #define ADSK_TYPE_TEXTURE               "ADSKTextureDefinition"
00093 #define ADSK_TYPE_SWATCHSCENE           "ADSKSwatchSceneDefinition"
00094 
00095 // ASSET Definition conventions
00096 #define ADSK_UI_DEFINITION_URL          "UIDefinition"
00097 
00098 
00099 #endif
00100