Added a struct that decodes the VisualParameters byte[] as found in the Avatar Class, into a dictionary containing the "real" visualparam values

Description

Made an addition to the visualparam.cs file.

Added a helper object that converts the byte[] I added to the avatar object to a dictionary matching the visualparam against the float value.

I was thinking, as a note to whoever else reads this, that very very nice little program written "avatarpreviewer", you could create a section of code which would read one of these structs instead of the xml file, and maybe reconfigure the proggy to run as a callable utility ? that would be so cool. sort of a previewer for the user who maybe wanted to see what was going on around him... could also be used to adjust the values of that parameter at runtime, if the RequestAgentSetAppearance() were to read from the stored visualparameters portion of the avatar object, could make an exceedingly temporary way to change your appearance on the fly if you wanted... just a geeky thought.

I attached a patch including this object, it doesn't tie into the main omv code at all, its just an optional thing for the developer in question to use, hey maybe you can even expand on it to simplify the code in RequestAgentSetAppearance().

Steps to Reproduce

None

Activity

Show:
Lucius Sirnah
March 2, 2010, 7:21 PM

ugh hold on.. we are experiencing syntactical difficulties

Assignee

Unassigned

Reporter

Lucius Sirnah

Labels

None

Environment

.NET / Windows32

Fixed in Revision

None

Components

Priority

Minor
Configure