219
edits
No edit summary |
(Added second video.) |
||
Line 8: | Line 8: | ||
'''Post-hackathon write-up''' | '''Post-hackathon write-up''' | ||
''Summary'' | |||
We | We came across some tricky issues, but made lots of progress and ended up with a couple of working demos. | ||
The code changes we made are very hacky and will need a fair amount of cleaning up before we think of pushing to next. All the work we did is on branch topics/cvcanvas of the main flightgear, simgear and fgdata repositories. | |||
''Demo videos'' | |||
* [http://op59.net/cvcanvas-777-tailcam.webm cvcanvas-777-tailcam.webm] Canvas View used for cockpit display of tail camera on a 777. | |||
* [http://op59.net/cvcanvas-demo.ogv cvcanvas-demo.ogv] Canvas View on the panel of a Harrier-GR3 showing a view from the camera pod under the aircraft, plus a flying billboard and some extra view windows. | |||
* | ''Things we learnt or talked about'' | ||
* We ran into some minor problems making an object in the aircraft model serve as a placement for a Canvas View: | |||
** The object surface should uses a material with '''emis 1 1 1''', otherwise it seems to only shows up when lit up by sunlight. This can be confusing if one is testing while one's aircraft is facing into the sun. | ** The object surface should uses a material with '''emis 1 1 1''', otherwise it seems to only shows up when lit up by sunlight. This can be confusing if one is testing while one's aircraft is facing into the sun. | ||
** When the surface(s) of the object reference vertices, they need to specify differing texture coordinates (not just '''0 0''' for each vertice reference), otherwise nothing shows up. | ** When the surface(s) of the object reference vertices, they need to specify differing texture coordinates (not just '''0 0''' for each vertice reference), otherwise nothing shows up. |
edits