Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

The RGB Slider

Raleda Sun
Registered User
Join date: 26 Jun 2006
Posts: 28
06-29-2007 21:13
Ok..I'm finding that a lot of high end items are using RGB sliders and similar tools that change the tint of prims. Now, since I want to incorporate this into some of my designs, and I don't have any particularly scripty friends, I'm hoping you guys can help me.

From what I gather, this has something to do with the llsetcolor thing, but the actual interface of the thing is what completely confuses me. Any suggestions?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
06-30-2007 01:40
From: Raleda Sun
Ok..I'm finding that a lot of high end items are using RGB sliders and similar tools that change the tint of prims. Now, since I want to incorporate this into some of my designs, and I don't have any particularly scripty friends, I'm hoping you guys can help me.

From what I gather, this has something to do with the llsetcolor thing, but the actual interface of the thing is what completely confuses me. Any suggestions?


The system will probably incorporate a HUD which when attached communicates with the object you want to tint. I say probably as you could do it without a HUD but I think it would be rather messy.

The sliders are just prims that you drag across the face of the HUD and generate a normalised value (0 - 1) based on their position.

The values for red green and blue are then combined into a vector which is used to set the colour in the llSetColor call (or equivelent).
_____________________
I'm back......