llSetPrimitiveParams bug?
|
Epiphany Absolute
Registered User
Join date: 19 Jun 2005
Posts: 19
|
09-11-2005 16:55
I'm trying to call llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, TRUE]); but LSL throws an error on PRIM_FULLBRIGHT, saying that it's not declared. This is strange, since it's shown on the wiki for all to see as being legitimate. http://secondlife.com/badgeo/wakka.php?wakka=llSetPrimitiveParamsSo the question is: If PRIM_FULLBRIGHT isn't the proper constant, what is?
|
Ushuaia Tokugawa
Nobody of Consequence
Join date: 22 Mar 2005
Posts: 268
|
09-11-2005 17:02
You can test PRIM_FULLBRIGHT in the 1.7 preview. This is a new parameter in 1.7 which is not available in 1.6.x For the same effect in 1.6 (with the nasty side effect of additional client side processing) set PRIM_MATERIAL to PRIM_MATERIAL_LIGHT.
|
Desmond Shang
Guvnah of Caledon
Join date: 14 Mar 2005
Posts: 5,250
|
09-11-2005 18:06
I have been considering the use of this parameter to assist in the removal of seams between prims.
But afraid to do so, as scripts seem to have serious impact on the speed of a sim.
So on balance, does anyone have any idea which would cause more lag in a sim: - 100 prims with a simple face brightness control script, or say, - 200 prims with no scripts at all?
I am hesitant to do the experiment because it would not be kind to my neighbours.
|
Aliasi Stonebender
Return of Catbread
Join date: 30 Jan 2005
Posts: 1,858
|
09-11-2005 18:27
From: Desmond Shang I have been considering the use of this parameter to assist in the removal of seams between prims.
But afraid to do so, as scripts seem to have serious impact on the speed of a sim.
So on balance, does anyone have any idea which would cause more lag in a sim: - 100 prims with a simple face brightness control script, or say, - 200 prims with no scripts at all?
I am hesitant to do the experiment because it would not be kind to my neighbours. It's not scripts, so much as *active* scripts. A well-designed one should be fine even so. Also, in 1.7, the script scheduler will eliminate many script-lag issues.
_____________________
Red Mary says, softly, “How a man grows aggressive when his enemy displays propriety. He thinks: I will use this good behavior to enforce my advantage over her. Is it any wonder people hold good behavior in such disregard?” Anything Surplus Home to the "Nuke the Crap Out of..." series of games and other stuff
|
Epiphany Absolute
Registered User
Join date: 19 Jun 2005
Posts: 19
|
09-11-2005 21:04
Ahh I see! I kinda wish it said it was ONLY usable on the test grid right now hehe. Thanks very much 
|
Desmond Shang
Guvnah of Caledon
Join date: 14 Mar 2005
Posts: 5,250
|
09-11-2005 21:53
From: Aliasi Stonebender It's not scripts, so much as *active* scripts. A well-designed one should be fine even so.
Also, in 1.7, the script scheduler will eliminate many script-lag issues. Ah, so I could presume that a "run once on rez" script would result in only negligible lag merely by being present, so long as I didn't 'spike' server demand by launching 100 at once? Or perhaps - a script that modified a prim and then removed itself from said prim. This is good food for thought, thank you 
|
Aliasi Stonebender
Return of Catbread
Join date: 30 Jan 2005
Posts: 1,858
|
09-12-2005 16:54
From: Desmond Shang Ah, so I could presume that a "run once on rez" script would result in only negligible lag merely by being present, so long as I didn't 'spike' server demand by launching 100 at once? Or perhaps - a script that modified a prim and then removed itself from said prim. This is good food for thought, thank you  Indeed. actually, in 1.7 there's not even a need for the script - you can can select fullbright as a texture option in the Edit box.
_____________________
Red Mary says, softly, “How a man grows aggressive when his enemy displays propriety. He thinks: I will use this good behavior to enforce my advantage over her. Is it any wonder people hold good behavior in such disregard?” Anything Surplus Home to the "Nuke the Crap Out of..." series of games and other stuff
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
09-13-2005 06:18
Yeah sorry for this confusion, i forgot to lable it as 1.7 only when i added it.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|