Jump to content
You are about to reply to a thread that has been inactive for 142 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Posted

Hey all, 

Is it at all possible to change to a specific Graphic preset (that I have created) upon teleportation to a location? 

Simple use case: I'm at a busy club, so I have my preset to '[TM] Medium' but then if iI TP to my Skybox it auto changes my Preset to '[TM] Ultra', as I know i can 'up the settings' given how quiet\less busy it is in comparison to a club. 

Thanks. 

TM.

Posted

Unfortunately not possible as far as I know. If it were possible it would need to be implemented as a special feature in your viewer.

Posted

Graphics presets are a viewer feature, they aren't visible to scripts that run on the server.

Cool VL Viewer has viewer-side Lua scripting which might be able to do something like that, but I have zero knowledge on it and it's specific to that viewer only.

Posted (edited)
34 minutes ago, Frionil Fang said:

Cool VL Viewer has viewer-side Lua scripting which might be able to do something like that

Yes, you can do this via Lua scripting (in the ”automation.lua” script) in the Cool VL Viewer.

I use a similar approach for automatically setting the draw distance on login or TP: when in a sim with neighbouring sims, the script set the DD to 256m, and when in an island, to 512m... You could also set other graphics settings this way, and also based on the arrival simulator name.

Much more complex things are also possible; for example, I can, via a Lua button, ask the automation script to adapt the draw distance to the frame render time while keeping the frame limiter on (I use this while sailing of flying: the frame rate limiter is set to 60fps to avoid ludicrous frame rates in simple scenes, and the script adjusts the draw distance between 512 and 256m so that the rate won't falls below 60fps in complex scenes while keeping the DD as large as possible).

See the Cool VL Viewer Lua manual.

Edited by Henri Beauchamp
  • Like 2
Posted (edited)

Alternatively if it is exposed as a debug setting in a limited selection of rlv working viewers, you might be able to do it that way through lsl rlv chat commands.

ETA: The last known accessible settings were extremely limited. But you might petition to have it expanded to benign things like that.

Edited by NaomiLocket
Posted (edited)
26 minutes ago, NaomiLocket said:

Alternatively if it is exposed as a debug setting in a limited selection of rlv working viewers, you might be able to do it that way through lsl rlv chat commands.

RLV can only change a very limited set of debug parameters:

Quote

The debug settings that can be changed are :

  • AvatarSex (0 : Female, 1 : Male) : gender of the avatar at creation.
  • RenderResolutionDivisor (1 -> ...) : "blurriness" of the screen. Combined to clever @setenv commands, can simulate nice effects. Note: renderresolutiondivisor is a Windlight only option (Basic Shaders must be enabled in graphics preferences) and as such, is not available in v1.19.0.5 or older viewers.

Actually, pretty much just RenderResolutionDivisor, since AFAIK, AvatarSex serves no purpose.

Edited by Quistess Alpha
Posted

Yeah that's why I added you can probably petition to have it added. I don't see how being able to would be malicious so it should be safe generally. Because we'd only make settings we expect to be usable. It could be argued you wouldn't know what setting was what in a unknown range of values of a third party if you made a script for someone else and the value might be out of range. But really it could just silently fail and no op if someone didn't have as many presets. And if you made the script for yourself having it would be assured.

Posted (edited)

You can change environments with RLV. The command is @setenv. However, I find it works best to use a string to define a preset and then just execute the string instead of trying to define the environment in terms of sun and moon positions and stuff. To change the actual entire graphics preset, though. That would be a job for a Cool Viewer Lua automation script, which is something I still haven't figured out how to do anything at all with.

 

 

Edited by WeFlossDaily
spelling
Posted

Thank you so much for the replies all. I'll continue with things as they are (using Firestorm Viewer) and manually change as\when I need to. 

It's at least nice to know I wasn't missing something obvious in my preferred viewer!

Appreciate you all & your suggestions! 👍🏽

  • Like 1
You are about to reply to a thread that has been inactive for 142 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...