Search found 4 matches

by anders
Thu Nov 09, 2006 9:07 am
Forum: Irrlicht.NET
Topic: Displaying Irrlicht in a c# picture box
Replies: 17
Views: 8247

Then I displaing scene in picture box and resize it (picturebox) appear a picture scale effect... how remove it? 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 dri...
by anders
Wed Nov 08, 2006 1:23 pm
Forum: Beginners Help
Topic: Device resizing
Replies: 3
Views: 428

If you run the MeshViewer.exe example from the irrlicht distribution (choose d3d9) and resize the window, you can see the resize & "resetting d3d device" messages pop up in the log. Clearly it does something more than just stretch the output to fill the window. Also, you can clearly se...
by anders
Wed Nov 08, 2006 12:32 pm
Forum: Beginners Help
Topic: Device resizing
Replies: 3
Views: 428

I also tried the same resizing thing in Axiom, and found that there was a bug there that prevented a D3D window from resizing correctly. Interestingly, they had a patch in their patch tracking system which corrects the problem, but it isn't in the released source of Axiom. http://sourceforge.net/tra...
by anders
Tue Nov 07, 2006 9:29 am
Forum: Beginners Help
Topic: Device resizing
Replies: 3
Views: 428

Device resizing

Hi I'm trying to get a (any) scenegraph library to work well in a control in a .NET/WinForms application. The trouble I'm having to begin with is resizing the device, how do I code to make sure that the device resolution is always the same resolution as the size of the control it renders in? That is...