![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2012
Posts: 2
![]() |
Hello,
I am trying to create a warped rectangle similar to the RubberSheetImage example, using ImageUtil.warpImageWithControlPoints. I have four control points (the geographic location of the corners of my raster), and I am currently adding them to the RasterControlPointList in the order (lower left, lower right, upper right, upper left). I noticed that some of my SurfaceImages look rotated the wrong way (and/or flipped, I can't really tell yet). If I change the order I add control points, they are rotated differently (some correct, some not). It seems odd that it should matter since when a ControlPoint is created, you are giving it the raster (x,y) at the same time as the world (x,y), so why would it put the raster (x,y) at the wrong world (x,y)? Is it using a different raster coordinate system than the upper left being (0,0)? And is there a particular order that control points need to be added to the list? Thanks for the help, Hannah |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SphereAirspace center point | nigel25840 | Development Help | 3 | 03-29-2010 08:22 PM |
| Placing a single MeasureTool-style control point? | QA_2 | Development Help | 6 | 12-18-2009 02:17 PM |
| [Solved] AirspaceBuilder assistance | agreen53 | Development Help | 10 | 06-10-2009 03:06 PM |
| Ez ?: If I call UserFacingIcon.setPosition should my screen update? | wherisat | Development Help | 17 | 12-01-2008 08:57 PM |
| TextureTile cache initialisation | pjt33 | Development Help | 3 | 11-18-2008 10:38 PM |