Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Quad, AndrewAMD, 1 invisible), 18,256 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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 | 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