This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > August 2004 > RotationPoint in VRML





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RotationPoint in VRML
Dirk Bromberg

2004-08-21, 4:34 am

Hi,

my knowledge about vrml is low, so i've a short question.

I've some vrml files (each file is an object like a chair...)

When i load a file in some vrml viewer and i will rotate the object, it
rotates not around the middel of the object -> it rotates around a corner.

Is there a way to set and extra rotation point in the vrml file?
Because i can't set this at the viewer...

Thanks

Dirk
O.L.

2004-08-21, 4:34 am

Dirk Bromberg <bromberg@tzi.de> wrote in
news:cg491a$2cf$1@kohl.informatik.uni-bremen.de :

> Hi,
>
> my knowledge about vrml is low, so i've a short question.
>
> I've some vrml files (each file is an object like a chair...)
>
> When i load a file in some vrml viewer and i will rotate the object,
> it rotates not around the middel of the object -> it rotates around a
> corner.
>
> Is there a way to set and extra rotation point in the vrml file?
> Because i can't set this at the viewer...
>
> Thanks
>
> Dirk
>


Hello,

In Cortona, you can set the rotation center for the EXAMINE mode using
the avatarSize field of the NavigationInfo node, like this :

NavigationInfo {
avatarSize [0.25, 1.6, 0.75, centerX, centerY, centerZ]
}

But I'm not sure that it works with other browsers than Cortona ...

Bye
O.L.
O.L.

2004-08-23, 4:15 am

Dirk Bromberg <bromberg@tzi.de> wrote in
news:cg491a$2cf$1@kohl.informatik.uni-bremen.de :

> Hi,
>
> my knowledge about vrml is low, so i've a short question.
>
> I've some vrml files (each file is an object like a chair...)
>
> When i load a file in some vrml viewer and i will rotate the object,
> it rotates not around the middel of the object -> it rotates around a
> corner.
>
> Is there a way to set and extra rotation point in the vrml file?
> Because i can't set this at the viewer...
>
> Thanks
>
> Dirk
>


Hello,

In Cortona, you can set the rotation center for the EXAMINE mode using
the avatarSize field of the NavigationInfo node, like this :

NavigationInfo {
avatarSize [0.25, 1.6, 0.75, centerX, centerY, centerZ]
}

But I'm not sure that it works with other browsers than Cortona ...

Bye
O.L.
O.L.

2004-08-26, 12:28 pm

Dirk Bromberg <bromberg@tzi.de> wrote in
news:cg491a$2cf$1@kohl.informatik.uni-bremen.de :

> Hi,
>
> my knowledge about vrml is low, so i've a short question.
>
> I've some vrml files (each file is an object like a chair...)
>
> When i load a file in some vrml viewer and i will rotate the object,
> it rotates not around the middel of the object -> it rotates around a
> corner.
>
> Is there a way to set and extra rotation point in the vrml file?
> Because i can't set this at the viewer...
>
> Thanks
>
> Dirk
>


Hello,

In Cortona, you can set the rotation center for the EXAMINE mode using
the avatarSize field of the NavigationInfo node, like this :

NavigationInfo {
avatarSize [0.25, 1.6, 0.75, centerX, centerY, centerZ]
}

But I'm not sure that it works with other browsers than Cortona ...

Bye
O.L.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews