Howto talk:Use a Camera View in an Instrument: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (moved [[Talk:Howto: Use a Camera View in an Instrument]] to [[Talk:Howto:Use a Camera View in an Instrument]]: Robot: Moved page)
m (Switch to the {{forum url}} template for all forum links.)
 
Line 1: Line 1:
== Forum topic about the same subject ==
== Forum topic about the same subject ==


* Omega, did you see http://flightgear.org/forums/viewtopic.php?f=6&t=13798?<BR>Cheers [[User:Gijs|Gijs]] 10:04, 22 February 2012 (EST)
* Omega, did you see {{forum url|t=13798}}?<BR>Cheers [[User:Gijs|Gijs]] 10:04, 22 February 2012 (EST)
: Yep, that's where this whole instrument idea came up actually.
: Yep, that's where this whole instrument idea came up actually.
: ~[[User:Omega1174]]
: ~[[User:Omega1174]]


* Abassign, http://www.flightgear.org/forums/viewtopic.php?f=14&t=15797<br>--[[User:Abassign|Abassign]] 18:09, 20 March 2012 (EDT)
* Abassign, {{forum url|t=15797}}<br>--[[User:Abassign|Abassign]] 18:09, 20 March 2012 (EDT)


== What is the file name stuff all about? ==
== What is the file name stuff all about? ==

Latest revision as of 07:43, 11 June 2019

Forum topic about the same subject

Yep, that's where this whole instrument idea came up actually.
~User:Omega1174

What is the file name stuff all about?

Normally, you'd just render the camera view to a dynamically created texture, then use a visitor to replace the OSG texture with the dynamically created one. The od_gauge instrument would then get instantiated by referencing the new instrument type (such "camera-view") in the XML code. The od_gauge would handle setting up the texture stuff, the update() method would need to update the camera view (based on the view configuration specified in the property tree) and update the texture.--Hooray 10:21, 22 February 2012 (EST)

od_gauge

I sent you a message, but I also added a short section about how to use od_gauge in this system. Hope this helps, just ask if you need more info!

Zan 12:35, 22 February 2012 (EST)

Q&A

  • There are already implemented ​​versions of Camera View?
    --Abassign 18:05, 20 March 2012 (EDT)