<div>Thanks for the information Melanie and James.<br></div><div></div><div>So you believe the better way to do this is provide a web for to directly modify the MySQL database that holds the assets information? Admittedly, I know little about MySQL and so I knew I could work with the xml files.</div>
<div></div><div>Perhaps some more information about my project is in order. I am working with a team of college students and faculty at my university to create a website that will allow building a virtual area in a virtual world. For example, a prebuilt object would exist in an avatars inventory on OpenSim. This object would be a prebuilt building, such as a museum, classroom, conferenceroom, etc. We call this object a template. The template would also have locations on the wall reserved for pictures. So the user would choose through the website that they want to use the museum template, with specific already in OpenSim images for specific image locations. Then the user would click a "build" button that rezzes the customized template.</div>
<div></div><div>To accomplish this, each template has already been built in OpenSim and then saved into its xml format (using the save xml2 command). When the user selects what template and what textures they want to use through the website interface, a program would go through the xml file and replace the default template's texture information in that file with the texture information related to what was chosen on the website. This creates a new xml file that contains all of the information necessary to rez a customized building.</div>
<div></div><div>As I already have rezzing the template in OpenSim through the website and saving the chosen pictures through the website, all I thought was needed was replacing the texture information in the template xml file with the texture information chosen from the website. That is why I was wondering where the texture information is stored in the xml file. But it sounds like you are suggesting I deal directly with the asset database instead of changing the xml file? Are all linked prims that make up an object stored neatly in the database and is the texture UUID also stored neatly in the database with the linked prims that make up the object? To me it sounds like directly modifying the database is more work than necessary but what do the rest of you think?</div>
<div class="gmail_quote"></div><div class="gmail_quote">Thanks,</div><div class="gmail_quote">Steve</div><div class="gmail_quote"></div><div class="gmail_quote">On Wed, Aug 5, 2009 at 3:01 PM, Melanie <span dir="ltr"><<a href="mailto:melanie@t-data.com">melanie@t-data.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That string is a base64 representation of the binary texture entry,<br>
which contains texture, color, offset, rotation, scale, etc.<br>
<font color="#888888"><br>
Melanie<br>
</font><div><div class="h5"><br>
Stephen Carroll wrote:<br>
> Hello,<br>
> My name is Steve and I am working on a web interface that will allow<br>
> changing textures on prims in OpenSim. I have got a web interface to process<br>
> the save xml2 and load xml2 commands thinking I could modify the xml file<br>
> itself to set the texture UUID to what is chosen on the website. I am<br>
> confident that I can write a program to modify the xml file, but I can not<br>
> see where the texture UUID is stored in the xml file. Looking through the<br>
> xml file generated on a test object after issuing the command "save xml2", I<br>
> see a line that looks like:<br>
> <TextureEntry>i1/sZY2NncXNqI/fJxbjYQAAAAAAAAAAgD8AAACAPwAAAAAAAAAAAAAAAAAAAA==</TextureEntry><br>
> It looks to me that the above line tells OpenSim what texture to apply to<br>
> the object when the object is loaded with the command "load xml2". But I do<br>
> not see a connection between this string and the UUID of the texture. The<br>
> texture's UUID is not in the xml file though. So where is the texture<br>
> information stored in the xml file? Does the <TextureEntry> line have<br>
> anything to do with identifying what texture to apply to the object? Is<br>
> there a reference manual that says what parts of the xml file are for what<br>
> in OpenSim?<br>
> Thanks,<br>
> Steve<br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div class="h5">><br>
> _______________________________________________<br>
> Opensim-dev mailing list<br>
> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br>