Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,499 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Texturing a terrain #306580
01/23/10 10:58
01/23/10 10:58
Joined: Nov 2009
Posts: 89
Germany, NRW
T
TrackingKeks Offline OP
Junior Member
TrackingKeks  Offline OP
Junior Member
T

Joined: Nov 2009
Posts: 89
Germany, NRW
Hello, I have a little problem!
I had created a terrain and made a texture file. It looks pretty good in MED. But after I had wirtten a script and runned it, the terrain texture had the wrong coordinates and wasn't scaled.
How can I place the texture right?
Thank you for your help!


Gamestudio: A7.82 Commercial/A8 Commercial
System specs (Laptop):
Windows 7 64bit
DirectX v10.1
Intel Core i7-720QM CPU @ 1,60 GHz
4GB DDR2 Ram
NVIDIA GeForce GT 230M (1024MB)
Re: Texturing a terrain [Re: TrackingKeks] #306596
01/23/10 13:22
01/23/10 13:22
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
you can either change its position in WED,
unless you've added a camera position, the default will be at 0,0,0 so you could change the camera position

if you're using lite-c without WED, when you create the terrain
use something like...
Code:
me = ent_create("the_terraid.mdl", nullvector, NULL);
vec_set(my.x, vector(0, 0, -100); //move the terrain down 10 quants
vec_fill(my.scale_x, 2); //make the terrain twice it's size
my.pan = 90; //change the yz angle of the terrain

hope this helps

Re: Texturing a terrain [Re: MrGuest] #306686
01/24/10 03:51
01/24/10 03:51
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Is the Texture size a power of 2? like 512*512?
If not, it could be come to a wrong Texture position...

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Texturing a terrain [Re: TrackingKeks] #306900
01/25/10 18:10
01/25/10 18:10
Joined: Nov 2009
Posts: 89
Germany, NRW
T
TrackingKeks Offline OP
Junior Member
TrackingKeks  Offline OP
Junior Member
T

Joined: Nov 2009
Posts: 89
Germany, NRW
OK, thanks for helping. But the texture size is a pcx file and a power of 2. I had used earth sculptor to generate it.


Gamestudio: A7.82 Commercial/A8 Commercial
System specs (Laptop):
Windows 7 64bit
DirectX v10.1
Intel Core i7-720QM CPU @ 1,60 GHz
4GB DDR2 Ram
NVIDIA GeForce GT 230M (1024MB)
Re: Texturing a terrain [Re: TrackingKeks] #306976
01/26/10 11:22
01/26/10 11:22
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
maybe the Texture file is broken, create a dummy Texture in same size then have a look wheater the texture is badly mapped again


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Texturing a terrain [Re: TrackingKeks] #306977
01/26/10 11:35
01/26/10 11:35
Joined: Nov 2009
Posts: 89
Germany, NRW
T
TrackingKeks Offline OP
Junior Member
TrackingKeks  Offline OP
Junior Member
T

Joined: Nov 2009
Posts: 89
Germany, NRW
I've exported the texture again, changed the file in the skin editor and now it is placed right. You're right. Probably the file was broken. Thank you!


Gamestudio: A7.82 Commercial/A8 Commercial
System specs (Laptop):
Windows 7 64bit
DirectX v10.1
Intel Core i7-720QM CPU @ 1,60 GHz
4GB DDR2 Ram
NVIDIA GeForce GT 230M (1024MB)

Moderated by  HeelX, rvL_eXile 

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