VB.NET - Automatic resize?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Devion
Posts: 9
Joined: Sat Sep 17, 2005 5:54 pm
Location: Netherlands
Contact:

VB.NET - Automatic resize?

Post by Devion »

For some ackward reason my images don't resize to the resolution (even if I do RECT() with the resolution) - both GUI:Image and Driver:Image2D..

GUI Environment doesn't have a rect?

Code: Select all

IrrGUI.AddImage(GetTexture("GUI_MWBG_BG"), New Position2D(1, 1), False, Nothing, 0, "")
Only source rect.. (size of image is 1024x768)

Code: Select all

IrrDriver.Draw2DImage(GetTexture("GUI_MWBG_BG"), New Position2D(1, 1), New Rect(New Position2D(1, 1), New Dimension2D(1024, 768)), New Color(0, 255, 255, 255), False)
Am I missing something here?
Devion
Posts: 9
Joined: Sat Sep 17, 2005 5:54 pm
Location: Netherlands
Contact:

Post by Devion »

To elaborate it a bit:

Image
Post Reply