Difference between revisions of "User:Rufus Darkfold/PrimControl HUD"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 28: Line 28:
The names and values used by the LSL API (and this HUD) differ in some cases from what appears in the viewer edit window.  "Taper" for cubes and cylinders is "Top size" here, and the range of values is different.
The names and values used by the LSL API (and this HUD) differ in some cases from what appears in the viewer edit window.  "Taper" for cubes and cylinders is "Top size" here, and the range of values is different.
"Dimple" for spheres is "Advanced Cut" here,  "Hole Size" is "Top Size".  Revolutions is in number of,  rather than degrees.  
"Dimple" for spheres is "Advanced Cut" here,  "Hole Size" is "Top Size".  Revolutions is in number of,  rather than degrees.  
"Get prim params" is not yet implemented on this screen, and could not be completely implemented in any case. 


== Flexi ==
== Flexi ==
Line 36: Line 38:


== Particles ==
== Particles ==
[[File:prim-particles1.jpg]] Retrieves or sets particle system parameters for selected prim(s).
[[File:prim-particles1.jpg]] Sets particle system parameters for selected prim(s).  "Get prim params" is not active on this screen, as there is no way in LSL to retrieve the current values.


Click "MORE" for second screen.
Click "MORE" for second screen.
Line 43: Line 45:


== Omega ==
== Omega ==
[[File:prim-omega.jpg]] Sets the target omega parameters for the selected prims.
[[File:prim-omega.jpg]] Retrieves or sets the target omega parameters for the selected prims.


== Color ==
== Color ==
[[File:prim=color.jpg]] Sets the color and alpha of all sides of the selected prims.
[[File:prim=color.jpg]] Retrieves or sets the color and alpha of all sides of the selected prims.

Revision as of 21:49, 11 September 2011

The primcontrol HUD is for editing prims. It communicates with the primset script, which should be installed in the target of the root prim. Flexi, light, color, and target omega parameters can be queried or set for the entire linkset or any subset. Particle system parameters may be set for any prim(s) as well. There is full support for prim torture.

The top bar starts with a "Home" button that returns to this screen and resets PrimControl. The globe button activates the Charttracker mapping HUD script if present. Get Prim Params is not active on this screen.

Primcontrol.jpg Each of the blue buttons brings up a page to control that category of prim parameters. The bottom bar contains (from left to right):

  • Reset dialogger (clears all dialogs from screen).
  • Maintenance Menu (allows the number of child prims to be changed. You will need to be somewhere you have rez and script permissions, and you will have to drop the HUD. It will reattach when it is finished)
  • Transparency control (allows the HUD to be made more or less transparent).
  • Minimize (take less space on screen and make almost transparent. Click on it to restore)
  • Resize vertically only (drag).
  • Resize proportionally (drag).

To move the HUD, click on somewhere that doesn't have a dialog control on it (the dark part) and drag it.

Prim Torture

Prim-torture.jpg This is a gui interface to the prim torture library

Changes are made immediately, as in the other screens, unless "DEFER" is set (lit green), in which case commands are accumulated into a single list which is sent when "DEFER" is turned off. This allows chained prim torture. If "LEGACY" is on (green), then the legacy PRIM_TYPE is used (function code 1), otherwise the HUD uses current PRIM_TYPE (function code 9). Both can be in the same chain.

The names and values used by the LSL API (and this HUD) differ in some cases from what appears in the viewer edit window. "Taper" for cubes and cylinders is "Top size" here, and the range of values is different. "Dimple" for spheres is "Advanced Cut" here, "Hole Size" is "Top Size". Revolutions is in number of, rather than degrees.

"Get prim params" is not yet implemented on this screen, and could not be completely implemented in any case.

Flexi

Prim-flexi.jpg Retrieves or sets the Flexi parameters for the selected prim(s).

Light

Prim-light.jpg Retrieves or sets the Light parameters for the selected prim(s).

Particles

Prim-particles1.jpg Sets particle system parameters for selected prim(s). "Get prim params" is not active on this screen, as there is no way in LSL to retrieve the current values.

Click "MORE" for second screen.

Prim-particles2.jpg Drop a texture on the "TEXTURE" button to select a new texture for particles. A mouse click on that button clears the current texture.

Omega

Prim-omega.jpg Retrieves or sets the target omega parameters for the selected prims.

Color

Prim=color.jpg Retrieves or sets the color and alpha of all sides of the selected prims.