IrrlichtWrapper 1.05 (still) beta
-
- Enthusiast
- Posts: 169
- Joined: Thu Oct 05, 2006 6:44 am
- Contact:
-
- Enthusiast
- Posts: 169
- Joined: Thu Oct 05, 2006 6:44 am
- Contact:
I think if a few programmers who are familiar with C++ and Purebasic form to make a dedicated development team for the Irrlicht Wrapper, within a month or so, the 3d capabilities of Purebasic will sky-rocket.
I bought ColdSteel but am very disappointed atm. I would love to see this wrapper continue to grow, and not just cease and end up on page 44 on the Announcements Forum.
Im currently learning C++ (got a way to go :p ) so ill be able to contribute soon hopefully.
I bought ColdSteel but am very disappointed atm. I would love to see this wrapper continue to grow, and not just cease and end up on page 44 on the Announcements Forum.
Im currently learning C++ (got a way to go :p ) so ill be able to contribute soon hopefully.
@Chrono Syndrome:
Oh the other problems are fixed, and with the next-release the Particles and Demo 22 will work. But still problems with Demo 23....
And to everyone who wants to help to make the IrrlichtWrapper better, more stable and grow :
I need Demos / Tutorials ect.
And what i'm really need is a 3d-Modeller and Texturer - while i'm very untalented for that. I plan to make a set of 'Advanced' Demos to show the capatibilities and help as How-Tos. But the people need 'good looking'-Demos to say 'Oh Yes - great ! I'll try it !'. Maybe here any Helpers around ? (Oh, also the Doku needs helpers, but i think nobody like this part.... )
Hmmm, and i give the Wrapper for free away ...
Mike
ehhm... for what ? A Torus ?Chrono Syndrome wrote: I'm waiting...
Oh the other problems are fixed, and with the next-release the Particles and Demo 22 will work. But still problems with Demo 23....
Maybe not Sky-Rocket, but much better as with the PB-3D-Engine.kawasaki wrote:I think if a few programmers who are familiar with C++ and Purebasic form to make a dedicated development team for the Irrlicht Wrapper, within a month or so, the 3d capabilities of Purebasic will sky-rocket.
And to everyone who wants to help to make the IrrlichtWrapper better, more stable and grow :
I need Demos / Tutorials ect.
And what i'm really need is a 3d-Modeller and Texturer - while i'm very untalented for that. I plan to make a set of 'Advanced' Demos to show the capatibilities and help as How-Tos. But the people need 'good looking'-Demos to say 'Oh Yes - great ! I'll try it !'. Maybe here any Helpers around ? (Oh, also the Doku needs helpers, but i think nobody like this part.... )
I never checked ColdSteel out - but isn't it a Irrlicht-Based Engine ?kawasaki wrote: I bought ColdSteel but am very disappointed atm. I would love to see this wrapper continue to grow, and not just cease and end up on page 44 on the Announcements Forum.
Hmmm, and i give the Wrapper for free away ...
Good Idea !kawasaki wrote: Im currently learning C++ (got a way to go :p ) so ill be able to contribute soon hopefully.
Mike
-
- Enthusiast
- Posts: 169
- Joined: Thu Oct 05, 2006 6:44 am
- Contact:
What kind of modells do you need? .3ds, .mesh?neotoma wrote: And what i'm really need is a 3d-Modeller and Texturer - while i'm very untalented for that. I plan to make a set of 'Advanced' Demos to show the capatibilities and help as How-Tos. But the people need 'good looking'-Demos to say 'Oh Yes - great ! I'll try it !'. Maybe here any Helpers around ? (Oh, also the Doku needs helpers, but i think nobody like this part.... ;-) )
May be I can help.
-
- Enthusiast
- Posts: 169
- Joined: Thu Oct 05, 2006 6:44 am
- Contact:
Oh... And what about this ?:
And one more suggestion: add, plz, command for coloring nodes (creating a texture for thats isn't convenient...) ala EntitiyColor in Blitz3D.Little suggestion: add, plz, function to receiving OutputID (for StartDrawing / StopDrawing) of IrrLicht window/screen.
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
Thanx, i'll contact you !dige wrote:What kind of modells do you need? .3ds, .mesh?
May be I can help.
Ehhm, i added a Function to get the Hwnd (WindowsHandle). Maybe this helps, but i'm not deep enough in this StartDrawing()/StopDrawing()-Interna. We have to try out.Chrono Syndrome wrote:Oh... And what about this ?:Little suggestion: add, plz, function to receiving OutputID (for StartDrawing / StopDrawing) of IrrLicht window/screen.
I wouldnt rebuild B3D. But you can set (next release) DiffuseColor, EmissiveColor, AmbientColor and SpecularColor for each Material.Chrono Syndrome wrote:And one more suggestion: add, plz, command for coloring nodes (creating a texture for thats isn't convenient...) ala EntitiyColor in Blitz3D.
Mike
I have no example here, but it is fairly simple. Take a look at the RenderTotarget-Feature.kawasaki wrote:can you please do a quick example, partial code will be just as good, of how to render a camera to an image gui gadget.. (not a purebasic gadget, a irrlicht gui gadget)..
All you have to do, is to render your Scene to Texture, and assign this texture to a GUI-Image.....
(not tested, but that would be my first try to solve that)
Mike
Code: Select all
XIncludeFile "_Inc\Irrlicht Wrapper.pb"
InitIrrlichtWrapperDll()
IrrStart( #IRR_EDT_OPENGL, 640, 480, #IRR_WINDOWED, #IRR_NO_SHADOWS, #IRR_CAPTURE_EVENTS )
IrrSetWindowCaption( "Beta Demo 1" )
CamWin=IrrGuiAddWindow(0,0,405,300,#IRR_GUI_BORDER,"Cam",0,1)
View1=IrrGuiAddImage(5,25,100,130, CamWin,0)
IrrGuiAddImage(105,25,200,130, CamWin,1)
IrrGuiAddImage(205,25,300,100, CamWin,2)
IrrGuiAddImage(305,25,400,100, CamWin,3)
*FairyMesh = IrrGetMesh("Beta Demo Media\faerie.md2")
If *FairyMesh
*FairySceneNode = IrrAddMeshToScene( *FairyMesh )
*FairyTexture = IrrGetTexture("Beta Demo Media\faerie2.bmp")
IrrSetNodeMaterialTexture( *FairySceneNode, *FairyTexture, 0 )
IrrSetNodeMaterialFlag( *FairySceneNode, #IRR_EMF_LIGHTING, #True)
IrrSetNodeMaterialShininess( *FairySceneNode, 0, 20.0)
IrrSetNodePosition( *FairySceneNode,-10,0,-100 )
EndIf
*light = IrrAddLight(-15,5,-105,255,255,255,100)
IrrSetAmbientLight(60,60,60)
*CubeNode = IrrAddCubeSceneNode(60);
IrrAddRotationAnimator(*CubeNode,0.3, 0.3,0)
IrrSetNodePosition( *CubeNode,-100,0,-100 )
IrrSetNodeMaterialFlag( *CubeNode, #IRR_EMF_LIGHTING, #True)
*RenderTarget = IrrCreateRenderTargetTexture(95,95)
;IrrSetNodeMaterialTexture(View1, *RenderTarget, 0 )
*FixedCamera = IrrAddCamera(10,10,-80, -10,10,-100)
While IrrRunning()
IrrBeginScene( 255,255,255 )
IrrSetActiveCamera(*FixedCamera);
IrrDrawScene()
IrrSetRenderTarget(0, #True, #True, 0,0,255);
IrrGuiImageSetImage(View1,*RenderTarget)
IrrBeginScene( 255,255,255 )
IrrGuiEventAvailable()
IrrReadGuiEvent()
IrrDrawGUI()
IrrEndScene()
Wend
This is what i have in terms of rendering to a GUI Image, but it just displays a black box with a few coloured squared on the top left of the image.
-
- Enthusiast
- Posts: 169
- Joined: Thu Oct 05, 2006 6:44 am
- Contact:
Yes, in future-releases this will be possible (i'v done this already in c++). Also some more access to the Terrain will later available.Chrono Syndrome wrote:I've got a new idea: add commands to get/set pixels of textures and receiving their (Textures) Height\Width, plz. It's will be very useful.
But at the moment (and also for the next release) you can load the texture with PB and manipulate it there before you pass it to Irrlicht as Texture.
(See examples for how to do it.)
@kawasaki:
I'll check this out, but it seems in your code above, that you set the Render-Texture to 0 instead of the Texture-Pointer.
Mike
Hi ...
the Hello world example from the Help-File doesn't show the static
Text. I only get a white screen. Any ideas why ?
And with which command do you set the color of the text ? With :
IrrGuiStaticSetOverrideColor(*st.l, red.l, green.l, blue.l) ???
What is the pointer "*st.l" used for ? :roll:
Many questions ... maybe someone can help
the Hello world example from the Help-File doesn't show the static
Text. I only get a white screen. Any ideas why ?
And with which command do you set the color of the text ? With :
IrrGuiStaticSetOverrideColor(*st.l, red.l, green.l, blue.l) ???
What is the pointer "*st.l" used for ? :roll:
Many questions ... maybe someone can help
Code: Select all
XIncludeFile "IrrlichtWrapper.pbi"
InitIrrlichtWrapperDll()
IrrStart( #IRR_EDT_SOFTWARE, 400, 200, #IRR_WINDOWED, #IRR_NO_SHADOWS, #IRR_IGNORE_EVENTS )
IrrSetWindowCaption( "Example 01: Hello World - The GUI" )
IrrGuiAddStaticText( "Hello World", 4,0,200,16, #IRR_GUI_NO_BORDER, #IRR_GUI_NO_WRAP )
While IrrRunning()
IrrBeginScene( 0,255,255 )
IrrEndScene()
Wend
IrrDrawGUI()
IrrStop()
FreeIrrlichtWrapperDll()
regards,
benny!
-
pe0ple ar3 str4nge!!!
benny!
-
pe0ple ar3 str4nge!!!