Menu

June SDK now available

The June sdk is now available.

What's new:

* PlugIns

The plug ins are now compiled for 3DStudio Max 6

* GIDisplay

Fix color problem in Draw3DLine that happen in some 3d scenes

Possibility to retrieve the default shaders you set with SetDefaultVertexShader & SetDefaultPixelShader

virtual GISHADER *GetDefaultVertexShader() = 0;
virtual GISHADER *GetDefaultPixelShader() = 0;

virtual void SetMediaPath(const char *relativepath); // e.g: "Data", "Data/Textures", ...

* GISprite

Better support to SetSize/GetSize for region sprite:

virtual float GetCurrentSizeX(unsigned long regionindex) = 0;
virtual float GetCurrentSizeY(unsigned long regionindex) = 0;
virtual void SetCurrentSizeX(unsigned long regionindex, float sizex) = 0;
virtual void SetCurrentSizeY(unsigned long regionindex, float sizey) = 0;
virtual void SetCurrentSizeXY(unsigned long regionindex, float sizex, float sizey) = 0;

virtual void ResetCurrentSize() = 0; // Set back the size X and Y to match the real size

* GIScene

virtual const char *GetFilename() = 0; // retrieve the complete filename
virtual void Merge(GISCENE *scene) = 0;
virtual GIOBJECT3D *AddObject3D(GIOBJECT3D *obj3d, bool includingsubobj = true) = 0; // return the new GIOBJECT3D created in this GISCENE
virtual void SetAlphaTest(bool test) = 0;
virtual void SetAlphaTestValue(unsigned char value) = 0;
virtual void UseTransparency(bool use) = 0;

* GIObject3D

Enables you to choose the matrix to render for this frame
void SetMatrixToUseThisFrame(const GIMATRIX &matrix);

virtual GISUBOBJECT3D *AddSubObject3D(GISUBOBJECT3D *subobj3d) = 0; // return the new GISUBOBJECT3D created in this GIOBJECT3D

* GISubObject3D

virtual void SetHide(bool hide = true) = 0;
virtual bool IsHidden() = 0;
virtual const char *GetName() = 0;

* GIVolume

virtual GIFACE *GetFaceArray() = 0; // retrieve a pointer on an array of face for this volume

* GITexture

virtual const char *GetFilename() = 0;
virtual GISPRITE *CreateSpriteFromThis() = 0; // user is responsible for deleting the object retrieved

* GIShader

// on pixel shader, set it to false if you want to disable to use a blank texture (mainly for debugging purpose)
virtual void SetUseTexture(bool usenormaltexture) = 0;

* GIScript

Fix bug with .NET 2003 for registering functions via GISCRIPT_REGISTER_FUNCTION

Posted by Jeremy Chatelaine 2004-05-30

Log in to post a comment.