Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!e23g2000vbe.googlegroups.com!not-for-mail
From: Alexander <alexander.erlich@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Virtual Reality Toolbox: rotation using matrix?
Date: Sun, 3 May 2009 01:54:05 -0700 (PDT)
Organization: http://groups.google.com
Lines: 64
Message-ID: <d498c6c6-6197-48f2-8608-f1f4b09ae451@e23g2000vbe.googlegroups.com>
References: <1d7fcf89-1d1a-448a-bd80-ccf27bff630f@x1g2000prh.googlegroups.com> 
	<gtfmui$n21$1@fred.mathworks.com> <0fa708e1-22b9-474a-9ccb-1a0338bdf8ff@g20g2000vba.googlegroups.com>
NNTP-Posting-Host: 84.137.219.103
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1241340845 25162 127.0.0.1 (3 May 2009 08:54:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 3 May 2009 08:54:05 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e23g2000vbe.googlegroups.com; posting-host=84.137.219.103; 
	posting-account=H4StzgoAAAB6i5sBDFPlaOTd7qBlZoph
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) 
	Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10,gzip(gfe),gzip(gfe)
Bytes: 3445
Xref: news.mathworks.com comp.soft-sys.matlab:536996


I really don't want to insist, but could it be that one of my
toolboxes is not complete as I have a student version?

How can this be dealt with mathematically? Can vrrotmat2vec be easily
written by oneself?

On May 2, 5:08 pm, Alexander <alexander.erl...@gmail.com> wrote:
> Thank you Arkadiy,
>
> but my Matlab help does not know the command "vrrotmat2vec", although
> I could easily find it on the Mathworks online help. Maybe I should
> have said what kind of version I have. I am using
>
> Matlab (R2007a), student version
>
> Could it be that Virtual Reality Toolbox, my Simulink or something
> else does not come as a full version in the student edition?
>
> Alexander
>
> On May 1, 10:44 pm, "Arkadiy Turevskiy"
>
> <arkadiy.turevs...@mathworks.com> wrote:
> > For conversion from rotation matrix to axes/angle, use the function "VR=
ROTMAT2VEC".
>
> > For node attributes: create a node, then use fields(node):
>
> > car = vrnode(world, 'Automobile')
> > %% Viewing Fields of Nodes
> > % VRML fields of a given node can be queried using the FIELDS command.
> > % You will see that there are fields named 'translation' and 'rotation'
> > % in the node list. You can move the car around by changing the values =
of
> > % these fields.
> > fields(car)
>
> > see vrcar.m for a detailed demo.
>
> > Hope this helps.
>
> > Arkadiy Turevskiy
> > The MathWorks
>
> > AlexanderErlich<alexander.erl...@gmail.com> wrote in message <1d7fcf89-=
1d1a-448a-bd80-ccf27bff6...@x1g2000prh.googlegroups.com>...
> > > Hello,
>
> > > I'm very new to Virtual Reality Toolbox, and one of the many question=
s
> > > I have is this. The demos, like the car in the mountains demo, show
> > > that you can do rotations this way:
>
> > > car.rotation = [0, 1, 0, -0.7];
>
> > > Yet I would prefer to use my own own matrix for rotation, which I hav=
e
> > > put together using Euler's angles. How can I apply it?
>
> > > Also, where can I search for attributes or properties of the nodes?
> > > vrnode didn't yield any of this information.
>
> > >Alexander