Texture memory question

Tips for creating and manipulating planet textures for Celestia.
Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Texture memory question

Post #1by rthorvald » 17.06.2004, 17:50

If two objects use the same texture, and both are visible, will Celestia load the texture once, or will it treat it as two different files?

The question is really: if two asteroids, for example, share one texture, is this more memory-efficient than using two different textures?

- rthorvald

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Re: Texture memory question

Post #2by Bob Hegwood » 18.06.2004, 05:48

rthorvald wrote:If two objects use the same texture, and both are visible, will Celestia load the texture once, or will it treat it as two different files?

The question is really: if two asteroids, for example, share one texture, is this more memory-efficient than using two different textures?

- rthorvald

Don't know for sure, but this is already being done in Celestia. A wide variety
of objects are currently mapped to a single texture, "asteroid.cms" and
"asteroid.jpg" I think?

One would have to assume that it *would* be more memory efficient if the
same texture only has to be in memory once to be displayed on a variety of
different objects. Yes?

Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1


Return to “Textures”