Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Texture tile #218283
07/27/08 16:13
07/27/08 16:13
Joined: Jul 2008
Posts: 29
RO
C
CTL Offline OP
Newbie
CTL  Offline OP
Newbie
C

Joined: Jul 2008
Posts: 29
RO
hy again i would like to know how could i tile some texture plz...some tutorial will be verry helpful plz...

Re: Texture tile [Re: CTL] #218592
07/29/08 12:44
07/29/08 12:44
Joined: Jul 2008
Posts: 4
Russia
S
SIBERDT Offline
Guest
SIBERDT  Offline
Guest
S

Joined: Jul 2008
Posts: 4
Russia

Re: Texture tile [Re: SIBERDT] #218607
07/29/08 13:48
07/29/08 13:48
Joined: Jul 2008
Posts: 29
RO
C
CTL Offline OP
Newbie
CTL  Offline OP
Newbie
C

Joined: Jul 2008
Posts: 29
RO
what i`m trying to say is that i don`t know how to make a texture look tileable in 3DGS that tutorial is very good i download it some time a go...so you could help me to learn how to make a texture tileable in 3DGS ?

Re: Texture tile [Re: CTL] #218612
07/29/08 14:08
07/29/08 14:08
Joined: Jul 2008
Posts: 4
Russia
S
SIBERDT Offline
Guest
SIBERDT  Offline
Guest
S

Joined: Jul 2008
Posts: 4
Russia
U mean how to tile textures on blocks in WED?
Looks like there r some block options for that. Im not using WED...

If u wanna tile texture in c-script, u need to create the shader or u can use cycle:


//////////////////////////////////

VECTOR temp;

function uv_scale (ENTITY* this,var s)
{
var x;
x=1;

while (x<ent_vertices(this))
{
vec_for_uv(temp,this,x);
vec_scale(temp,s);
vec_to_uv(temp,this,x);
x++;
}
}

action scaleMyTexture ()
{
uv_scale (my,10);
}


function main ()
{
var x;
level_load("");
wait(3);
ent_create("my_tiled_entity.hmp",nullvector,scaleMyTexture);
camera.z=100;camera.tilt=-90; //camera
}

Last edited by SIBERDT; 07/29/08 14:08.
Re: Texture tile [Re: SIBERDT] #218613
07/29/08 14:16
07/29/08 14:16
Joined: Jul 2008
Posts: 29
RO
C
CTL Offline OP
Newbie
CTL  Offline OP
Newbie
C

Joined: Jul 2008
Posts: 29
RO
yes tile texture on block thats what i mean and yes i`m looking for that option block but i can`t find it...i will tri to see if it works with the code u give me but if u know wher i find the option on blocks post here and thaks a lot for that code...hope i will get it work...

Last edited by CTL; 07/29/08 14:20.

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1