LSL-PyOptimizer icon indicating copy to clipboard operation
LSL-PyOptimizer copied to clipboard

Update needed for PBR and other 2023 LSL Additions.

Open KrsityKu opened this issue 2 years ago • 5 comments

An update is needed to support PBR values such as for set prim params: PRIM_RENDER_MATERIAL https://wiki.secondlife.com/wiki/PRIM_RENDER_MATERIAL PRIM_GLTF_BASE_COLOR https://wiki.secondlife.com/wiki/PRIM_GLTF_BASE_COLOR PRIM_GLTF_NORMAL https://wiki.secondlife.com/wiki/PRIM_GLTF_NORMAL PRIM_GLTF_METALLIC_ROUGHNESS https://wiki.secondlife.com/wiki/PRIM_GLTF_METALLIC_ROUGHNESS PRIM_GLTF_EMISSIVE https://wiki.secondlife.com/wiki/PRIM_GLTF_EMISSIVE

As well as:

New function llGetInventoryDesc - returns the description of the inventory item: https://wiki.secondlife.com/wiki/LlGetInventoryDesc New function llIsFriend - returns TRUE if agent_id and the owner of the prim the script is in are friends: https://wiki.secondlife.com/wiki/LlIsFriend New function llRezObjectWithParams - apply a list of prim properties that are applied when the object is rezzed: https://wiki.secondlife.com/wiki/LlRezObjectWithParams New function llListFindListNext - find the index of non-unique list entries beyond the first instance: https://wiki.secondlife.com/wiki/LlListFindListNext llSetDamage can now set negative damage: https://wiki.secondlife.com/wiki/LlSetDamage

New LSL changed() event type https://wiki.secondlife.com/wiki/CHANGED_RENDER_MATERIAL

And maybe some others that I've missed.

KrsityKu avatar Dec 02 '23 17:12 KrsityKu

Please report this against kwdb next time, please.

The constants you mention are all implemented now, but none of the functions work for me. Does one need a certain channel to run these? As in LeTigre/BlueSteel/Magnum...

Sei-Lisa avatar Dec 12 '23 16:12 Sei-Lisa

PBR functionality works grid-wide.

Others are part of 2023-11-20.6935786551 I'm not sure which channels it has been deployed in so far, but it might be deployed wider with today's/tomorrow's restarts. Here's the release notes https://releasenotes.secondlife.com/simulator/2023-11-20.6935786551.html

I've heard that LL are trying to roll out that update grid-wide by the end of the year.

The latest changes are on Second Life Preflight 2023-11-20.6935786551 - which is available in Rumpus Room regions.

KrsityKu avatar Dec 12 '23 16:12 KrsityKu

It would appear it has been rolled out on all RC Channels: Second Life RC BlueSteel 2023-12-06.7120498618 Second Life RC Magnum 2023-12-06.7120498618 Second Life RC LeTigre 2023-12-06.7120498618

KrsityKu avatar Dec 14 '23 12:12 KrsityKu

According to https://modemworld.me/2024/01/16/2024-sl-sug-meetings-week-3-summary/ the RC Sims are updating to also include another function: https://wiki.secondlife.com/wiki/LlGetNotecardLineSync

KrsityKu avatar Jan 17 '24 08:01 KrsityKu

The functions have been rolled out gridwide on Tuesday. https://releasenotes.secondlife.com/simulator/2024-01-19.7590161929.html

PeterStindberg avatar Jan 31 '24 17:01 PeterStindberg

Almost 3 months later (sigh), kwdb has been updated with the latest keywords, and the changes imported. New functions implemented for constant value resolution (they work on lslcalc too):

  • llList2ListSlice
  • llListFindListNext
  • llListFindStrided
  • llListSortStrided

Sei-Lisa avatar Apr 20 '24 15:04 Sei-Lisa