COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### azimuth, elevation and roll

• Email
• Follow

```Hello,
I am using the following code for the rotations mentioned

glTranslate(centerX, centerY, centerZ)
glRotate(azimuth, 0, 1, 0);
glRotate(elevation, 1, 0 ,0 );
glRotatet(roll, 0, 0, 1);
glTranslate(-centerX, -centerY, -centerZ)

where centerX, centerY, centerZ are the coordinates of the center of the object.

is it really this simply or am I missing something. Thanks for your thoughts.

JTNA
```
 0

See related articles to this posting

0 Replies
724 Views

Similar Articles

12/6/2013 10:27:45 PM
page loaded in 151896 ms. (0)

Similar Artilces:

ANYONE
hi, can anyone please help me with this...i really don't know what to do I have a neural net with 3 inputs and 1 output Net needs to recognize about 1700 different training input vectors (i have those vectors and their targets) Is it possible to make that network,or is it too large, and how should i choose type of network and training paramenters in matlab (how many neurons in hidden layer,...). What's the maximum number of neurons reallizable in practical applications. any help is appreciated "jello biafra" <jellobiafra@net.hr> wrote: "I have a

A= [ 1 2 3 4 5 6 ] I need to rearrange my matrix like this : A= [ 1 0 2 0 3 0 4 0 5 0 6 0] roya olyazadeh wrote: > A= [ 1 2 3 4 5 6 ] > I need to rearrange my matrix like this : A= [ 1 0 2 0 3 0 4 0 5 0 6 0] >> B=zeros(1,2*length(A)); >> B(1:2:length(B))=A(:) B = 1 0 2 0 3 0 4 0 5 0 6 0 >> --

Degree elevation of a Spline curve
Hi! I'm trying to degree elevate a Spline defined by: knot = [0, 0, 0, 1, 1, 1]; P = [0, 0.50, 1; 0, 1, 0]; sp = spmak(knot, P, [2, 3]); I tried using the line I found in the documentation: fncmb(sp,'+',ppmak(fnbrk(sp, 'interv'), zeros(1,4))); that, if I understood correctly, should elevate sp to order 4. The problem is that I'm getting this error: ??? Error using ==> fncmb at 349 The two functions must have the same target. Any idea why? Thanks!

This is how we Roll
Hi-- I've decide to go ahead and announce Roll(s) today. Even though the code still needs fine-tuning and the docs aren't completely up to date, I've been using it productively for the last few weeks. So I figure it's probably a good time being the end of RubyConf --it will give the lucky attendees something interesting to come home to. Note, the project is called "Roll", but that doesn't always sound right in a sentence, so I call it 'Rolls' too, whenever that fits better. Okay. So what is it? Roll is a library manager. What it does is provide an OOP interface to Ruby libs/apps. So you can do things like this: facets = library('facets') facets.version #=> "2.0.4" facets.require 'functor' You can also specify versions: facets = library('facets', "= 2.0.3") facets.version #=> "2.0.3" facets.require 'functor' Of course, in common use, you probably would just do: require 'facets:functor' And for backward/non-roll compatibility (though lookup is less efficient): require 'facets/functor' That's really the main of the code side of Roll

Pitch Yaw Roll
Hi, I've been trying to work out a Euler to Quaternion function. I've noticed that there are two conventions for Pitch Yaw Roll for a right handed (opengl) coordinate system. The first one has these assignments: Roll = x-axis Yaw = y-axis Pitch = z-axis You can find this on the gamasutra quaternion article, quaternion power article on gamedev, and http://www.euclideanspace.com/ . The latter states NASA also uses the X axis to represent the roll (except they call roll=bank=x yaw=heading=y pitch=attitude=z. Take note that if we use a plane as an example, the direction it flies would be down the x axis. The Second convention has these assignments Roll = z-axis Yaw = y-axis Pitch = z-axis The plane would be flying towards the z-axis and the x-axis positive would be on the left side. I've seen this convention used in game programming gems 1, the vrml guide at netscape, matrix quaternion faq and opengl programming guide. *** One tiny benefit with the first one: When you rotate in a positive direction on the pitch=z-axis, the plane aims upwards. More intuitive than convention 2. 1) Which convention do you prefer? 2) When you create a model in 3ds

