Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CellGrid / Remesh

Featured Replies

Hi,The area I am attempting to model is going to require a substantial amount of coast remeshing, so to make the task slightly easier I wrote a small program.To use it I take a screen shot of an area with cellgrid and load this into the program. I can then draw up to 16 polys, with up to 16 points each and then the program generates the code that I paste into my autoasm document.The problem is the corner of the area does not seem to match the cellgrid coordinates. Am I trying to be too accurate, or is there another reason.The following code produces the result in the pics.Thanks, David;PolyPoints for cell: 381_111 AREA: 21_28 ;---* Polly1 *--- LWMDataAreaDrawPolygons 1, 2, 1, 21, 28 LWMPoly2 12,0,1,0,0 LWMPoint 71,0 LWMPoint 92,36 LWMPoint 91,48 LWMPoint 81,58 LWMPoint 78,66 LWMPoint 66,75 LWMPoint 27,90 LWMPoint 17,89 LWMPoint 0,93 LWMPoint 0,255 LWMPoint 255,255 LWMPoint 255,0 ;---* Polly2 *--- LWMDataAreaDrawPolygons 1, 2, 1, 21, 28 LWMPoly2 13,0,1,75,0 LWMPoint 71,0 LWMPoint 92,36 LWMPoint 91,48 LWMPoint 81,58 LWMPoint 78,66 LWMPoint 66,75 LWMPoint 26,90 LWMPoint 17,89 LWMPoint 0,93 LWMPoint 0,65 LWMPoint 42,53 LWMPoint 49,26 LWMPoint 40,0 ;---* Polly3 *--- LWMDataAreaDrawPolygons 1, 2, 1, 21, 28 LWMPoly2 5,0,1,85,0 LWMPoint 40,0 LWMPoint 49,26 LWMPoint 42,53 LWMPoint 0,65 LWMPoint 0,0

  • Author

Hi Davidg58.Your tool looks great! Here's a link to a post I made that had no response. :(http://ftp.avsim.com/dcforum/DCForumID10/1182.htmlThe remesh Macro code was a first attempt to come up with some sort of logical remeshing.Note that the 'FS2002.cfg' line:TERRAIN_MAX_VERTEX_LEVEL=19...is the default. When changes to :TERRAIN_MAX_VERTEX_LEVEL=21Your edge may change... if not, then we'll have found a edge surrounding the flatten. Also, try to place thin, 2 point flattens right at the surrounding edge of the adjacent Areas. That might force the mesh down. ( I don't know if the data stream order would matter here.Please let us know what you find.Dick

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.