Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Kill the lag! Technical Suggestion for LindenLab for snapshot textures

Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-05-2004 14:01
Okay, you all have probably seen this:

You enter a house / shop / club in SL and in the foyer or living area, BAM, the builder has plopped down a dozen picture frames each rotating through half a dozen pictures. And each picture?

A drag-and-dropped snapshot image.

Now, my resolution is 1024x768, and my snapshots are ... oh, 2.35 megabytes. I imagine most people are running my resolution or higher... let's do the math:
2.35meg x 12 frames x 6 pictures a frame = ...

:eek: ... 169.2 megs!!!??? :confused:

Oooh, that feels SO good going through my download pipe. /rimshot
And this is just for the snapshots, let alone prims and other textures!

The ideal solution:

In a perfect sim-world, land-owners would download the picture, resize it, compress it to jpeg format, and still have a sharp looking picture for under 50kb, then reimport it for a paltry $10L. It doesn't even need Photoshop - just about any image handler program can resize and save into another format.
But this does remove the ease of use of being able to just drag and drop that snapshot right onto a prim.

My suggestion to LindenLab:

Make a translation algorithm that automatically resizes snapshots into small compressed textures. It could be done on the fly as snapshots are dragged to prims, -OR- simply disallow snapshots from being directly dragged onto prims, and have a small feature added to snapshots to convert them to texture. - Like right clicking a texture, selecting "convert to texture".

I can think of two different ways that you could disallow snapshots from being used on prims: (a) Ban them by type on dropping onto the the prim. (b) Make a maximum texture size, something reasonable, like 500kb. (Heck, for that matter, if you reduced texture sizes, you probably could raise prim limits on land!)

My suggestion means:
(a) Linden Labs is saving serious RL cashola on bandwidth (and possibly data storage, depending if you store textures redundantly).
(b) Load times on many places will go noticeably down.
(c) Average Joe/Jane who doesn't know photo editting can optimize their creations more easily.
(d) Doing a resize and compress algorithm shouldn't be too difficult to do, so you're not diverting very much time to implement this feature.
(e) There will be much rejoicing in the villages.

...

I'm really tired of having a cable modem and still having to wait a long time for a place to load, because people don't have the will or know-how to optimize their creations.
I believe this suggestion could noticeably cut into this, while saving you folks at LindenLabs bandwidth at the same time.

-Hiro Pendragon
Varney 200,200
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
02-05-2004 14:24
All images are rendered on your computer, there is no hardware Linden side to create a snapshot server side.

When you create a snapshot is compressed using JPEG2000 standard and imediatly uploaded. It is not a bitmap. :)

If you take a snapshot to disk and then upload it, the quality is much better. However every image uploaded is compressed using the JPEG2000 standard which supports alpha layers and is a 'lossy compression' method like jpg.

All sounds uploaded are converted to ogg format, which is lossy like mp3 only less lossy and better compression.

I hope that answers some of your questions.
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
02-05-2004 18:29
Good to know that it compresses it, however does it resize as well? a 1024x768 jpg is still pretty big.
Theda Twilight
Spooky Chick
Join date: 7 Jan 2004
Posts: 32
02-05-2004 23:47
Snapshots, the instantly uploaded kind, are always 512x256. They do not seem to depend on the resolution of your SL window. Snapshots to disk however, are the size of your SL window.
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
02-06-2004 00:20
It doesn't resize them, but it doesn't send you any more data than is needed to make the images look good, either. This means that if you're five hundred meters away from the image, even if it's a 2048x2048 image, SecondLife will only send you a one-pixel average of the entire image.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Ana Farber
Junior Member
Join date: 21 Jan 2004
Posts: 6
where do snapshots go by default?
02-10-2004 05:32
Very silly question but i'm new.. Where do the screenshots go? I mean - do i have the option of saving locally? DOes that happen by default? Thanks in advance to anyoene who may care to reply.

Ana Farber
Cienna Rand
Inside Joke
Join date: 20 Sep 2003
Posts: 489
02-10-2004 06:58
Snapshots with the Snapshot button or Ctrl-Shift-S will be immediately uploaded to your inventory, and cost you L$10.

Snapshots with File > Snapshot to Disk.. or ` will prompt you where to save them locally (at full resolution), and cost you L$0.