LOTRO: roster/roll call for csipgr
Hey all, just thought I'd kick this off early during the open beta. I may even set up a page for regos, but I'm sadly crap with web deving, so may just link to a simple x-ref spreadsheet with character/csipgr names which I can maintain if ppl email me or let me know here. Ok, I'll kick off with my main: Belraen - elven huntress on Elendilmir. Likely to be on weeknights GMT+10, any time on w/es. Next... -- Well, as I hear it the RPG was only a genre because of the limitations of technology at the time. RPGs were really trying to be FPSs all along. "RPG - The Accidental Ge

from a 3d plot to VRML elevation grid
I'm need to simulate sea waves in VRML. I have the exact 3d plot of the sea generated with a "marine toolbox" for matlab. How can i convert this plot (.fig file) into a vrml file (.wrl)? - than i will be able to open with v-realm builder and animate it (like real ocean waves) - i found a site talking about a "VRML plot" toolbox but the .m files from "download" page were deleted. thanks Fabrizio Hi Fabrizio, Fabrizio Avantaggiato napsal(a): > I'm need to simulate sea waves in VRML. I have the exact 3d > plot of the sea generated with a "marine

how to calculate latitude and longitude from range and direction(azimuth and elevation)
Hello. All, I am looking for s/w or sub-routing to calculated latitude and longitude from slant range, elevation and azimuth angle with earth curvature. Would you let me know the tips or where this sub-routine can be found? Thanks!! On 11/8/10 8:24 PM, bjkuk wrote: > Hello. All, > I am looking for s/w or sub-routing to calculated latitude and > longitude from slant range, elevation and azimuth angle with earth > curvature. > Would you let me know the tips or where this sub-routine can be found? > Thanks!! Hi, A long time ago I adapted code shared by Liam Gumley and Paul Ricchiazzi for a similar purpose. This was done in the days before the MAP_PROJ_* routines were released in IDL, so you might do well to investigate those first. But if you are in a hurry you could start with these ... http://dl.dropbox.com/u/8433654/geo.zip Cheers, Ben On 11=BF=F99=C0=CF, =BF=C0=C8=C410=BD=C342=BA=D0, Ben Tupper <ben.bigh...@g= mail.com> wrote: > On 11/8/10 8:24 PM, bjkuk wrote: > > > Hello. All, > > I am looking for s/w or sub-routing to calculated latitude and > > longitude from slant range, elevation

[News] Fedora Live CD is Ready to Roll
Announcing the Fedora 6 Zod live CD and live CD tools ,----[ Quote ] | ...I'm pleased to announce the first official Fedora | live CD. This live CD is based on packages from the Fedora Core 6 | (codenamed "Zod") and Fedora Extras package collections and is such 100% | free software. `---- http://www.redhat.com/archives/fedora-announce-list/2006-December/msg00006.html Related: Fedora Live CD ,----[ Quote ] | The Zod live cd is supposed to fulfill all the goals above.. | except for installation from CD to hard disk. `---- http://fedoraproject.org/wiki/FedoraLiveCD Roy Sches

Determining yaw, pitch and roll from an image
I&#8217;m trying to determine the yaw, pitch and roll of an object in an image to the camera (reference). The object will be a rectangle (we will know the size), with LEDs positioned in each corner. I&#8217;m able to determine the (x,y,z) value of each LED (point on the rectangle), but I&#8217;m not sure how to get the yaw, pitch and roll values relative to the camera. Any suggestions&#8230;.. Thanks! "Mark Edleblute" <mue103@gmail.com> wrote in message <i8fijg\$l64\$1@fred.mathworks.com>... > I&#8217;m trying to determine the yaw, pitch and roll of an object in an image to the camera (reference). The object will be a rectangle (we will know the size), with LEDs positioned in each corner. I&#8217;m able to determine the (x,y,z) value of each LED (point on the rectangle), but I&#8217;m not sure how to get the yaw, pitch and roll values relative to the camera. > > Any suggestions&#8230;.. > > Thanks! Basic trigonometry?