Gamestudio Links
Zorro Links
Newest Posts
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
4 registered members (AndrewAMD, bigsmack, 7th_zorro, dr_panther), 1,364 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to share texture between same wmb levels #433470
11/30/13 07:03
11/30/13 07:03
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
Im using wmb cubes who i dinamically load into level, but i see enormous memory growth and i have feeling that every block loads its own texture even so mostly of them have same ones.
I want to know if there is possibility to share them like models can do that.
Or tere is second choise i could use model as cube and put texture on it, but how i could make it not locked as it is with wmb cube textures.


Arrovs once will publish game
Re: how to share texture between same wmb levels [Re: Arrovs] #433476
11/30/13 09:01
11/30/13 09:01
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi,
look for 'tex_share'

Salud!

Re: how to share texture between same wmb levels [Re: txesmi] #433477
11/30/13 09:14
11/30/13 09:14
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
I didnt found such thing in WED. So i tried mdl cube and put texture on it.
Changed consumed memory from 140-200MB to 28-35MB. Its huge leap.
But now i dont know hot to tell shader to put texture in world coords like it happens in wmb before texture locking.


Arrovs once will publish game
Re: how to share texture between same wmb levels [Re: Arrovs] #433534
12/01/13 16:44
12/01/13 16:44
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest


Free world editor for 3D Gamestudio: MapBuilder Editor

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