This Week in OpenSim Dev – week ending Saturday 7th February 2009

February 8, 2009
By

osgridHello everybody. This is a short summary of OpenSim development for the past week up until the end of last Saturday, as culled from our source code repository logs.  After any general news there are two sections.  The first section – “Features and bug fixes”, contains prominent new functionality and bug fixes visible to users of OpenSim.   The numbers in brackets in this section are the final svn revision numbers in which the work was completed for this week. This is right at the cutting edge so there is no guarantee that this functionality is stable.

The second section contains information about the infrastructure changes happening within the project.  This is going to be a little more impressionistic than the features/bug fixes list, but hopefully it will give a picture of how OpenSim is evolving from week to week.

This week in OpenSim ( r8196 – r8280 )

General news

  • DrScofield performed a major namespace change where
    OpenSim.Region.Environment.Scenes
      => OpenSim.Region.Framework.Scenes
    OpenSim.Region.Environment.Interfaces
      => OpenSim.Region.Framework.Interfaces
    OpenSim.Region.Interfaces
      => OpenSim.Region.Framework.Interfaces

    This change was very necessary, but might cause problems for people following SVN trunk if they are using non-core modules or still have some older code in their build (this may be on purpose or by accident).  If you are having problems with building or starting OpenSim, I would first suggest trying a clean build (“nant clean build” if you are using nant).  If this still doesn’t work, then please try creating a completely new build, migrating bin/Regions, bin/OpenSim.ini.example and any SQLite files (such as OpenSim.db for the region) as appropriate.

    Third party module writers will also need to update their code (r8267).

Features & bug fixes

  • Teravus added information about the existing trees module in OpenSim, and a setting to control whether the module is active or not (see bin/OpenSim.ini.example for more details).  The trees module allows automatic creation/growth and death of trees (r8202).
  • Robert Smart contributed a patch that allows the VectorRenderModule to create non-square dynamic textures (i.e. ones with transparency).  This patch also allows width, height and alpha values to be passed in the extraParams argument of osSetDynamicTextureData().  For example “height:512, width:2048, alpha:255″ (r8208).
  • MW fixed a bug where deleting a prim shortly after delinking it would remove it from the scene but not the database, which would make it reappear when the region server was restarted (r8238).
  • Diva fixed a race condition that was causing some failed teleports (r8239).
  • I introduced a new “default” option for the asset_database parameter in OpenSim.ini which means that the asset service used now defaults to “local” if running in standalone mode, and “grid” if running in grid mode (r8241).
  • Christopher Yeoh contributed a patch that fixes a problem that occured when an object containing a script was deleted at the same time that another object containing that script was rezzed.  This used to result in the new script not starting up (r8245).
  • jonc contributed a patch that stops an error occuring if a user tries to export a terrain in LLRAW format when that contains negative values (e.g. a z co-ordinate of less than zero).  Instead, the values are now clamped to 0 in the exported data (r8253).
  • cmickeyb contributed a patch that allows an HTTP proxy to be used for the methods in LSL that make HTTP requests.  See bin/OpenSim.ini.example for some more details (r8268).
  • dslake contributed a fix so that in grid mode OpenSim correctly sends the avatar’s last position (previously, x/y/x was accidentally sent rather than x/y/z) (r8271).
  • melanie improved the OpenSim console so that it now allows line editing, can give context sensitive help (by typing ?) and has a command line history (r8275).
  • Rob Smart pointed out that llAtan2() was accidentally swapping the x and y arguments.  sdague fixed this (r8274).
  • Diva added support for hyperlinking to a specific region on a hyperlinked instance.  For instance, if you want to hyperlink to the gateway region on the UCI hyperlink instance, you can specify
    ucigrid04.nacs.uci.edu:9007:Gateway

    to get to the Gateway region hosted by the region server at ucigrid04.nacs.uci.edu:9007.  See this opensim-users mailing list post for more details.

Infrastructure

  • mikem carried out some cleanup of the database plugin loading code.
  • I extended some linkset tests and changed the underlying code so that ‘children’ parts are properly removed from SceneObjectGroups when prims are linked.
  • mikem carried out refactoring work on the asset infrastructure in the code in order to create a separate AssetMetadata class.
  • Tommil contributed code to create an nunit test for the llAngleBetween() LSL function.  This is a good first step towards doing more automated tests of LSL functions.
  • lbsa71 performed some refactoring of the login code.

7 Responses to This Week in OpenSim Dev – week ending Saturday 7th February 2009

  1. Virtual on February 9, 2009 at 5:40 pm

    Teravus added information about the existing trees module in OpenSim, and a setting to control whether the module is active or not (see bin/OpenSim.ini.example for more details). The trees module allows automatic creation/growth and death of trees (r8202).

    Do you rez a tree with the viewer create tool and watch it grow, is it more of a tree spawn module which generates viewer integrated trees at randon? Is there some more info on the wiki regarding this?

    Keep up the good work everyone and thanks for the update Justin.

  2. justincc on February 9, 2009 at 9:03 pm

    I believe you can do both (plant trees and have them automatically spawn).

    Unfortunately, as with many things OpenSim right now the documentation ain’t too good – the only place to really find out is by reading the code.

  3. Sim core on February 14, 2009 at 1:00 am

    Hi all :-)

    Even when trees are activated, they do not seem to do anything…

    Also before version 6.2.8250, I used to be able to compile and run very well on the mac intel, now I get a message:

    APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

    Exception: System.ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index
    at System.Collections.Generic.List`1[System.Object].get_Item (Int32 index) [0x00000]
    at OpenSim.Region.Framework.Scenes.SceneManager.get_CurrentOrFirstScene () [0x00000]
    at OpenSim.OpenSimBase.GetHelpTopics () [0x00000]
    at OpenSim.OpenSimBase.StartupSpecific () [0x00000]
    at OpenSim.OpenSim.StartupSpecific () [0x00000]
    at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000]
    at OpenSim.Application.Main (System.String[] args) [0x00000]

    Application is terminating: True

  4. Open apology re: OpenLife - SLUniverse Forums on February 15, 2009 at 10:41 am

    [...] [...]

  5. [...] week DrScofield womanfully carried out part 2 of the namespace changes discussed in this section last week.  This involves changing splitting up the existing region modules in OpenSim into [...]

  6. justincc on February 15, 2009 at 9:36 pm

    @Sim. Hmm, you may need to submit a Mantis bug report if the trees aren’t doing anything for you.

    Also, there have been a lot of recent changes which have caused a lot of build and startup problems such as the one you describe. Please see the general information sections of both this post and the next weekly one for more details.

  7. Davantech » Blog Archive » test on March 4, 2009 at 9:38 am

    [...] This Week in OpenSim Dev – week ending Saturday 7th February 2009 (Sun, 08 Feb 2009 12:26:27 -0800) [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

ABOUT ME

Hi, I'm Justin Clark-Casey, an OpenSim core developer and professional software engineer.

On the Linden Lab grid I go by the name of Lulworth Beaumont. On other grids I'm just plain old Justin Clark-Casey.

I'm currently working as a freelance consultant specializing in OpenSimulator and related technologies. If you're interested in learning more then please read the Hire Me page.

I've also written a paper on distributed virtual environments, which examines how virtual worlds could become more like the web, rather than individual silos of users and content.

I often attend the OpenSim Office Hours on a Tuesday on Wright Plaza at OSgrid.org