Coordinate system in illustrator

Hi. I'm trying to build a shape in Illustrator CS6, OSX 10.7.5, using a script with setEntirePath. I begin with:
var aPoints = new Array ([20, 50], [60, 30]);
pShape = app.activeDocument.pathItems.add();
pShape.setEntirePath(aPoints);
I expected a diagonal line on my artboard but it is actually drawn outside it. From this I gathered that the y axis is considered inverted in javascript and so I have to change the code to var aPoints = new Array ([20, -50], [60, -30]); to get the intended result.
To me this is not intuitive at all. Is there a reason this happens? And is there a way to change it so I can write the y coordinates the way they actually appear on Illustrator, with (0,0) at the top left and positive values to the right and down?
Thank you.

Thank you very much. If I understand correctly, your solution gives me the option to change back to the CS4 and previous coordinate system, based on the 1st quadrant, as opposed to the 4th quadrant used in CS5 and 6.
I'm still a bit puzzled as to why writing a positive value for the y axis in javascript will turn out a negative value in Illustrator and vice-versa, but I guess it must have something to do with javascript being tied to the 1st quadrant coordinate settings, or maybe to improve compatibility with the previous CS versions.

Similar Messages

  • Public/Private  Coordinate System

    Most functions in the SDK use the public system of page coordinates, but some use the internal artboard coordinates.
    Is there a list of list of functions using private system?
    Thx.
    thomas

    this would it be easier for me if it was clearly defined in each header files!
    for instance, transform matrix of pattern art is exprimed in private coordinate system, whereas the path' points, containing this pattern, will be exprimed in public system. but not its bouding box.
    In my plugin, pattern color could be export as an imagebrush. Pattern art is rasterized. this imagebrush has a reference on this raster image. I am trying to set a viewport on my imagebrush , and use a transformation matrix to place this image correctly in the path, but i've always got an offset Tx, Ty).
    I'am pretty sure illustrator used viewport for managing this internal stuff, but we can't retrieveit via sdk. :(
    Adding the private/public coordinate sytem, it's tricky! :)

  • Reverse the coordinate system for scripting

    In the office, we're setting up a workflow using the illustrator coordinate system and coordinates from a database to generate graphics by means of (Java)scripting. On the other hand, we will be processing lots of pdf's, based on the same database-driven coordinates.
    Now, with Illustrator (CS5.1) using a coordinate system with (0,0) on the top-left and pdf's having its zero at the bottom-left, things are getting unnessesarily complex. Is this Adobe's intention or just ill development?
    Already numerous people complained about this coordinate-shift to the 4th quadrant... Why doesn't Adobe respond in a clear and uniform voice? What's up ahead with pdf coordinate system? Anymore surprises coming up?
    see...
    http://forums.adobe.com/message/3859580#3859580?tstart=30%233859580
    http://forums.adobe.com/thread/890507?tstart=30 (solves the negative Y in the visual page / Not in scripting)
    Please Adobe, read these yearsold comments once more and learn from the real world:
    http://forums.adobe.com/thread/637015?tstart=1
    Best regards,
    Bart

    this is a user to user forum, so don't expect any kind of answer from Adobe, the change was intentional and it won't be changed back (it seems). In order to get your objects where you want them, you'll have to do the math yourself...one more thing that might help you get what you need...if your script create new documents, the origin is at bottom left, if your script works on existing documents, the origin is at top left.

  • I have tried many times to download creative cloud desktop app such as AI, LR, PS, ID and so on.  the following message appears You are running an operating system that Illustrator no longer supports. Refer to the system requirements for a full list of su

    I have tried many times to download creative cloud desktop app such as AI, LR, PS, ID and so on.  the following message appears You are running an operating system that Illustrator no longer supports. Refer to the system requirements for a full list of supported platforms. The only one I have succeeded to download are DW and MU.
    Please could you help out

    Hello,
    please have a look at the different sys-requirements for example:
    AI: http://helpx.adobe.com/illustrator/system-requirements.html
    PS: http://helpx.adobe.com/photoshop/system-requirements.html
    (LR 1-5: http://helpx.adobe.com/de/lightroom/system-requirements.html)
    You will find the same explanations for your other programs.
    Hans-Günter

  • Problem with transforming coordinate systems

    Hiho,
    i've got a problem with transforming coordinate systems.
    When I'm trying to transform a sdo_geometry object to another coordinate sytem and then back to the old system, the coordinates are not the same.
    Here's an example:
    StartSystem SRID is 8220 (Longitude / Latitude (DHDN))
    TargetSystem SRID is 8307 (Longitude / Latitude (WGS84))
    Original object:
    Polygon: {ExteriorRing: LineString: { (0.0, -90.0) (1.5, 0.0) (0.0, 90.0) (4.5, 0.0) (0.0, -90.0)} }
    Transformed object:
    Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (85.94366926962347, 0.0) (0.0, 5156.620156177403) (257.8310078088704, 0.0) (0.0, -5156.620156177403)} }
    Transformed back to old system:
    Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (4924.209525017614, 0.0) (0.0, 5156.620156177403) (14772.628575052844, 0.0) (0.0, -5156.620156177403)} }
    Any ideas what to do?
    Thanks for the help in advance.
    Dirk

    Hi Dirk
    Since the transform you are trying to do is just a datum conversion of lat./long. coordinates, even the first transform yields obvious rubbish. What you have provided here does not illustrate how you submitted your polygon to CS_TRANSFORM.
    Provide the syntax of your construction of the corresponding SDO_GEOMETRY object and your SQL select statement that gave these results.
    Bruce

  • MapViewer and AUTO:42004 coordinate system

    How can I use Oracle MapViewer against an external WMS server using the coordinate system AUTO:42004?
    I have tried it, but the min/max longitude values in the BBOX parameter become wrong.
    - Ingebrigt -

    Ingebrigt
    The AUTO keyword is not supported in the current release.
    From the MV doc Sec D.2.1.14 SRS Parameter
    "The namespace AUTO, for projections that have an arbitrary center of projection, is not supported. "
    Jayant

  • How can I get the coordinate in the layer coordinate system while doing the iterate?

    I found that the position(x,y) the iterate function tell me is not right sometimes.
    Actually,it happens when the top of the layer is negative. The "y"is in the comp coordinate system(maybe?) but not the layer.In another word, the position with y=0 is not the top.
    More specifically, I have got the color map of a layer. I am able to get the color of any pixel in the layer. But I can't set the color one for one when I use "iterate",because there is an offset.
    Am I supposed to get the offset? Is there any way to access the whole layer directly if I use iterate function?

    so indeed it's the offset at play.
    AE will diminish the buffer at 20% increments, and not for each pixel that
    goes out of sight. it's not really in relation to the upper left corner,
    it's all about what part of your layer buffer is out of sight.
    there's also an "iterate offset function". check it out. perhaps it will
    save you some trouble.
    On Fri, Dec 19, 2014 at 2:45 PM, Hinanawi Tenshi <[email protected]>

  • Select data with SDO_RELATE in lat long coordinate system(8307) in 10gR2

    Hi all,
    I have problem with selecting data from table.
    Data are in lat lon coordinate system 8307.
    These requests don't return any data:
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)) ) = 'TRUE';
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_RELATE(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)), 'MASK=ANYINTERACT' ) = 'TRUE'
    Optimized polygon does return all data correctly:
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,3),sdo_ordinate_array (-180,-90,180,90)) ) = 'TRUE'
    Smaller polygon select data correctly too.
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array (52,-7, 54,-7 , 54,-5 , 52,-5, 52,-7)) ) = 'TRUE'
    I have tried changed polygon to be clockwise, counter clockwise, make the area a bit smaller( 160 instead of 180, 89 instead of 90) nothing has helped.
    My explanation than was, that Earth is sphere and each defined polygon defines TWO polygons in the sphere and there is convention that the smaller is chosen to select data. It would make sense along the previous results, but than I found one post which says that this is bug http://www.frontoracle.com/oracle-database/703/180703-size-of-are-of-interest-smaller-equals.html
    I have found in other thread that max only 1/2 of Earth could be selected Different results using SDO_RELATE with polygon and rectangle type but it seems not true, because optimized bounding box works fine!
    What is right? Is there anything in official documentation?
    Is it bug.
    Max 1/2 of Earth could be selected in one request.
    Each polygon defines two areas in the Earth and the smaller one is used to do spatial SDO_RELATE operation?
    Thanks!
    Regards,
    Zdenek

    Zdenek,
    A bug, or limititation, whichever you choose. IMHO if you ask for something, and don't get what you expect, it is a bug that could be fixed.
    But for 10g anywho, the following applies, which is why I choose 120 degree breaks for my code as it is less than 180...
    The following size limits apply with geodetic data:
    ■ No polygon element can have an area larger than one-half the surface of the Earth.
    ■ In a line, the distance between two adjacent coordinates cannot be greater than or
    equal to one-half the perimeter (a great circle) of the Earth.
    If you need to work with larger elements, first break these elements into multiple
    smaller elements and work with them. For example, you cannot create a geometry
    representing the entire ocean surface of the Earth; however, you can create multiple
    geometries, each representing part of the overall ocean surface. To work with a line
    string that is greater than or equal to one-half the perimeter of the Earth, you can add
    one or more intermediate points on the line so that all adjacent coordinates are less
    than one-half the perimeter of the Earth.
    Bryan

  • What function to set coordinate system in 6i with API?

    #define D2FP_COORD_SYS 72
    here's the define that relates to what i want to do.
    what are the names of the functions that set/get the coordinate system. (i want to set it to character and change the default units)
    thanks,
    [email protected]

    The Other missing Header file :-) - d2fcrd.h - In fact this is shipped in the Forms API lauchpad on the Forms section on OTN. But here it is anyway:
    /* Copyright (c) Oracle Corporation 1996.  All Rights Reserved. */
       NAME
        D2FCRD.H -- Dev2K Forms API CooRDinate system declarations
       DESCRIPTION
        Contains the public declarations for the Forms API CooRDinate system
       PUBLIC FUNCTIONS
        d2fcrdcr_Create          - Cover for d2fobcr_Create
        d2fcrdde_Destroy         - Cover for d2fobde_Destroy
        d2fcrddu_Duplicate       - Cover for d2fobdu_Duplicate
        d2fcrdex_Extract         -
        d2fcrdap_Apply           -
        d2fcrdg?_Get*Prop        - Cover for d2fobg?_Get*Prop
        d2fcrds?_Set*Prop        - Cover for d2fobs?_Set*Prop
        d2fcrdhp_HasProp         - Cover for d2fobhp_HasProp
        d2fobcs_CharSize
        d2fobss_StringSize
    #ifndef D2FCRD
    #define D2FCRD
    #ifndef ORATYPES
    # include <oratypes.h>
    #endif
    #ifndef D2FPRIV
    # include <d2fpriv.h>
    # endif
    /* C++ Support */
    #ifdef __cplusplus
    extern "C"
    #endif
    ** Object: Coordinate Info
    ORA_RETTYPE(d2fstatus) d2fcrdcr_Create( d2fctx *pd2fctx, d2fcrd **ppd2fcrd );
    ORA_RETTYPE(d2fstatus) d2fcrdde_Destroy( d2fctx *pd2fctx, d2fcrd *pd2fcrd );
    ORA_RETTYPE(d2fstatus) d2fcrddu_Duplicate( d2fctx *pd2fctx,
                                               d2fcrd *pd2fcrd_src,
                                               d2fcrd **ppd2fcrd_dst );
    ORA_RETTYPE(d2fstatus) d2fcrdex_Extract( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                             d2ffmd *pd2ffmd );
    ORA_RETTYPE(d2fstatus) d2fcrdap_Apply( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                           d2ffmd *pd2ffmd );
    ORA_RETTYPE(d2fstatus) d2fcrdgb_GetBoolProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, boolean *pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgn_GetNumProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, number *pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgt_GetTextProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, text **pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgo_GetObjProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid **pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgp_GetBlobProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid **pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdsb_SetBoolProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, boolean prp );
    ORA_RETTYPE(d2fstatus) d2fcrdsn_SetNumProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, number prp );
    ORA_RETTYPE(d2fstatus) d2fcrdst_SetTextProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, text *prp );
    ORA_RETTYPE(d2fstatus) d2fcrdso_SetObjProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid *prp );
    ORA_RETTYPE(d2fstatus) d2fcrdsp_SetBlobProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid *prp );
    ORA_RETTYPE(d2fstatus) d2fcrdhp_HasProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                             ub2 pnum );
    ** These will eventually move to d2fob.h
    ORA_RETTYPE(d2fstatus) d2fobss_StringSize( d2fctx *pd2fctx,
                                               text *str,
                                               d2ffnt *pd2ffnt,
                                               d2fcrd *pd2fcrd,
                                               number *width,
                                               number *height );
    ORA_RETTYPE(d2fstatus) d2fobcs_CharSize( d2fctx *pd2fctx,
                                             number width,
                                             number height,
                                             d2ffnt *pd2ffnt,
                                             d2fcrd *pd2fcrd,
                                             number *char_width,
                                             number *char_height );
    /* Begin convenience macros  */
    #define d2fcrdg_char_cell_hgt(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_CHAR_CELL_HGT,val)
    #define d2fcrdg_char_cell_wid(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_CHAR_CELL_WID,val)
    #define d2fcrdg_coord_sys(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_COORD_SYS,val)
    #define d2fcrdg_dflt_fnt_scaling(ctx,obj,val) \
               d2fcrdgb_GetBoolProp(ctx,obj,D2FP_DFLT_FNT_SCALING,val)
    #define d2fcrdg_real_unit(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_REAL_UNIT,val)
    #define d2fcrds_char_cell_hgt(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_CHAR_CELL_HGT,val)
    #define d2fcrds_char_cell_wid(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_CHAR_CELL_WID,val)
    #define d2fcrds_coord_sys(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_COORD_SYS,val)
    #define d2fcrds_dflt_fnt_scaling(ctx,obj,val) \
               d2fcrdsb_SetBoolProp(ctx,obj,D2FP_DFLT_FNT_SCALING,val)
    #define d2fcrds_real_unit(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_REAL_UNIT,val)
    /* End convenience macros  */
    /* C++ Support */
    #ifdef __cplusplus
    #endif
    #endif /* D2FCRD */

  • 3D Coordinate System

    Hello everyone,
    I am new to Java 3D and was trying to create a simple 3D Coordinate system that has an x, y, and z axis. Can anyone help me or point me in the right direction regarding this issue? Appreciate the help.
    Moe.

    http://www.cs.brown.edu/exploratories/freeSoftware/catalogs/repositoryComponents.html
    has some coordinate systems available
    alain

  • Need ruling on screen coordinate system to use with AWTVideoSizeControl...

    Hi -
    I’m working on a tru2way application and a nagging question keeps popping up with stack vendors on the usage of the AWTVideoSizeControl interface. I was hoping you could provide a definitive answer (note that Bill Foote is the author of the interface spec).
    In short…my reading of the javadocs for AWTVideoSizeControl is that all values passed to and received from it are to be expressed in the graphics plane coordinate system. Stack vendors don’t always agree.
    Periodically, I run into a stack vendor who expects AWTVideoSize (as passed to AWTVideoSizeControl.setSize) to be expressed in video plane coordinates – I’ve so far been able to convince these folks that the spec requires graphics coordinates. I’ve just run into an interesting situation, though, where although the vendor agrees that AWTVideoSize should be in graphics coordinates, they’re feeling that the Dimension returned from AWTVideoSizeControl.getSourceVideoSize() should be based on the video plane coordinate system. Their thinking is that while ‘x’ and ‘y’ are coordinates (and therefore are called out as needing to be expressed relative to the graphics screen), ‘height’ and ‘width’ aren’t.
    Perhaps I’m wrong, but that seems incorrect. I would expect the Dimension height and width to be relative to the graphics screen as well.
    I’d appreciate it greatly if you could provide a ruling on this that I could take back to them (and others).
    Thanks.

    You would have to check with the manufacture of your system to see if they have an app available in the Apple App store to access their system. Since you do not indicate the system name or other information, you would need to also search the app store based on the answer the manufacturer provides for you. No one here would be able to guess at what you have.

  • Coordinate System of template form

    Hi there,
    we are currently using Headstart 3.4.2 that was adjusted to our clients requirements. One of the requirements was not to work with a real MDI look and feel, that means every Forms-Module is sized to fit exactly into the MDI Window and then maximized. The surrounding MDI window is sized to a 800x600 screen resolution and centered on the screen.
    To achieve this the consultant changed the coordinate system to pixel and therefore a number of program units in the PLLs had to be changed.
    For us this change had a lot of drawbacks especially, because a lot of the delivered Headstart modules make some sizing stuff based on the inch coordinate system.
    On the other hand a pixel based coordinate system seems much more natural to SW developers and therefore I am not sure how to nadle this task after migration to a newer Headstart version.
    Any opinions or experiences out there?
    Thanks in advance
    --Thomas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    @MLBrown,
    I disagree. Although the "Oracle Developer: Advanced Forms and Reports" book by Peter Koletzke and Paul Dorsey was written at the time of Forms 6 and was written primarily to the Client Server topology, this book does cover the topic "Design for the Web" (Chapter 13) which is still valid today. Additionally, there are other topics that are still relevant with web deployed forms, such as Reducing Network Traffic, Message Diff'ing and Optimize the Class File Loading just to name a few.
    Yes, this is an old book, but with the lack of any better books available - it is still a good place to start to get a basic understanding of how to design an Oracle Form for the web; not to mention it is still a good reference for using some of the more advanced features of Oracle Forms like "Basing a Block on a Procedure" or a "From Clause Query", just to name a few. These Forms features haven't changed much since they were introduced.
    @jbleg,
    With respects to the "Template System" referred to in the book. This was not a commercially available product, but a reference to a set of templates that Peter created. The point was to enforce the need to create standards and partially enforce them through the use of Templates. The use of Templates in you design/development process is still a very valid approach and I suggest you review Chapters 10-12 again.
    Craig... B-)

  • Coordinate system for StackPane

    Hi,
    I have a task to implement a selection tool - click the mouse to draw connected poligon. But I can not find a connection between the coordinate system and screen pixels. When I try to draw a line as Line.setStartX (xx), Line.setEndX (yy), the line is always drawn from the center. If I try to set the offset of the node as setTranslateX(mm), line is drawn with the center from the current point.. Is any workable example how to add line from start point to the end point to the stackpane?
    Thank you!

    I found solution.
    BTW when I try to check doubleclick instead of using Ctrl (i.e. if (me.getClickCount()>1) this is not detect double click when line already painting. It calculates only as single-click.
        public void start(Stage stage) throws Exception {
            final StackPane root = new StackPane();
            Scene scene = new Scene(root, 600, 600);
            stage.setScene(scene);
            stage.setTitle("Selection tool");
            final double centerX = root.getWidth() / 2;
            final double centerY = root.getHeight() / 2;
            root.setOnMouseMoved(new EventHandler<MouseEvent>() {
                @Override
                public void handle(MouseEvent me) {
                    if (isDraw && line!=null) {
                        line.setEndX(me.getX()+centerX);
                        line.setEndY(me.getY()+centerY);
                        double midX = (startX+me.getX())/2;
                        double midY = (startY+me.getY())/2;
                        line.setTranslateX(midX-centerX);
                        line.setTranslateY(midY-centerY);
            root.setOnMouseClicked(new EventHandler<MouseEvent>() {
                @Override
                public void handle(MouseEvent me) {
                    if (me.isControlDown())
                        if (!isDraw) {
                            isDraw = true;
                        else
                            isDraw = false;
                    if (isDraw) {
                        startX = me.getX();
                        startY = me.getY();
                        line = new Line();
                        line.setStroke(Color.LIGHTBLUE);
                        line.setStartX(startX+centerX);
                        line.setStartY(startY+centerY);
                        root.getChildren().add(line);
            stage.show();
        }Edited by: 918392 on 27.03.2012 7:02

  • Coordinate system

    I am having trouble getting my local-world-view-screen matrix setup right.
    First, coordinate system is:
    +x to the right
    +y down
    +z into the screen
    right? this is what I get from Vector3D class.
    But now that I am thinking of it DirectX and OpenGL have different coordinate systems so how does Molehill work that out?  Do I need to know what API I am runnging to transform to screen space?

    Yes things are starting to look better now. Thanks you both.  I incorrectly assumed the coordinates system was as described in the Vector3D class docs.
    I have a cube with each side a different color and now it appears oriented as expected.
    Now I am appending a view-screen matrix built using lookAtRH().  I create an eye position Vector3D that rotates around the Up/Y axis, looking at (0,0,0) and there is nothing on screen.  I looked at my DirectX engine lookAtRH() equivalent function and notice that in the Molehill implementation there is:
    _w,x = _x.dotProduct(eye);
    _w,y = _y.dotProduct(eye);
    _w,z = _z.dotProduct(eye);
    _w,w = 1.0;
    but in the directX version it is expressed as the negative of the dot products, i.e.:
    _w,x = -_x.dotProduct(eye);
    _w,y = -_y.dotProduct(eye);
    _w,z = -_z.dotProduct(eye);
    _w,x  = 1.0;
    so I tried this and the cube appears on screen!!, however the camera is not rotating around the Y axis it is rotating around the cube off-axis.
    Have you used the lookAtRH() method and had good results, or are you using your own math?
    Does the matrix from lookAtRH() get appended to the stack or do I invert this matrix and append it?
    I am not an expert at the math, but have been able to work this out on PS2, PSP, OpenGL, DirectX, WPF, and now it is Molehill. I know that the PerspectiveMatrix3D.as is in progress because I have gotten it from several sources/example programs and I see for instance that the OrthoRH() method has a typo/bug in it that was fixed in the teapot example.
    Any help is appreciated!!

  • Coordinate system translation from screen coordinates to stage coordinates

    I realize this is not truly a LabVIEW question, but I'm hoping for suggestions.
    I have a digitized image of a sample on a 3 axis stage. The user selects "paths" for a drill to take along the surface of the sample. On the image, 3 reference points are identified. The stage posititions (x, y, and z) corresponding to these points are then identified.
    I need to now convert the coordinates of the paths to the stage coordinate system. Are there any LabVIEW vi's that are suited to this need? I have IMAQ vi's but not very experience with these yet. Suggestions much appreciated
    Tim

    Hello Shan:
    Were almost have the same problem but mine is for a AOI handler with a robot arm which I need to pick (x,y) pairs along the work envelope. Anyway, for the most math part it will involve are coordinate transformation from a "mouse coordinates" to "real world coordinates" and your image processing textbook (I use McGrawHill Computer Graphics by Hill) will outline both the code and the math but LabVIEW will not have a facility to do with an actual VI instead you have to use the array manipulations and treat them coordinates as matrix elements. There is a Math VI and G-Math VI or a MatLAB call you can use for coordinate matrix manipulations as long as you have the math quite figured out in paper already.
    Bernardino Jerez Buenaobra
    Senior Test and Systems Development Engineer
    Test and Systems Development Group
    Integrated Microelectronics Inc.- Philippines
    Telephone:+632772-4941-43
    Fax/Data: +632772-4944
    URL: http://www.imiphil.com/our_location.html
    email: [email protected]

Maybe you are looking for

  • Delay when starting accdb without local Admin rights.

    Hi, I have a problem with one application, the front end of the application is MS Access DB that's connects to our SQL Server over odbc driver If the user is in a local administrator group everything is working fast. When the same user is put in the

  • Why can I no longer click on a conversation and st...

    Not so "instant" messaging.... I used to be able to click on a conversation from my taskbar and immediately start typing an IM.  Since updating, I cannot tell you how many times i have clicked on a conversation and started typing only to realize i ha

  • Truncated record in OPEN DATASET ENCODING NON-UNICODE

    Hi, I have to read a Unicode created file into a non-unicode SAP System, version 4.7. When I make the OPEN DATASET using ENCODING UTF-8 y get a CONVT_CODEPAGE dump. That´s odd cause my system is non-unicode. I don´t wanna use IGNORING CONVERSION ERRO

  • Doubt About Soap Adapter

    Hi Experts, I have one doubt Here iam Implementing SOAP To RFC Scsnario Using EP(WebDynpro). Here Should I Generate WSDL File in Integration Directory of XI. Or Can we generate In WebDynpro Appln. Please let me know Regards Khanna

  • MP3 - Album Art

    I edited an mp3 with audacity, adjusted the volume and saved it back to my itunes lib. The album art is still in itunes, but in finder, it now just shows a quicktime generic mp3 icon. In finder almost all my music has it cover art displayed in finder