Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help setting a prim to white using llSetColor

Draw Marchlewski
Registered User
Join date: 9 Aug 2006
Posts: 2
12-07-2006 06:45
Hi All

I'm still trying to learn scripting and i have created a script to set the colour of a prim using llSetColor, so nothing to complex but when I try to set the color to white with

CODE
llSetColor( <1.0, 1.0, 1.0>, ALL_SIDES );


The colour being set is a dirty gray. Can anyone tell me what i need to do to set the colour to a proper bright white using scripting.


Thanks in advance

Draw
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
12-07-2006 06:48
From: Draw Marchlewski
Hi All

I'm still trying to learn scripting and i have created a script to set the colour of a prim using llSetColor, so nothing to complex but when I try to set the color to white with

CODE
llSetColor( <1.0, 1.0, 1.0>, ALL_SIDES );


The colour being set is a dirty gray. Can anyone tell me what i need to do to set the colour to a proper bright white using scripting.


Thanks in advance

Draw

basically you are suffering from the ambient lighting conditions.
You need to turn on the full bright option in the objects properties or via the script.
Janka Werribee
Scripter Wannabe
Join date: 28 Oct 2006
Posts: 64
12-07-2006 06:53
Another possibility is that you have a texture on the object that affects the color. E.g. the default yellow-ish wood texture interferes with certain light colors and makes them look funny.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
12-07-2006 07:03
From: Janka Werribee
Another possibility is that you have a texture on the object that affects the color. E.g. the default yellow-ish wood texture interferes with certain light colors and makes them look funny.


oh yeah, hadnt thought of that!
Draw Marchlewski
Registered User
Join date: 9 Aug 2006
Posts: 2
12-07-2006 07:23
Thanks the reply's I will give your suggestions a try

Regards

Draw
Foo Spark
alias Bathsheba Dorn
Join date: 8 Nov 2006
Posts: 110
12-07-2006 13:40
From: Draw Marchlewski
Thanks the reply's I will give your suggestions a try


You shouldn't need to turn on "full bright" to get a white object. IMO only things that are supposed to look like lights should really be full bright. Prims with that option set will be unnaturally bright from any distance, and they'll appear luminous at night.

You will however need to turn off shininess: even Low shiny will makes everything look grayer.