Board index FlightGear Development Effects and shaders

Keeping the grass effect under the chopper?

An exciting "new" option in FlightGear, that includes reflections, lightmaps, the particle system etc.. A lot is yet to be discovered/implemented!

Re: Keeping the grass effect under the chopper?

Postby StuartC » Tue Jul 31, 2018 3:07 pm

I don't have anything else, just a rotorwash.nas ( contents as previously posted ) file called from the set file.
StuartC
 
Posts: 2739
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit

Re: Keeping the grass effect under the chopper?

Postby Thorsten » Tue Jul 31, 2018 6:25 pm

Then your problem is that the code runs once when called and never again, because it isn't structured as a loop. Aka it always assumes the rotor is at init RPM, i.e. 0.

Edit: A perhaps useful hint:

The Alouette-III effect manager is written as a self-contained class, so by and large it ought to work if just copied over. Then, from the working example, the un-needed parts can be gradually removed.

It's much easier to start with something working and check each step whether it breaks anything than with something not working and make it work.
Thorsten
 
Posts: 11191
Joined: Mon Nov 02, 2009 8:33 am

Previous

Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 1 guest