Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 7th, 2008, 03:55 PM
Tyler Eaves
Guest
 
Posts: n/a
Default Coordinate space manipulation

Hi, wondering if anyone can help me with this. I'm trying to do some
math for a reasonably simple bit of 3d math.

Given the following.

A 3d vector pointing in an arbitrary direction, call it 'forward',
that defines the target Z-axis, and a rotation around that vector,
'roll', which defines the target Y axis.

These define the 'target' coordinate system.

Given those two things, I need to be able to take a point relative to
the origin in normal cooridantes (e.g. <0,0,1is 'forward', the
vector defined by roll points at <0,1,0>, although unit-length isn't a
given here), and translate that into the target coordinate system.

Any suggestions on how to do this?
  #2  
Old July 7th, 2008, 04:35 PM
Victor Bazarov
Guest
 
Posts: n/a
Default Re: Coordinate space manipulation

Tyler Eaves wrote:
Quote:
Hi, wondering if anyone can help me with this. I'm trying to do some
math for a reasonably simple bit of 3d math.
>
Given the following.
>
A 3d vector pointing in an arbitrary direction, call it 'forward',
that defines the target Z-axis, and a rotation around that vector,
'roll', which defines the target Y axis.
>
These define the 'target' coordinate system.
>
Given those two things, I need to be able to take a point relative to
the origin in normal cooridantes (e.g. <0,0,1is 'forward', the
vector defined by roll points at <0,1,0>, although unit-length isn't a
given here), and translate that into the target coordinate system.
>
Any suggestions on how to do this?
Uh... Do you have a C++ *language* question? Have you tried a newsgroup
in the 'sci.math' hierarchy first?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles