Sigverse environment

5 views
Skip to first unread message

hayder mohammed

unread,
Oct 19, 2010, 7:29:23 AM10/19/10
to SIGVerse-users
Hi Everyone,


I try to exchange the size of tv in my environment by modify this
values in the envrionment for example

<set-attr-value name="sizex" value="30.0"/>
<set-attr-value name="sizey" value="80.0"/>
<set-attr-value name="sizez" value="30.0"/>

but there is no change happened in the size of tv but if I modify the
scale values

<attr name="scalex" type="double" group="scale" value="1.0"/>
<attr name="scaley" type="double" group="scale" value="1.0"/>
<attr name="scalez" type="double" group="scale" value="1.0"/>

in the Entity xml file the size of the tv will change and all other
entities the bear and the penguin and I do not need to change the size
of the other entities but my qeustion why the the size of tv does not
change when I modify the size values?? the attach file is the simple
environment with one tv and penguin and the entity xml file.

With best regards.

Yours sincerely,
Hayder

Tetsunari Inamura

unread,
Oct 19, 2010, 9:08:16 AM10/19/10
to sigvers...@googlegroups.com
Hi Hayder,

You should modify scale parameter in TV_on.wrl (or TV_off.wrl).

> <set-attr-value name="sizex" value="30.0"/>
> <set-attr-value name="sizey" value="80.0"/>
> <set-attr-value name="sizez" value="30.0"/>

The above parameters are used in dynamics calculation based on ODE.
Of course you should also modify the above parameter.

Since outlook in the SIGViewer is dipicted by OpenGL,
you should modify WRL files if you want to change the outlook.

Tetsunari Inamura,

hayder mohammed

unread,
Oct 23, 2010, 7:20:03 AM10/23/10
to SIGVerse-users
Hi Sensei,

I can change the size of tv with out change the size of the other
entities if I chnage the values of the scale in the seTV.xml.

> > <attr name="scalex" type="double" group="scale" value="1.0"/>
> > <attr name="scaley" type="double" group="scale" value="1.0"/>
> > <attr name="scalez" type="double" group="scale" value="1.0"/>
and this way also is good.

With best regards
Hayder.

On Oct 19, 4:08 pm, Tetsunari Inamura <inam...@nii.ac.jp> wrote:
> Hi Hayder,
>
> You should modify scale parameter in TV_on.wrl (or TV_off.wrl).
>
> > <set-attr-value name="sizex" value="30.0"/>
> > <set-attr-value name="sizey" value="80.0"/>
> > <set-attr-value name="sizez" value="30.0"/>
>
> The above parameters are used in dynamics calculation based on ODE.
> Of course you should also modify the above parameter.
>
> Since outlook in the SIGViewer is dipicted by OpenGL,
> you should modify WRL files if you want to change the outlook.
>
> Tetsunari Inamura,
>
> From: hayder mohammed <haider...@gmail.com>
> Subject: [SIGVerse-users: 10] Sigverse environment
> Date: Tue, 19 Oct 2010 04:29:23 -0700 (PDT)
>
>
>
> > Hi Everyone,
>
> > I try to exchange the size of tv in my environment by modify this
> > values in the envrionment for example
>
> > <set-attr-value name="sizex" value="30.0"/>
> >  <set-attr-value name="sizey" value="80.0"/>
> >  <set-attr-value name="sizez" value="30.0"/>
>
> > but there is no change happened in the size of tv but if I modify the
> > scale values
>
> > <attr name="scalex" type="double" group="scale" value="1.0"/>
> > <attr name="scaley" type="double" group="scale" value="1.0"/>
> > <attr name="scalez" type="double" group="scale" value="1.0"/>
>
> > in the Entity xml file the size of the tv will change and all other
> > entities the bear and the penguin and I do not need to change the size
> > of the other entities but my qeustion why the the size of tv does not
> > change when I modify the size values?? the attach file is the simple
> > environment with one tv and penguin and the entity xml file.
>
> > With best regards.
>
> > Yours sincerely,
> > Hayder- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages