Render "Mice Stuff" as bitmaps |
0 | ||
Standard mouse movement (standing, running, and ducking), earth grounds, grass grounds, stone grounds, and some other stuff is all pre-rendered. What does this mean? Well, for one it means that when you zoom in this stuff all looks blurry because it's not rendered as vectors but rasther an actual image, but what it also means is that you experience FAR less lag. Most old "mice stuff"/decorations are already rendered as bitmaps: trees, bushes, and flowers to name a few. This is why they look blurry when you zoom in but also why they look very smooth when you use low quality. Have you noticed editing a map that's decoration intensive--mostly tribe houses--and at some point everything starts to get REALLY laggy? This is because every vector is being re-rendered. This is also why tribe houses are generally laggier altogether: you're rendering a LOT of vectors individually for each graphic instead of a quick bitmap image which computers can process much faster. What harm could this do? To be honest, the only con is that you can't zoom in and keep perfect quality on the decorations that do use vectors now, but that's not really a big concern. Considering you can't rotate mice stuff or anything, they would look EXACTLY the same or BETTER if you use low quality--but still REDUCE LAG. So what do you get from rendering decorations as images? You get better quality and less lag. Both in one package. Edit: to expand upon this suggestion: Rending default colors of recolorable decorations There's an obvious reason why recolorable decorations can't be rendered: you can't render every color. However, most decorations use default color properties. Therefor, we can save some XML as well a boost rendering speed and quality: when objects are set to default colors, do not save the color and use a pre-rendered bitmap of the default object. |
Admshumaker « Citoyen » 1350767820000
| 0 | ||
Support. |
Yosueguillen « Citoyen » 1350771300000
| 0 | ||
/Support |
Buzzrobbytoo « Citoyen » 1350773880000
| 0 | ||
I didn't understand a word you said.... but im still gonna /support |
Willinator « Citoyen » 1350775500000
| 0 | ||
Support |
Fluttarshy « Citoyen » 1350785640000
| 0 | ||
I support ^-^ |
Chandara « Citoyen » 1350787680000
| 0 | ||
support |
0 | ||
/Support Pictures tend to look ugly when you zoom in on your maus with flowers and trees behind you as they are all blurry and ew |
0 | ||
As far as I know every decoration and grounds are cached as bitmaps in transformice. Have you analysed any code that suggests otherwise? |
0 | ||
Moepl a dit : Actually, upon further inspection, I found the exact culprit: all recolorable decorations aren't rendered. There's a good point there: you can't render every color. Still, considering most of us use the default colors anyway, I think it'd be best to still render the defaults if no diferent color is specified (and this could also stop saving default colors in the XML which is just a waste of space). |
Aleeeeeh « Citoyen » 1350830940000
| 0 | ||
/Support Also some observations: Cloud ground shouldn't be pre rendered because it makes it look blurry and unaligned as hell. Backgrounds should be bitmaps as well since they're big and cause a lot of lag too. Cheese and hole should be bitmaps for the same reason as other decorations. Shaman objects are pre rendered (not in the map editor though) but there's a little problem, they're pre rendered in the quality you're playing. This means that if you play in low quality and an item spawns for the first time it will look bad. A high-quality preload of these items would be nice. |
0 | ||
Aleeeeeh a dit : I agree with backgrounds definitely as well--there's absolutely no need to keep those as vectors. Also I was thinking about how things are rendered in medium quality. It probably would look very nice if TFM loaded first in high quality to better prerender everything. |
Aleeeeeh « Citoyen » 1350838140000
| 0 | ||
Moepl a dit : I'm not sure but I don't think every ground is set as bitmap. Just the ones with repetitive patterns like grass, sand, earth, stone and lava. Although, cloud is a stretched bitmap and that makes no sense. |
Boygawgaw « Citoyen » 1350840960000
| 0 | ||
/support Very wall explained, Fxie. |
Midnightecho « Citoyen » 1350853080000
| 0 | ||
/support *-* |
Aleeeeeh « Citoyen » 1351017180000
| 0 | ||
Bump o/ |
Plague « Citoyen » 1351048020000
| 0 | ||
me - *reads* *rereads* wut. ._. *rereads again* Oh.. /support |
Aleeeeeh « Citoyen » 1351429740000
| 0 | ||
Necrobump .-. |
0 | ||
It'd be great it more people cared about performance updates |
Aleeeeeh « Citoyen » 1351521000000
| 0 | ||
Fxie a dit : I was wondering how recolorable hats get prerendered then... uhm. |