ErosOlmi
04-05-2007, 16:13
Hi all.
Roberto just sent me something I couldn't bealive when I first execute the sample script: first unofficial preview Irrlicht module wrapper for thinBasic.
Get attached file and unzip in thinBasic directory maintaining directory structure.
Then go under thinBasic\SampleScripts\Irrlicht\ andexecute thinBasic script sample to see with you eyes. Hope you will be able to see what I saw. If not working let us know.
You should see what reported as "1.HelloWorld" tutorial here: http://irrlicht.sourceforge.net/tutorials.html
Attention:
irrlicht.DLL MUST be located into thinBasic.EXE executable folder in order to work. We are thinking how to avoid this but for the moment that is the way
Some info:
thinBasic module wrapper is under development using thinBasic SDK for MS C/C++
module is developed using MS C/C++
irrlicht.DLL is compressed using UPX 3.00w original is about 1.4Mb while the one we distribute is about 510Kb
due to under development status and dll size, we will not deliver this module with official thinBasic release but we will keep a parallel temp project.
Later, when quite stable, we will decide how to go on
Here the list of functions already created by Roberto. No documentation for the moment but we will do in next weeks.
Have fun and please let us know if all is working fine on your box.
If not working, please tell us your OS and hardware config.
Ciao
Eros
_________________________________________________
Irr_CreateDevice
Irr_Run
Irr_DrawScene
Irr_DrawGUI
Irr_EndScene
Irr_Drop
Irr_GetFPS
Irr_GetPrimitiveCountDrawn
Irr_SetWindowCaption
Irr_BeginScene
Irr_IsWindowActive
Irr_CloseDevice
Irr_GetMesh
Irr_CreateMesh
Irr_RemoveMesh
Irr_GetMeshIndexCount
Irr_GetMeshIndices
Irr_SetMeshIndices
Irr_GetMeshVertexCount
Irr_GetMeshVertices
Irr_AddAnimatedMeshSceneNode
Irr_AddStaticText
Irr_SetNodeMaterialTexture
Irr_SetNodeMaterialFlag
Irr_GetTexture
Irr_SetNodeFrameLoop
Irr_SetNodeMD2Animation
Irr_AddCameraSceneNodeFPS
Irr_AddCameraSceneNode
---Equates DRIVER TYPE
%IRR_EDT_NULL
%IRR_EDT_SOFTWARE
%IRR_EDT_BURNINGSVIDEO
%IRR_EDT_DIRECT3D8
%IRR_EDT_DIRECT3D9
%IRR_EDT_OPENGL
---Equates MATERIAL TYPE
%IRR_EMT_SOLID
%IRR_EMT_SOLID_2_LAYER
%IRR_EMT_LIGHTMAP
%IRR_EMT_LIGHTMAP_ADD
%IRR_EMT_LIGHTMAP_M2
%IRR_EMT_LIGHTMAP_M4
%IRR_EMT_LIGHTMAP_LIGHTING
%IRR_EMT_LIGHTMAP_LIGHTING_M2
%IRR_EMT_LIGHTMAP_LIGHTING_M4
%IRR_EMT_DETAIL_MAP
%IRR_EMT_SPHERE_MAP
%IRR_EMT_REFLECTION_2_LAYER
%IRR_EMT_TRANSPARENT_ADD_COLOR
%IRR_EMT_TRANSPARENT_ALPHA_CHANNEL
%IRR_EMT_TRANSPARENT_ALPHA_CHANNEL_REF
%IRR_EMT_TRANSPARENT_VERTEX_ALPHA
%IRR_EMT_TRANSPARENT_REFLECTION_2_LAYER
%IRR_EMT_NORMAL_MAP_SOLID
%IRR_EMT_NORMAL_MAP_TRANSPARENT_ADD_COLOR
%IRR_EMT_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA
%IRR_EMT_PARALLAX_MAP_SOLID
%IRR_EMT_PARALLAX_MAP_TRANSPARENT_ADD_COLOR
%IRR_EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA
%IRR_EMT_ONETEXTURE_BLEND
%IRR_EMT_FORCE_32BIT
---Equates MATERIAL FLAGS
IRR_EMF_WIREFRAME
IRR_EMF_POINTCLOUD
IRR_EMF_GOURAUD_SHADING
IRR_EMF_LIGHTING
IRR_EMF_ZBUFFER
IRR_EMF_ZWRITE_ENABLE
IRR_EMF_BACK_FACE_CULLING
IRR_EMF_BILINEAR_FILTER
IRR_EMF_TRILINEAR_FILTER
IRR_EMF_ANISOTROPIC_FILTER
IRR_EMF_FOG_ENABLE
IRR_EMF_NORMALIZE_NORMALS
IRR_EMF_TEXTURE_WRAP
IRR_EMF_MATERIAL_FLAG_COUNT
---Equates ANIMATION TYPE
%IRR_EMAT_STAND
%IRR_EMAT_RUN
%IRR_EMAT_ATTACK
%IRR_EMAT_PAIN_A
%IRR_EMAT_PAIN_B
%IRR_EMAT_PAIN_C
%IRR_EMAT_JUMP
%IRR_EMAT_FLIP
%IRR_EMAT_SALUTE
%IRR_EMAT_FALLBACK
%IRR_EMAT_WAVE
%IRR_EMAT_POINT
%IRR_EMAT_CROUCH_STAND
%IRR_EMAT_CROUCH_WALK
%IRR_EMAT_CROUCH_ATTACK
%IRR_EMAT_CROUCH_PAIN
%IRR_EMAT_CROUCH_DEATH
%IRR_EMAT_DEATH_FALLBACK
%IRR_EMAT_DEATH_FALLFORWARD
%IRR_EMAT_DEATH_FALLBACKSLOW
%IRR_EMAT_BOOM
---Equates OTHERS
%IRR_WINDOWED
%IRR_SHADOWS
%IRR_IGNORE_EVENTS
%IRR_GUI_BORDER
%IRR_GUI_WRAP
%IRR_GUI_NO_BORDER
%IRR_GUI_NO_WRAP
Roberto just sent me something I couldn't bealive when I first execute the sample script: first unofficial preview Irrlicht module wrapper for thinBasic.
Get attached file and unzip in thinBasic directory maintaining directory structure.
Then go under thinBasic\SampleScripts\Irrlicht\ andexecute thinBasic script sample to see with you eyes. Hope you will be able to see what I saw. If not working let us know.
You should see what reported as "1.HelloWorld" tutorial here: http://irrlicht.sourceforge.net/tutorials.html
Attention:
irrlicht.DLL MUST be located into thinBasic.EXE executable folder in order to work. We are thinking how to avoid this but for the moment that is the way
Some info:
thinBasic module wrapper is under development using thinBasic SDK for MS C/C++
module is developed using MS C/C++
irrlicht.DLL is compressed using UPX 3.00w original is about 1.4Mb while the one we distribute is about 510Kb
due to under development status and dll size, we will not deliver this module with official thinBasic release but we will keep a parallel temp project.
Later, when quite stable, we will decide how to go on
Here the list of functions already created by Roberto. No documentation for the moment but we will do in next weeks.
Have fun and please let us know if all is working fine on your box.
If not working, please tell us your OS and hardware config.
Ciao
Eros
_________________________________________________
Irr_CreateDevice
Irr_Run
Irr_DrawScene
Irr_DrawGUI
Irr_EndScene
Irr_Drop
Irr_GetFPS
Irr_GetPrimitiveCountDrawn
Irr_SetWindowCaption
Irr_BeginScene
Irr_IsWindowActive
Irr_CloseDevice
Irr_GetMesh
Irr_CreateMesh
Irr_RemoveMesh
Irr_GetMeshIndexCount
Irr_GetMeshIndices
Irr_SetMeshIndices
Irr_GetMeshVertexCount
Irr_GetMeshVertices
Irr_AddAnimatedMeshSceneNode
Irr_AddStaticText
Irr_SetNodeMaterialTexture
Irr_SetNodeMaterialFlag
Irr_GetTexture
Irr_SetNodeFrameLoop
Irr_SetNodeMD2Animation
Irr_AddCameraSceneNodeFPS
Irr_AddCameraSceneNode
---Equates DRIVER TYPE
%IRR_EDT_NULL
%IRR_EDT_SOFTWARE
%IRR_EDT_BURNINGSVIDEO
%IRR_EDT_DIRECT3D8
%IRR_EDT_DIRECT3D9
%IRR_EDT_OPENGL
---Equates MATERIAL TYPE
%IRR_EMT_SOLID
%IRR_EMT_SOLID_2_LAYER
%IRR_EMT_LIGHTMAP
%IRR_EMT_LIGHTMAP_ADD
%IRR_EMT_LIGHTMAP_M2
%IRR_EMT_LIGHTMAP_M4
%IRR_EMT_LIGHTMAP_LIGHTING
%IRR_EMT_LIGHTMAP_LIGHTING_M2
%IRR_EMT_LIGHTMAP_LIGHTING_M4
%IRR_EMT_DETAIL_MAP
%IRR_EMT_SPHERE_MAP
%IRR_EMT_REFLECTION_2_LAYER
%IRR_EMT_TRANSPARENT_ADD_COLOR
%IRR_EMT_TRANSPARENT_ALPHA_CHANNEL
%IRR_EMT_TRANSPARENT_ALPHA_CHANNEL_REF
%IRR_EMT_TRANSPARENT_VERTEX_ALPHA
%IRR_EMT_TRANSPARENT_REFLECTION_2_LAYER
%IRR_EMT_NORMAL_MAP_SOLID
%IRR_EMT_NORMAL_MAP_TRANSPARENT_ADD_COLOR
%IRR_EMT_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA
%IRR_EMT_PARALLAX_MAP_SOLID
%IRR_EMT_PARALLAX_MAP_TRANSPARENT_ADD_COLOR
%IRR_EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA
%IRR_EMT_ONETEXTURE_BLEND
%IRR_EMT_FORCE_32BIT
---Equates MATERIAL FLAGS
IRR_EMF_WIREFRAME
IRR_EMF_POINTCLOUD
IRR_EMF_GOURAUD_SHADING
IRR_EMF_LIGHTING
IRR_EMF_ZBUFFER
IRR_EMF_ZWRITE_ENABLE
IRR_EMF_BACK_FACE_CULLING
IRR_EMF_BILINEAR_FILTER
IRR_EMF_TRILINEAR_FILTER
IRR_EMF_ANISOTROPIC_FILTER
IRR_EMF_FOG_ENABLE
IRR_EMF_NORMALIZE_NORMALS
IRR_EMF_TEXTURE_WRAP
IRR_EMF_MATERIAL_FLAG_COUNT
---Equates ANIMATION TYPE
%IRR_EMAT_STAND
%IRR_EMAT_RUN
%IRR_EMAT_ATTACK
%IRR_EMAT_PAIN_A
%IRR_EMAT_PAIN_B
%IRR_EMAT_PAIN_C
%IRR_EMAT_JUMP
%IRR_EMAT_FLIP
%IRR_EMAT_SALUTE
%IRR_EMAT_FALLBACK
%IRR_EMAT_WAVE
%IRR_EMAT_POINT
%IRR_EMAT_CROUCH_STAND
%IRR_EMAT_CROUCH_WALK
%IRR_EMAT_CROUCH_ATTACK
%IRR_EMAT_CROUCH_PAIN
%IRR_EMAT_CROUCH_DEATH
%IRR_EMAT_DEATH_FALLBACK
%IRR_EMAT_DEATH_FALLFORWARD
%IRR_EMAT_DEATH_FALLBACKSLOW
%IRR_EMAT_BOOM
---Equates OTHERS
%IRR_WINDOWED
%IRR_SHADOWS
%IRR_IGNORE_EVENTS
%IRR_GUI_BORDER
%IRR_GUI_WRAP
%IRR_GUI_NO_BORDER
%IRR_GUI_NO_WRAP