Board index FlightGear Development Scenery

Local properties for scenery models ?

Questions and discussion about enhancing and populating the FlightGear world.

Re: Local properties for scenery models ?

Postby TheEagle » Fri Oct 22, 2021 9:33 pm

Well, actually I wanted them to both rotate left and right and move up and down. Could this also be done ?
But, if it were implemented in the core FG, it wouldn't work with older versions which just what I don't want.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Local properties for scenery models ?

Postby wkitty42 » Sat Oct 23, 2021 11:43 am

TheEagle wrote in Fri Oct 22, 2021 9:33 pm:Well, actually I wanted them to both rotate left and right and move up and down. Could this also be done ?

i'm not sure of the POV here... when you say "rotate left and right" do you mean their headings or their pitch? or are you talking about roll?

TheEagle wrote in Fri Oct 22, 2021 9:33 pm:But, if it were implemented in the core FG, it wouldn't work with older versions which just what I don't want.

i don't know why you say that... if it is done properly, it won't affect anything that doesn't have the specific code for this feature... those old ones would just sit there like they do now... only the newer ones would react like this... there's nothing wrong with this, either... it is like the AI craft... some of them have lights and others do not... that gives someone the chance to update those without lights and modernize them...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Local properties for scenery models ?

Postby benih » Sat Oct 23, 2021 12:07 pm

Can you see boat movements from a plane?
It is this here a Special usecase?
User avatar
benih
 
Posts: 1710
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: Local properties for scenery models ?

Postby merspieler » Sat Oct 23, 2021 2:11 pm

maybe not a plane but if you fly helicopter, you can... there are some helipads in proximity to ports.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2295
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Local properties for scenery models ?

Postby TheEagle » Sat Oct 23, 2021 2:24 pm

With "left to right" I mean change the model's roll.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Local properties for scenery models ?

Postby SurferTim » Sat Oct 23, 2021 2:54 pm

I can see where this would be a good effect. I fly amphibians (Twin Otter and Grand Caravan) now and then.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Local properties for scenery models ?

Postby Fahim Dalvi » Sun Oct 24, 2021 8:42 am

Perhaps you can use https://wiki.flightgear.org/Howto:Animate_models#Expressions to combine your animation property with the position of the boat (each boat will have a unique position, and thus depending on the expression, each can have a slightly different rotation/animation params). I think you can even go a step further and just base the rotation on some already existing time property, instead of having nasal create another property for you. This way, you expression will be a combination of (maybe "sin"/"cos" expression) time + position.

Hope this helps!
User avatar
Fahim Dalvi
 
Posts: 1353
Joined: Sun Oct 14, 2007 2:08 pm
Location: Qatar
Callsign: Fahim
Version: 2020.3.11
OS: macOS

Re: Local properties for scenery models ?

Postby benih » Sun Oct 24, 2021 12:58 pm

Somewhere at the canarian islands i have seen a jetski moving around.
How was that achieved? Maybe this helps too
User avatar
benih
 
Posts: 1710
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: Local properties for scenery models ?

Postby TheEagle » Sun Oct 24, 2021 2:28 pm

@Fahim yeah, but how can I get the position of each boat inside the animation file ? I repeat - they all share the same property tree.
@benih: I will have a look - but a jetski is normally alone, so it doesn't matter that it does it movement based on the global property tree.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Local properties for scenery models ?

Postby TheEagle » Sun Oct 24, 2021 2:29 pm

@benih: I can't find a jetski in the scenery database - can you give me the coordinates ?
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Local properties for scenery models ?

Postby Fahim Dalvi » Sun Oct 24, 2021 7:56 pm

TheEagle wrote in Sun Oct 24, 2021 2:28 pm:@Fahim yeah, but how can I get the position of each boat inside the animation file ? I repeat - they all share the same property tree.


Ah yes, I just assumed there would be a local position property per object, but I guess that's not true!
User avatar
Fahim Dalvi
 
Posts: 1353
Joined: Sun Oct 14, 2007 2:08 pm
Location: Qatar
Callsign: Fahim
Version: 2020.3.11
OS: macOS

Re: Local properties for scenery models ?

Postby TheEagle » Sun Oct 24, 2021 8:15 pm

Well, if there were, all this thread wouldn't exist … :x :cry:
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Local properties for scenery models ?

Postby wkitty42 » Sun Oct 24, 2021 8:19 pm

benih wrote in Sun Oct 24, 2021 12:58 pm:Somewhere at the canarian islands i have seen a jetski moving around.

that was probably one of the small boats motoring around... especially if it had a rooster tail or wake behind it... they're just (XML IIRC) scripted routes and generally just go in (largish) circles... there are numerous of them around the southern ocean area of England along the coast...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Local properties for scenery models ?

Postby TheEagle » Sun Oct 24, 2021 8:41 pm

@wkitty yep, they are moving in circles based on /sim/time/elapsed.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3433
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Local properties for scenery models ?

Postby benih » Mon Oct 25, 2021 11:10 pm

Eagle: No idea where that was. But i remember it was a small coast airport with a gokart race circle nearby.
User avatar
benih
 
Posts: 1710
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

PreviousNext

Return to Scenery

Who is online

Users browsing this forum: No registered users and 2 guests