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
Texture memory question
-
- Posts: 1048
- Joined: 19.10.2003
- With us: 21 years 1 month
- Location: Germantown, Ohio - USA
Re: Texture memory question
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
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