How can I scale a texture in Irrlicht?

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
fcloud
Posts: 5
Joined: Sun Oct 12, 2008 8:47 am

How can I scale a texture in Irrlicht?

Post by fcloud »

I want to draw a image that is a map of backgroud and to scale it at random . But I don't know how to do this. Who can help me ?
Thank you!
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Are you bigger than a breadbox?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Re: How can I scale a texture in Irrlicht?

Post by Acki »

rogerborg wrote:Are you bigger than a breadbox?
ohh, come on, it's his 1st post... :roll:
fcloud, where are you from ??? ;)
fcloud wrote:I want to draw a image that is a map of backgroud and to scale it at random . But I don't know how to do this.
I'm not sure what you mean with "is a map of backgrund", but I think you want to know how to draw a texture scaled to the screen...

look for draw2DImage()...
fcloud wrote:Who can help me ?
Thank you!
the examples are a treasure box for beginners... ;)
then the API is a realy good friend...
also the search on the forum can help alot !!! :lol:
and finally (nearly) everybody in the forum...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply