Comments on: TextureDraw /code-sample/texturedraw/ Developer resources for the X-Plane flight simulator Tue, 22 Feb 2022 12:59:19 +0000 hourly 1 https://wordpress.org/?v=6.8.3 By: Fredz /code-sample/texturedraw/#comment-40983 Tue, 22 Feb 2022 12:59:19 +0000 http://developer.x-plane.com/?post_type=code-sample&p=8067#comment-40983 I’m developing a Xplane11 plugin with display a texture (based on your sample code TextureDraw), it’s work well…only on main screen.
The question is: in multi view, how to draw texture on other screen which not the main screen?

]]>
By: alpha2 /code-sample/texturedraw/#comment-40634 Fri, 01 Oct 2021 11:56:14 +0000 http://developer.x-plane.com/?post_type=code-sample&p=8067#comment-40634 In reply to Oleg.

It works now! Thanks for the hint. Saved me some debugging on X-Plane 11.

]]>
By: Oleg /code-sample/texturedraw/#comment-36864 Sat, 09 May 2020 19:56:32 +0000 http://developer.x-plane.com/?post_type=code-sample&p=8067#comment-36864 I couldnt get any result untill I replaced the phase to xplm_Phase_FirstCockpit.. (11.36r2)

]]>
By: Tyler Young /code-sample/texturedraw/#comment-28362 Mon, 16 Apr 2018 16:07:30 +0000 http://developer.x-plane.com/?post_type=code-sample&p=8067#comment-28362 In reply to JDeeth.

Fixed! Thanks for the heads up.

]]>
By: JDeeth /code-sample/texturedraw/#comment-27973 Wed, 11 Apr 2018 18:50:59 +0000 http://developer.x-plane.com/?post_type=code-sample&p=8067#comment-27973 The `#include`s have lost their filenames… but I’ve got this snippet working here: https://gist.github.com/JDeeth/b315f03161a58fa4ea833b45c57e927f

Just add the files to an existing plugin, call `OpenGLSnippet::start()` and `OpenGLSnippet::stop()` from XPluginStart and XPluginStop.

]]>