Re: [opensource-dev] Upcoming server side avatar baking
On Fri, 14 Dec 2012 16:40:58 -0500, Oz Linden (Scott Lawrence) wrote: > For any of you developing viewers that are not in the TPV Directory and > so didn't get the notice there > > We have now made available the code for our upcoming server side baking > changes - you will need to update to be compatible with this in order > for users to see avatars correctly once the server side change is rolled > out to the main grid (some time > 8 weeks from now, but no date has been > set yet). > > See > https://wiki.secondlife.com/wiki/Project_Sunshine-Server_Side_Appearance > for information on this new code, and watch it for updates. Alas, the said repository doesn't match any of viewer-release, viewer-beta or viewer-development code, making it impossible to get a clean diff of the actual, related, relevant changes. The diff I get against any of the three public branches of the viewer is over 2Mb big and contains changes to the UI, the path finding tools, the renderer (llrender and pipeline), the vfs, and many more cruft that seems (but it's hard to be 100% sure for everything without carefully studying the code) totally unrelated with the server side baking changes. Could you please provide a repository which is the copy of the one that was used to implement server side baking changes but that would be clean of those changes (this way, we could create a clean diff containing only the relevant changes, which would help immensely and prevent long trial and error sessions figuring out what is needed or not) ? I also deeply regret that you took the hard-coded approach (making the baking code rely on a hard-coded inventory tree) and used the COF directory to pick up the texture IDs to use in the bake (this should have been provided as a list by the viewer, so that the inventory structure is only dependent on the UI of the said viewer and on how the users wish to arrange their own inventory). One of the flaws of your approach is that your baking system can't detect when a change is done to a wearable that is being worn (you admit it yourself in the Wiki page, indicating yet another capability will be needed to signal such a case)... A poor implementation choice, IMHO. Regards, Henri. ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Upcoming server side avatar baking
Henri I was able to merge and build and verify kokua on aditi; the top 2 commits are post merge tweaks. I don't know if that can help diff wise but, feel free to use. The last upstream merge to kokua was viewer-release, last Monday's merge. Nicky https://bitbucket.org/NickyP/kokua-sunshine-external/overview > > From: Henri Beauchamp >To: Oz Linden (Scott Lawrence) >Cc: opensource-dev >Sent: Monday, December 17, 2012 2:43 AM >Subject: Re: [opensource-dev] Upcoming server side avatar baking > >On Fri, 14 Dec 2012 16:40:58 -0500, Oz Linden (Scott Lawrence) wrote: > >> For any of you developing viewers that are not in the TPV Directory and >> so didn't get the notice there >> >> We have now made available the code for our upcoming server side baking >> changes - you will need to update to be compatible with this in order >> for users to see avatars correctly once the server side change is rolled >> out to the main grid (some time > 8 weeks from now, but no date has been >> set yet). >> >> See >> https://wiki.secondlife.com/wiki/Project_Sunshine-Server_Side_Appearance >> for information on this new code, and watch it for updates. > >Alas, the said repository doesn't match any of viewer-release, viewer-beta >or viewer-development code, making it impossible to get a clean diff of >the actual, related, relevant changes. > >The diff I get against any of the three public branches of the viewer is >over 2Mb big and contains changes to the UI, the path finding tools, the >renderer (llrender and pipeline), the vfs, and many more cruft that seems >(but it's hard to be 100% sure for everything without carefully studying >the code) totally unrelated with the server side baking changes. > >Could you please provide a repository which is the copy of the one that >was used to implement server side baking changes but that would be clean >of those changes (this way, we could create a clean diff containing only >the relevant changes, which would help immensely and prevent long trial >and error sessions figuring out what is needed or not) ? > >I also deeply regret that you took the hard-coded approach (making the >baking code rely on a hard-coded inventory tree) and used the COF >directory to pick up the texture IDs to use in the bake (this should >have been provided as a list by the viewer, so that the inventory >structure is only dependent on the UI of the said viewer and on how >the users wish to arrange their own inventory). One of the flaws of >your approach is that your baking system can't detect when a change >is done to a wearable that is being worn (you admit it yourself in >the Wiki page, indicating yet another capability will be needed to >signal such a case)... A poor implementation choice, IMHO. > >Regards, > >Henri. >___ >Policies and (un)subscribe information available here: >http://wiki.secondlife.com/wiki/OpenSource-Dev >Please read the policies before posting to keep unmoderated posting privileges > > >___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Upcoming server side avatar baking
On Mon, 17 Dec 2012 05:35:06 -0800 (PST), Nicky Perian wrote: > Henri > I was able to merge and build and verify kokua on aditi; the top 2 commits > are post merge tweaks. I don't know if that can help diff wise but, feel free > to use. > The last upstream merge to kokua was viewer-release, last Monday's merge. > Nicky > https://bitbucket.org/NickyP/kokua-sunshine-external/overview I'm afraid it doesn't help. What I need to avoid wasting my little free time in this period of the year, is a clean diff with only the *relevant*, *minimal* changes in it. The fact you could merge the sunshine branch with another v3-based viewer doesn't help (you simply merged stuff that is still not validated/adopted/committed to the viewer-development and viewer-beta banches together the (soon) mandatory server side baking code). Regards, Henri. ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Upcoming server side avatar baking
I fail to see how anyone's time (LL devs included) is more or less valuable during the upcoming holidays. You can work this through to diff using hg by: clone the sunshine repo. find the point of first sunshine commit. update to it give it a sunshine bookmark or branch. doesn't matter which update to tip and do a dummy commit (may not be needed) clone viewer-development pull the sunshine branch into v-d do not update or merge the branch hg graft the beginning to end sunshine branch change sets resolve the merges as you go once done the sunshine branch will be re-based to the front of v-d change the phase of all the cs, if not allready, to draft import all to mq un-apply all but first fold all the un-applied to the first export a patch/diff. this is more or less the procedure i have used to cherry pick. > > From: Henri Beauchamp >To: opensource-dev@lists.secondlife.com >Sent: Monday, December 17, 2012 9:54 AM >Subject: Re: [opensource-dev] Upcoming server side avatar baking > >On Mon, 17 Dec 2012 05:35:06 -0800 (PST), Nicky Perian wrote: > >> Henri >> I was able to merge and build and verify kokua on aditi; the top 2 commits >> are post merge tweaks. I don't know if that can help diff wise but, feel >> free to use. >> The last upstream merge to kokua was viewer-release, last Monday's merge. >> Nicky >> https://bitbucket.org/NickyP/kokua-sunshine-external/overview > >I'm afraid it doesn't help. What I need to avoid wasting my little >free time in this period of the year, is a clean diff with only the >*relevant*, *minimal* changes in it. > >The fact you could merge the sunshine branch with another v3-based >viewer doesn't help (you simply merged stuff that is still not >validated/adopted/committed to the viewer-development and viewer-beta >banches together the (soon) mandatory server side baking code). > >Regards, > >Henri. >___ >Policies and (un)subscribe information available here: >http://wiki.secondlife.com/wiki/OpenSource-Dev >Please read the policies before posting to keep unmoderated posting privileges > > >___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Upcoming server side avatar baking
On Mon, 17 Dec 2012 09:18:04 -0800 (PST), Nicky Perian wrote: > I fail to see how anyone's time (LL devs included) is more or less valuable > during the upcoming holidays. > > You can work this through to diff using hg by: > > clone the sunshine repo. > find the point of first sunshine commit. > update to it > give it a sunshine bookmark or branch. doesn't matter which > update to tip and do a dummy commit (may not be needed) > clone viewer-development > pull the sunshine branch into v-d do not update or merge the branch > hg graft the beginning to end sunshine branch change sets > resolve the merges as you go > once done the sunshine branch will be re-based to the front of v-d > change the phase of all the cs, if not allready, to draft > import all to mq > un-apply all but first > fold all the un-applied to the first > export a patch/diff. > > this is more or less the procedure i have used to cherry pick. Excepted that: 1.- the initial sunchine repo (from which the server baking branch was forked: sunshine-internal ?) is not public; 2.- the first changes happened months ago and now that sunshine-external was merged with viewer-develompent, it becomes impossible to distinguish what commit was applied to what branch (repos are a mess ! I always hated them !); 3.- I don't have the time to browse some 850+ pages of commits to see when and which commit is relevant to the new code or not (it would be simpler and faster for me to clean up by hand the diff between viewer-develompent and sunshine-external) ! It would be MUCH simpler for LL to just clone the original repo (*they* know when the repo was branched and what was the first commit to it), merge the viewer-development commits into it (the same commits they merged in the sunshine-external repo) and make the clone public. I would then just download the sources for that clone and diff it with sunshine-external: done ! All changes at hand in a single diff, and all relevant to the actual task at hand. Henri. ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Upcoming server side avatar baking
On 2012-12-17 03:43 , Henri Beauchamp wrote: > On Fri, 14 Dec 2012 16:40:58 -0500, Oz Linden (Scott Lawrence) wrote: > >> For any of you developing viewers that are not in the TPV Directory and >> so didn't get the notice there >> >> We have now made available the code for our upcoming server side baking >> changes - you will need to update to be compatible with this in order >> for users to see avatars correctly once the server side change is rolled >> out to the main grid (some time > 8 weeks from now, but no date has been >> set yet). >> >> See >> https://wiki.secondlife.com/wiki/Project_Sunshine-Server_Side_Appearance >> for information on this new code, and watch it for updates. > Alas, the said repository doesn't match any of viewer-release, viewer-beta > or viewer-development code, making it impossible to get a clean diff of > the actual, related, relevant changes. > > The diff I get against any of the three public branches of the viewer is > over 2Mb big and contains changes to the UI, the path finding tools, the > renderer (llrender and pipeline), the vfs, and many more cruft that seems > (but it's hard to be 100% sure for everything without carefully studying > the code) totally unrelated with the server side baking changes. > > Could you please provide a repository which is the copy of the one that > was used to implement server side baking changes but that would be clean > of those changes (this way, we could create a clean diff containing only > the relevant changes, which would help immensely and prevent long trial > and error sessions figuring out what is needed or not) ? No, we can't, sorry. That project has been in development for some months. They have done very significant refactoring in order to better organize the code around avatar appearance, and have merged out from viewer-development a number of times. The entire history is in the repository you can see, which is ultimately derived from an earlier version of viewer-development (you're just as capable of finding that fork point as anyone else is). Yes, there are lots and lots of changes here. > I also deeply regret that you took the hard-coded approach (making the > baking code rely on a hard-coded inventory tree) and used the COF > directory to pick up the texture IDs to use in the bake (this should > have been provided as a list by the viewer, so that the inventory > structure is only dependent on the UI of the said viewer and on how > the users wish to arrange their own inventory). One of the flaws of > your approach is that your baking system can't detect when a change > is done to a wearable that is being worn (you admit it yourself in > the Wiki page, indicating yet another capability will be needed to > signal such a case)... A poor implementation choice, IMHO. I'm sure that there were any number of fundamental design decisions that could have been made differently, but our purpose here is not to either revisit those debates or to explain why we made the choices we did. The fundamental design decisions have been made, and we're going to proceed with the design we've got. If you have questions about how the code works, and especially the new messages exchanged regarding avatar appearance, ask them here and we'll do what we can to help. ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Upcoming server side avatar baking
On Mon, Dec 17, 2012 at 10:18 PM, Oz Linden (Scott Lawrence) wrote: > I'm sure that there were any number of fundamental design decisions that > could have been made differently, but our purpose here is not to either > revisit those debates or to explain why we made the choices we did. The > fundamental design decisions have been made, and we're going to proceed > with the design we've got. People who don't fancy themselves to be the infallible gods of system design often find it beneficial to hear the feedback, especially in opensource projects. It might even lead to (gasp) more reliable system and better customer satisfaction. Whenever I relapse into using my time to help improve Linden Lab's products by doing testing, filing bug reports and repro cases, Oz Linden's attitude quickly convinces me that it's not worth it. (This email started as my feedback about some timing issue with network messages that could potentially cause bake fails, but then I saw all-knowing Oz dismiss any need for it) ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges