Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Inventory subfolders http://sldev.free.fr/forum/viewtopic.php?f=6&t=2379 |
Page 1 of 2 |
Author: | g0rd0ngrfr33mailgr [ 2023-07-29 12:24:05 ] | |||||||||
Post subject: | Inventory subfolders | |||||||||
Greetings! I hadn't used the CoolVLViewer in many years —in fact, I hadn't logged in in this forum for two years—, but I upgraded my PC recently and decided to try the viewer and see how it fares with the new hardware. The result is astonishing: looking out of my window in almost Ultra settings I get almost 200 fps, compared to the 25ish I get on Firestorm (in much lower settings). Even at busy clubs I get almost stable 20fps, which are much better than the 3–5 I got with Firestorm (and without the freezes). I understand that is because of the backporting of the LL Performance Viewer optimisations, only it's not because Alchemy has these too and doesn't give me anything more than FS. So I suspect it's Henri's wizardry ![]() For reference, my new (*) hardware is:
So I think it's time for me to come back. However, there are some features that I rely upon, so I wanted to ask whether it's possible to have them on CoolVLViewer (with or without lua, but if the answer is "with" then I shall need pointers): floaters for landmarks, favourite landmarks, favourite wearables and outfits. They all come down to the possibility of opening specific inventory folders in their own floaters and having buttons somewhere to open and close them. If I have to have the whole inventory showing, then it would be good to at least have them open at the desired folders, and in that case have more than two inventory floaters open at the same time. I know LL is planning the single inventory folder view thing. But perhaps Henri has already made something better (as always) in my years of absence? Thank you. (*) For you it might not be new, but I used to have a Celeron, so bite me ![]() |
Author: | Henri Beauchamp [ 2023-07-29 13:30:06 ] | ||||||||||||||||||||||||||||||||||||
Post subject: | Re: Inventory subfolders | ||||||||||||||||||||||||||||||||||||
But since it has been such a long time you did not try my viewer, here is the magic one-liner (removal of a glFinish()) that made the viewer all of a sudden 50 to 100% faster... That is, all this time, the C++ code in my viewer was so much faster than despite this old-fashioned GL code (not present in other viewers and dating back from the pre-OpenGL2 era in v1 viewers) that totally ruined its performances on modern graphics card, it was still able to compete against all other viewers. As for the freezes and the busy places, I did a lot of personal work on threaded textures fetching, caching, decoding, on VRAM and GL textures management and discard bias smart adjustment, some of which are listed in this thread.
![]()
![]() I also got "you bite off more than you can chew" comments... I proved all of them wrong. People knowing me, also know that I always keep my word and never promise something when I am not sure I will be able to uphold that promise.
With Lua ! As for landmarks, I personally rarely ever use them any more from the inventory since there is the teleport history floater (with most visited places tab, search tab, etc) and the world map and its drop down combo for LMs. |
Author: | g0rd0ngrfr33mailgr [ 2023-07-29 15:50:19 ] | |||||||||||||||||||||||||||
Post subject: | Re: Inventory subfolders | |||||||||||||||||||||||||||
The thing I do regret during my university years is I didn't study any programming. We did a bit of Basic and a bit of Fortran and I didn't have any incentive back then to read more on my own. But I know you do a good job. I first met your viewer when you implemented mesh before the Phoenix people and I remember their saying about old cars and new features.
I'll RTFM, then, and report back for advice. Why the search link? I've looked a bit and haven't found relative answers anywhere. I actually thought it's not possible, but, if you say it is, I believe you ![]()
Well, I'm a host and a performer. Notices, landmarks and outfits is what we do, sometimes extremely quickly. Thanks for the quick answer. Edit: viewtopic.php?f=6&t=2354&hilit=folders I know, I'm stupid. |
Author: | g0rd0ngrfr33mailgr [ 2023-07-30 15:38:59 ] | |||||||||
Post subject: | Re: Inventory subfolders | |||||||||
I think I did it, following the instructions in the link above: My automation script is:
I removed the bits from your script that seemed irrelevant. The result is ![]() The buttons open the relevant floaters, although they don't close them when clicking again on the buttons, and also it appears I can't have more than one lua-inventories open at the same time. I have not tried using an icon yet, just a two letter description (apparently I can't have more than two). The order of the buttons (counting top-down) is not respected, however. As you can see in the screenshot, the lua bar shows the buttons in the order 5,3,1,2,4,6. Am I doing something wrong? Also, I don't understand it. Why isn't LL-Inventory able to open at specific folders but Lua-Inventory is? What changed? Isn't Lua-Inventory just a copy of LL-Inventory? Thanks |
Author: | Henri Beauchamp [ 2023-07-30 18:52:15 ] | |||||||||||||||||||||||||||||||||||||||||||||
Post subject: | Re: Inventory subfolders | |||||||||||||||||||||||||||||||||||||||||||||
Then you could OpenLuaFloater('inventory2'), etc...
But is is much simpler to just change the buttons number in your script to match your preference.
My Lua automation feature has precisely been coded to expand the control over various aspects of the viewer, without having to hard-code in C++ exotic settings and features that almost no one will ever use. It avoids bloat while empowering the end user with ways to customize the viewer to their exact needs and tastes. PS: please, change your email for your account: I keep receiving rejected emails from Google (gmail sucks and systematically rejects automated emails) when you enable email notification for new forum posts. |
Author: | g0rd0ngrfr33mailgr [ 2023-07-31 07:58:18 ] | |||||||||||||||||||||||||||||||||||||||||||||
Post subject: | Re: Inventory subfolders | |||||||||||||||||||||||||||||||||||||||||||||
Ah, there is an example like that in the example automation script. Thanks, I'll look it up.
Thanks! Is there something I could add to preserve the search function too?
That it is.
All right ![]()
Gmail may suck, but I don't have other addresses I could use. I (think I) disabled email notification instead. Thanks! |
Author: | Henri Beauchamp [ 2023-07-31 12:06:01 ] | ||||||||||||||||||
Post subject: | Re: Inventory subfolders | ||||||||||||||||||
|
Author: | g0rd0ngrfr33mailgr [ 2023-08-03 16:18:43 ] | ||||||||||||||||||
Post subject: | Re: Inventory subfolders | ||||||||||||||||||
I did it! Now I can have separate floaters ![]()
I mean the search bar, the possibility to search within these folders from the lua floater. |
Author: | g0rd0ngrfr33mailgr [ 2024-01-26 19:39:37 ] | |||||||||||||||||||||||||||
Post subject: | Re: Inventory subfolders | |||||||||||||||||||||||||||
I think I did it (with another custom floater)!
|
Author: | g0rd0ngrfr33mailgr [ 2024-12-14 22:42:01 ] | ||||||||||||||||||
Post subject: | Re: Inventory subfolders | ||||||||||||||||||
Hello! I'm trying the new way, but I can't seem to find how to name the specific inventory floater. For example
opens "Objects" in its own floater beautifully, but the new floater is called "Lua: Inventory". Whereas with the old way (where I had a copy of the lua_inventory.xml named "lua_inventoryAC.xml"),
the new floater was called "Lua: Accessories". What am I doing wrong? Thanks! |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |