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.

Polygon looking to the observer??

Featured Replies

Hi guys, does anybody now how to model a polygon that always looks at the user, this would be for some nice cones on the appron and I have a very limited polygon budget in my project so far....Can it be accomplished via gmax-BLGC or is this one of the Scasm things. Thanks...

  • Commercial Member

SCASM command is RotateToAircraft and the BGLC command I can't remember now :), I'll look it up when I get home this evening...Arno


Member Netherlands 2000 Scenery Team[link:home.wanadoo.nl/arno.gerretsen]Arno's FlightSim World for scenery design hints, tips and other tricks...

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Thank You, as always, Arno, BTW where do you get so much info? Is it by your personnal experience, or do you have a hidden and secret source? :-)

  • Commercial Member

Right now it is personal experience :), but I learned most of it from reading the SCASM docs and then just trying if it does what I want it to do. For the BGLC commands I use the Scenery SDK normally (or I search through the include files).Arno


Member Netherlands 2000 Scenery Team[link:home.wanadoo.nl/arno.gerretsen]Arno's FlightSim World for scenery design hints, tips and other tricks...

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Hi Gabriel,You asked nothing new so I wont tell anything new :) Anyway, I just made a quick search through older posts:http://ftp.avsim.com/dcforum/DCForumID10/1804.htmlhttp://ftp.avsim.com/cgi-bin/dcforum/dcboa...rum=DCForumID10Hope this will help somehow. Details as usually will come from Arno or RhumbaFlappy... (and of course from somebody else is possible to!) :)Regards,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Thanks Guys, going to try that at home....

Hi Gabriel...Here's a 'RotateToAircraft' API macro I call using Apt26 to make a statue which always faces the observer (aircraft). For best display efficiency, it uses a DXT1 type bitmap. 'ShadedTexPoly(' is used here because the 3D object is a photoreal statue to be illuminated at night and allows the code to be a little more simple than havingto create a 'YourTexture_LM.bmp' for night illumination. For trees or other objects not intended to be illuminated at night, you may use the standard 'TexPoly(' opcode below, instead of 'Shaded'TexPoly. ;**********************************Area( 5 %1 %2 %3 )IfVarRange( :no_display 346 %12 4 ) PerspectiveCall( :_P0 ) Jump( : ):_P0; Perspective:R0 mif( %11 ) RefPoint( 2 :R1 %4 %1 %2 v1= %10 E= %11 %13 %14 ) melse RefPoint( 7 :R1 %4 %1 %2 v1= %10 %13 %14 ) mifend:R1 RotateToAircraft( :R2 0 0 0 0 0 1 0 0 0 ) Return :R2Points( 0 -2 0 0 ; 0 -2 8 0 ; 1 3 8 0 ; 2 3 0 0 ; 3) LoadBitmap( 0 6 e0 0 0 0 YourBitmap.bmp )ShadedTexPoly( ai 0 95 251 1 95 63 2 2 63 3 2 251 )Return:no_displayEndA'********************************************Here's a picture of the object:J.R.

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.