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 / Texture largest than the surface where I want to put it

Author
Message
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 4th Feb 2014 18:10
Mmmm so,I have 2 cubes, same size, and I load a texture to use with these 2 cubes.
So I would to obtain my texture NOT fitted to the object area/size.

I would to have my texture largest than the area of the cube where I want to put it.
So using only a texture and using UV scroll too, I could to texturize my 2 cube objects like I am using different textures! (without seeing the ugly effect of the image XY area limits lines)

So can I use some commands to make my texture not fitted to cube area but largest?
Thanks!
Rudolpho
19
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 4th Feb 2014 18:26
Your cubes will need to have two different sets of UV coordinates (alternatively a shader that shuffles the input UV coords) to achieve this.


"Why do programmers get Halloween and Christmas mixed up?"
chafari
Valued Member
19
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 4th Feb 2014 19:43
I'm not exactly sure what you mean. You have a texture and you want to texture your object and then scroll texture...Yes it is posible, but we have to scale texture also in order to avoid parts of texture into the object .

Example:



I'm not a grumpy grandpa
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 5th Feb 2014 09:24
haha thank you guys! and really sorry for my weird english..

Login to post a reply

Server time is: 2025-05-15 23:01:53
Your offset time is: 2025-05-15 23:01:53