This forum is locked: you cannot post, reply to, or edit topics. This topic is locked: you cannot edit posts or make replies.

Page 1 of 1

Topic

Stucuk

Joined: 27 Jun 2010

Posts: 216

Reply with quote

Post Posted: Wed Jun 01, 2011 5:21 pm — Post subject: Global Textures

Does anyone have any plans to add Global Textures to CWE? As in PRP's which store common textures so that each age doesn't need to hold duplicates.

Below is the current wastage:

Quote:

All: 6398 Textures (869.26 MB) (911482183 Bytes)
Wastage: 2036 Textures (193.44 MB) (202832175 Bytes) (22.25%)



Note: I used Name, Size and CRC of the actual texture (In GL_RGBA format) as the criteria for what textures were the same.


_________________

-Stu

draekmus

Joined: 27 Jun 2011

Posts: 2

Reply with quote

Post Posted: Tue Jun 28, 2011 6:05 pm — Post subject:

Hmm... might be something interesting to look into.

But, it could be possible that Cyan built it that way so that, even though size is increased, the system wouldn't have to load the global PRPs every time an Age was linked to.

I'm no programmer, though, so I am likely wrong on this, but it does somewhat explain the route they chose.

If we could create a global textures directory, we could decrease overall size, but the overhead it puts on the system (loading textures that might not immediately be used) might be the price to pay for such an idea.

Stucuk

Joined: 27 Jun 2010

Posts: 216

Reply with quote

Post Posted: Wed Jun 29, 2011 3:16 pm — Post subject:

Most games don't limit the files that can be accessed by the game. If you take the engines made by ID Software (Quake 3, etc) they use packages like URU does, but the engine can access every single texture, model, etc. They don't load every texture/etc in existence, they only load what is needed.

The reason textures are stored in ages PRP's is proberly because they would just copy textures from the Age's 3DS Max directory without any checks to see if any textures are duplicates(Don't quote me on this though). With games like Quake 3, you have a custom map editor which uses the games directory to get the textures, so there is no copying of textures when you "compile" a level.

I have no clue how easy or hard it would be to make it so URU can have global textures but which are only loaded when needed.


_________________

-Stu

All times are GMT

Jump to:

This forum is locked: you cannot post, reply to, or edit topics. This topic is locked: you cannot edit posts or make replies.

Page 1 of 1

You can…

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum