Hi,
thanks for nice script,
from the equates list it is easy to make character walk, run, crouch...
Perfect,
Petr
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
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Hi,
thanks for nice script,
from the equates list it is easy to make character walk, run, crouch...
Perfect,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Petr, does it work for you?
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Sure !
I have tried default software and OpenGL render.
OpenGL takes few seconds to start but then it works ( and looks ) perfect.
Bye,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
I've just tried it and it works on my Computer. ;D
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
OK, thanks gui.
Roberto is working to create a complete Irrlicht wrapper.
Irrlicht is quite massive so it will take some time to have a professional wrapper but it seems we are on the right road.
Thanks again.
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Forgot to say,
there are 2 scripts in demo: one is thinBasic Gui (extension .tBasic) and one is thinBasic Console (extension .tBasicc) that just include the first one.
Difference is that if you execute the Gui version you just get the graphic window.
If you execute the Console version you get the graphic window plus a console window that is used like a sort of debug window where to look in case of problems.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Great job Roberto!
Wow, came home tonight and it works great! Thanks Roberto!!
Here are some more md2 models and skins I had used in Aurora while making a model viewer with it.
I downloaded these and didn't make them.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Ok, having fun looking at the code and studying the thinBasic code compared to the c++ code sample for hello world.
I am seeing how the pointer(pIIP) is taking the place of the class, but am confused in how it seems to replace 2 classes, the device class and smgr class? Did Roberto sort of unite the 2 classes.
I noticed he simplified a lot of the startup initialization for us and maybe he did the same with these 2 classes?
Very interesting to study, this is going to be really cool to learn and use.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Bookmarks