Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Set object texture

Author
Message
pugmartin
23
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: United Kingdom
Posted: 24th Apr 2003 15:43
Objects textures always stretch rather than tile repeatedly, no matter how set object texture is used. Why?
That picture actually is me you know...
Can anyone post me a banana?
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 24th Apr 2003 16:26
Read the manual:

SCALE OBJECT TEXTURE

This command will scale the UV data of the specified object. The UV data controls how a texture is
mapped onto your object. By scaling the UV data, you can effectively stretch or tile the texture over your
object. The U value controls the horizontal spread of the data. The V value controls the vertical spread of
the data. A U or V value of 1 means no scale change. A value of 0.5 will scale the texture by half. A value
of 2.0 will double the scale of the texture. The scale effect is permanent.

SYNTAX
SCALE OBJECT TEXTURE Object Number, UScale, VScale

Gronda, Gronda
pugmartin
23
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: United Kingdom
Posted: 25th Apr 2003 00:54
Ah. You got me!

Guess i couldnt see the forest for the trees...

Or summat like that.

Seriously, thanks mate. I feel stupid now.

That picture actually is me you know...
Can anyone post me a banana?

Login to post a reply

Server time is: 2026-07-10 23:13:55
Your offset time is: 2026-07-10 23:13:55