It is currently Sat Dec 14, 2019 5:28 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 240 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 16  Next
Author Message
 Post subject:
PostPosted: Tue Nov 07, 2006 12:30 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 05, 2006 6:44 am
Posts: 169
...And for primitives: add toruses, please.

_________________
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 07, 2006 12:46 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 7:44 pm
Posts: 465
Location: end of www
This project looks really interesting ... hope I find some time to browse
through the code / examples ...

Thanks for your work !

_________________
regards,
benny!
-
pe0ple ar3 str4nge!!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 09, 2006 1:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 05, 2006 6:44 am
Posts: 169
I'm waiting...

_________________
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 09, 2006 6:44 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 16, 2003 8:09 pm
Posts: 182
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 09, 2006 9:51 pm 
Offline
User
User

Joined: Sun Dec 14, 2003 6:38 pm
Posts: 84
Location: Germany, Mechernich
@Chrono Syndrome:
Chrono Syndrome wrote:
I'm waiting...

ehhm... for what ? A Torus ?
Oh the other problems are fixed, and with the next-release the Particles and Demo 22 will work. But still problems with Demo 23....

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.

Maybe not Sky-Rocket, but much better as with the PB-3D-Engine.

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.... ;-) )

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.

I never checked ColdSteel out - but isn't it a Irrlicht-Based Engine ?
Hmmm, and i give the Wrapper for free away ...

kawasaki wrote:
Im currently learning C++ (got a way to go :p ) so ill be able to contribute soon hopefully.

Good Idea !

Mike


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 10, 2006 6:58 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 05, 2006 6:44 am
Posts: 169
Quote:
for what ? A Torus ?

No. For any answer.

Quote:
Oh the other problems are fixed, and with the next-release the Particles and Demo 22 will work.

That's good, thanks !

_________________
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 10, 2006 8:27 am 
Offline
Addict
Addict
User avatar

Joined: Wed Apr 30, 2003 8:15 am
Posts: 991
Location: Germany
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.... ;-) )


What kind of modells do you need? .3ds, .mesh?
May be I can help.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 10, 2006 8:34 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 05, 2006 6:44 am
Posts: 169
Oh... And what about this ?:
Quote:
Little suggestion: add, plz, function to receiving OutputID (for StartDrawing / StopDrawing) of IrrLicht window/screen.


And one more suggestion: add, plz, command for coloring nodes (creating a texture for thats isn't convenient...) ala EntitiyColor in Blitz3D.

_________________
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 10, 2006 6:49 pm 
Offline
User
User

Joined: Sun Dec 14, 2003 6:38 pm
Posts: 84
Location: Germany, Mechernich
dige wrote:
What kind of modells do you need? .3ds, .mesh?
May be I can help.

Thanx, i'll contact you !


Chrono Syndrome wrote:
Oh... And what about this ?:
Quote:
Little suggestion: add, plz, function to receiving OutputID (for StartDrawing / StopDrawing) of IrrLicht window/screen.


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:
And one more suggestion: add, plz, command for coloring nodes (creating a texture for thats isn't convenient...) ala EntitiyColor in Blitz3D.

I wouldnt rebuild B3D. But you can set (next release) DiffuseColor, EmissiveColor, AmbientColor and SpecularColor for each Material.


Mike


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Nov 13, 2006 1:33 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 16, 2003 8:09 pm
Posts: 182
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)..


Thanks! :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Nov 13, 2006 8:04 am 
Offline
User
User

Joined: Sun Dec 14, 2003 6:38 pm
Posts: 84
Location: Germany, Mechernich
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)..

I have no example here, but it is fairly simple. Take a look at the RenderTotarget-Feature.
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Nov 13, 2006 5:25 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 16, 2003 8:09 pm
Posts: 182
Code:
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. :?:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 17, 2006 7:20 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Oct 05, 2006 6:44 am
Posts: 169
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.

_________________
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Nov 19, 2006 11:30 am 
Offline
User
User

Joined: Sun Dec 14, 2003 6:38 pm
Posts: 84
Location: Germany, Mechernich
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.

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.
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 22, 2006 10:47 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 7:44 pm
Posts: 465
Location: end of www
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:
 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!!!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 240 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 16  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye