[Opensim-dev] Opensim beginner

Stefan Andersson lbsa71 at hotmail.com
Fri Feb 12 08:22:29 UTC 2010


I would presume you also need to schedule the prim for a terse or a full
update.

 

/Stefan

 

From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Nilushi perera
Sent: den 12 februari 2010 07:16
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] Opensim beginner

 

Hi
I could successfully build the opensim workspace and run the helloworld
region module. Now I am looking for more programming stuff. I tried to
change the color of hello prim. But it didnt change. Here is the code:

      SceneObjectPart sop = new SceneObjectPart();
      sop.UUID = new UUID();
      sop.CreatorID = UUID.Zero;
      sop.Shape = PrimitiveBaseShape.CreateBox();
      sop.Material = (byte)Material.Metal;
      Color color1 = Color.FromArgb(255, 255, 0, 0);
      sop.Color = color1;
      sop.Scale = new Vector3(0.3f, 0.3f, 2f);
      Vector3 pos = new Vector3(120, 128, 30);
      SceneObjectGroup sog = new SceneObjectGroup(UUID.Zero, pos,
PrimitiveBaseShape.CreateBox());
      sog.SetRootPart(sop);
      prims1.Add(sog);

Please can you help me & give some suggestions. 



On Fri, Feb 12, 2010 at 1:12 AM, Robert Martin <robertltux at gmail.com> wrote:

On Thu, Feb 11, 2010 at 12:15 PM, Nilushi perera <nilushi.p84 at gmail.com>
wrote:
> Hi
>

> Thank you very much for your immediate response Michael and Robert. I'll
go
> through those links and instructions. I'll let you know my status after
> following your instructions Robert.
>
> Thank You
>

as far as how to make the stuff if you have a SecondLife account send
me a message
(robertltux mccallen) and i can give you a few pointers and you can
also google for
|| mermaid diaries secondlife || for a few tutorials



--
Robert L Martin

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100212/1acd4656/attachment-0001.html>


More information about the Opensim-dev mailing list