Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-05-05 15:45:15



Reply to topic  [ 3 posts ] 
Lua: Derendering rezzed objects 
Author Message

Joined: 2020-07-08 23:18:37
Posts: 34
Reply with quote
I'm attempting to derender some light sources permanently using the Lua automation script. I see no way to get the instanced object uuid in Cool VL Viewer, so I used the asset blacklist from Firestorm, assuming that the UUIDs will be the same regardless of viewer (and I could be mistaken about that).

I have this:
derendered_objects = { "03314aeb-b9e9-6d2b-afd0-b8717a0eaa60", "1c898c5c-c459-a667-3096-ceeea9d2507e", "48ed25c5-3e0f-4d91-4da9-5cb5854b8ade", "6431bc54-186b-3e5f-7fdb-496396397d26", "d9200eb0-f2c3-1361-b2ca-7564cef25d48", "f68ca12e-2eba-2634-cfe4-d3bdb316e9f2" }

and this:
-- Derender objects we never want to see
for i = 1, #derendered_objects, 1 do
DerenderObject(derendered_objects[i])
end

but it does not appear to work. Any ideas?


2020-09-06 12:48:02
Profile

Joined: 2009-03-17 18:42:51
Posts: 5559
Reply with quote
KJ_Eno wrote:
I'm attempting to derender some light sources permanently using the Lua automation script. I see no way to get the instanced object uuid in Cool VL Viewer

Right click on the object to select it and make the pie menu appear, then press CTRL ALT SHIFT T ("T" like Textures, since it is the main function of this feature) to get the object info (including its UUID).

You may also derender objects with the pie menu and use the Lua function GetDerenderedObjects() to get the list of currently derendered objects.

Be aware that avatar attachments will have their UUID changed each time they get rezzed; same with temp-on-rez objects...


2020-09-06 13:48:46
Profile WWW

Joined: 2020-07-08 23:18:37
Posts: 34
Reply with quote
Perfect. CTRL-ALT-SHIFT-t was exactly what I needed. Thanks. :)


2020-09-06 15:28:12
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.