Displaying Irrlicht in a c# picture box

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
PAX83
Posts: 4
Joined: Mon Aug 14, 2006 6:09 am
Location: Russia, Ryazan

Post by PAX83 »

Then I displaing scene in picture box and resize it (picturebox) appear a picture scale effect... how remove it?

Code: Select all

        device = New IrrlichtDevice(frm.driver, _
                New Dimension2D(frm.pbRender.Width, frm.pbRender.Height), _
                32, False, False, False, False, frm.pbRender.Handle)
        device.ResizeAble = True
If driver type is OpenGL then scale effect don't appear, but camera don't change its ViewPort... is it bug?

PS: sorry for my bad english, i'am a russian user of Irrlicht :)
kalapu
Posts: 2
Joined: Sat Sep 16, 2006 7:26 am

project file

Post by kalapu »

Hi,

I tried to compile this sample, but it didn't work. Can anyone send project files for c# please? Thanks.

ozturkh@gmail.com
anders
Posts: 4
Joined: Tue Nov 07, 2006 9:20 am

Post by anders »

PAX83 wrote:Then I displaing scene in picture box and resize it (picturebox) appear a picture scale effect... how remove it?

Code: Select all

        device = New IrrlichtDevice(frm.driver, _
                New Dimension2D(frm.pbRender.Width, frm.pbRender.Height), _
                32, False, False, False, False, frm.pbRender.Handle)
        device.ResizeAble = True
If driver type is OpenGL then scale effect don't appear, but camera don't change its ViewPort... is it bug?

PS: sorry for my bad english, i'am a russian user of Irrlicht :)
I also noticed that.

Compare the MeshViewer example (c++) with the MeshViewer from the c# example (Example9.cs). The c# version has the scaling effect, but the c++ version shows real scaling, i.e. device resizing.

I think this may be a bug or at least a difference between the c#/c++ versions. Anyone?
Locked