IrrlichtWrapper 1.05 (still) beta

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

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 ?
Hi, if you need help with this, just PM me and i'll be glad to involve :).
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Post by neotoma »

benny wrote: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 ;-)

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()
eeemmm - there is a little mistake in. The IrrDrawGUI() hast to be between BeginScene()/EndScene().


The pointer is a pointer to the IGUIStatic-Control, that you get with creating the Static-Control as Return-Value.

Mike
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post by benny »

@neotoma:

Uhh .. thx ... works like a charme now ... again great work and thank
you very much for the effort you put in this wrapper classes :!:
regards,
benny!
-
pe0ple ar3 str4nge!!!
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

Small question... Is there any possible way to resize the render screen once its embedded on to a container gadget for example?






Thanks
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Post by neotoma »

kawasaki wrote:Small question... Is there any possible way to resize the render screen once its embedded on to a container gadget for example?
Not tested, but i would say, you have to stop the Irrlicht and r4estart the engine. a problem is, that you have to reload all Textures/Models ect.
Mike
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

Yeah i thought that might be the case, which is a pain in the ass lol...


There has to be a way to get the handle of the window that gets locked on to the container... the window of the renderer, that way you should be able to resize it using API commands...

Ill try setting the caption of the window to something unique each time, then getting the handle of it using FindWindow.
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Post by neotoma »

kawasaki wrote:Yeah i thought that might be the case, which is a pain in the ass lol...


There has to be a way to get the handle of the window that gets locked on to the container... the window of the renderer, that way you should be able to resize it using API commands...

Ill try setting the caption of the window to something unique each time, then getting the handle of it using FindWindow.
In the next version you can get the WindowHandle from Irrlicht. Maybe that would help.

Mike
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

So when there will be a next version ;) ?
Oh, and one more suggestion: add, plz, analog of MoveEntity function from PureBASIC's 3DEngine.
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

And shader support :)


And if you can, support for the additional things in the Irrlicht engine like Water Nodes etc.
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

Yay, new idea: Add, plz, command to set node transparency without shaders (yes, like EntityAlpha in Blitz3D).

And don't forget about toruses and MoveEntity analog, please ;) .
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
sehka
New User
New User
Posts: 7
Joined: Sun Feb 08, 2004 9:11 pm

Post by sehka »

A very very good job :D
I'm waiting for a new release :wink:
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Post by neotoma »

sehka wrote:A very very good job :D
I'm waiting for a new release :wink:
Next release is on the way, but interrupted by a new Irrlicht-Version. So i'll use now Irrlicht 1.2. It has some bugfixes.......

Mike
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

Any progress ?
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Post by neotoma »

Chrono Syndrome wrote:Any progress ?
Progress - yes.

Mike
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

neotoma wrote:
Chrono Syndrome wrote:Any progress ?
Progress - yes.
Mike
Image
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
Post Reply