Jump to content

Tonka

Members
  • Posts

    195
  • Joined

  • Last visited

  • Days Won

    1

Tonka last won the day on November 18 2012

Tonka had the most liked content!

About Tonka

  • Birthday 03/17/1984

Contact Methods

  • Website URL
    http://x-planejag.blogspot.com/

Profile Information

  • Gender
    Male
  • Location
    UK

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tonka's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

37

Reputation

  1. Has anyone used the Gizmo gfx.FBO functions to render strings and primatives to a texture that is used by an object attached to an aircraft? I been trying to use gfx.newTexture to build a texture slot, with various combinations of using gfx.loadPNG, gfx.newPBO, and gfx.usePBO, but in the absence of a code example to study I haven't had much happen in the sim. (Other than making it go crazy when I wasn't releasing the FBO at the end of the function!) The object I'd like to dynamically texture is a HUD screen. Could anyone advise which drawing event would be best to use for this as well please? I need a phase that draws to a fixed surface, so OnDraw_Windows is not suitable. I have some strings and primatives being rendered to the Cockpit3D/-PANELS-/panel.png in the OnDraw_Gauges_3D() event without issue, but I'd like to dedicate a texture to a lua generated HUD screen, if possible. Any clues would be much appreciated. Cheers.
  2. Just had a quick look, and the librain plugin i downloaded from https://github.com/skiselkov/librain/releases has the following in my log.txt: 2019-03-27 20:50:22 librain[plugin.c:590]: This is librain (v0.10) libacfutils-3babedf Loaded: X:\X-Plane 11 Beta/Resources/plugins/librain.plugin/win_x64/librain.plugin.xpl (skiselkov.librain) Therefore, the plugin sig to use with plugins.findPlugin is "skiselkov.librain" you could try changing the line: if plugins.findPlugin("librain.plugin.xpl") then to if plugins.findPlugin("skiselkov.librain") then And it might be worth implementing a 2 second timer in an OnFirstFrame() function, to delay the initialising of your link to librain. Hope you get it working, you can help me implement here then! :-D
  3. No apology necessary Ben. Thanks for the continued development of Gizmo.
  4. Has the API changed in the latest version? Gizmo is loading but init.lua doesn't appear to get called from my acf folder/scripts Cheers.
  5. The AC3D plugin is long over due for an update, and while all of the new features for manipulators etc are in the code base, Laminar do not currently have the man power to devote to building releases for all 3 operating systems. It is my understanding that the code on github should build a mac plugin, but requires porting to Windows. Is anyone with the necessary skills able to take a look and see if this very useful plugin could be brought back in to development? Repo is here for anyone wanting to fork it - https://github.com/X-Plane/xptools Thanks!
  6. Define stable. Doesn't sound like its stable at the moment...
  7. It sounds like a Z Buffer thing You can specify a polygon offset in objects, and i think ground polygons to tell the GPU where to draw the ground textures in relationship to each other. See the Obj8 spec here. Can't find one for .pol atm.
  8. Check the smart data for your disks. Might be worth swapping the SATA cables too, they fail more frequently than the disks themselves. Make an image of your OS drive when you're done with the fresh install, saves a lot of time when you hit errors, or fancy a refresh to clear out all the accumulated windows junk. Try Acronis, or Macrium, both make images and bootable recovery media, i think.
  9. I'd like to create a dataref for the Magnetic Indicator showing when a pilot is breathing. I have some respiratory rate data, and as expected the breaths per minute increases with pilot stress. How can i code this? I'm thinking of something like a sin wave or triangular wave that changes frequency, but how can i specify the frequency? I have a sin wave pulsing from -1 to 1 with the elapsed time dataref, but i cant figure out how to alter the frequency reliably. How can i make a triangular wave go from 0 to 1 over exactly n seconds, and then repeat? Thanks for any tips!
  10. Cockpit work is continuing nicely, hoping to post an update to my blog in the coming weeks. I might look in to DCS, but no plans to do anything with FSX. Thanks!
  11. Oh, sorry, i didn't realise this was posted in the IXEG forum, still trying to get to grips with this funky layout! As above though, you can alter the lateral field of view within X-Plane to suit any monitor aspect ratio, so its more a case of matching your settings to your monitor, not the other way around. Hope that makes sense...
  12. Which aeroplane? You can adjust the lateral field of view to alter the 'roundness' of things in the sim.
  13. Its awesome, and it can do almost anything you can think of! Couldn't help myself! :-)
  14. Keep it in the bank and earn some interest on it for a while longer yet Sir, but we'll get there eventually!
×
×
  • Create New...