|
Khashai Steinbeck
A drop in the Biomass.
Join date: 15 Oct 2005
Posts: 283
|
11-22-2005 11:26
What if the client downloaded textures before structures? Woulnt this make the texture problem go away? Would there be any downsides to this plan?
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
11-22-2005 12:14
how would the client know what textures to download?
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Khashai Steinbeck
A drop in the Biomass.
Join date: 15 Oct 2005
Posts: 283
|
11-22-2005 21:33
Well, I would assume (and I may be incorrect) that the client would know which textures to load because the said textures would be located on the server, same as the objects. Surely there is simply code that tells the client which texture to download and which object it applies to (probably by a random ID number that matches the object) (im not a programmer), just switch loading textures to being first, so that when the objects load, they are already textured.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
11-22-2005 22:31
When i'm racing though sims at 32m/s i'd like to know if i'm going to hit a building, instead of having to wait for textures to load before my buildings.
But the reason i asked the previous question: The client desides how much of which textures to download depending upon where the texture face is in the display. If the client doesn't have the object data to do this smart handling it will waste network time on non essential assets.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
|
11-23-2005 01:05
Think of web pages, Khashai. Your browser has to download the HTML file first, which then tells it what text to show and what images to display, where to display them, how big they should be etc etc. Only then can it start downloading the images.
In SL, each object's structure is like a little web page. It contains built-in data, like size and position, as well as listing what images to display, where and how big.
(It's no entirely as simple as this - I believe that the server actually starts streaming images down to the client based on intelligent guesses, even before the client requests them - but it's close)
Also, structure information is far, far smaller than textures. By streaming that down first and displaying "loading" textures until the real ones arrive, the system get more bang for its buck.
|