Page 2 of 2

Posted: Fri Aug 18, 2006 8:36 am
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 :)

project file

Posted: Mon Sep 18, 2006 12:39 pm
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

Posted: Thu Nov 09, 2006 9:07 am
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?