Board index FlightGear Development Canvas

Reflection on a surface "painted" with a canvas ...  Topic is solved

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Reflection on a surface "painted" with a canvas ...

Postby abassign » Wed Sep 19, 2018 7:51 am

I have a problem with the use of canvas in place of liveries, or how to get the effects of reflection on a surface "painted" with a canvas?

Image
abassign
 
Posts: 725
Joined: Mon Feb 27, 2012 5:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2018.3
OS: Linux Mint 19. x

Re: Reflection on a surface "painted" with a canvas ...  

Postby Thorsten » Wed Sep 19, 2018 10:26 am

For the renderer a canvas is just a texture, there's nothing peculiar about it.
Thorsten
 
Posts: 9909
Joined: Mon Nov 02, 2009 8:33 am

Re: Reflection on a surface "painted" with a canvas ...

Postby Hooray » Sun Sep 23, 2018 4:50 pm

You might want to review/update the wiki accordingly: http://wiki.flightgear.org/Howto:Dynami ... via_Canvas
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11163
Joined: Tue Mar 25, 2008 8:40 am

Re: Reflection on a surface "painted" with a canvas ...

Postby abassign » Mon Sep 24, 2018 9:13 pm

Hooray wrote in Sun Sep 23, 2018 4:50 pm:You might want to review/update the wiki accordingly: http://wiki.flightgear.org/Howto:Dynami ... via_Canvas


I will certainly write some notes on the method adopted for the G91-R1B in the replacement of liveries with canvas.
However, currently there are many problems to allow to have the method of the canvas as an excellent method to replace the traditional method based on liveries.

For example for the G91PAN (the plane of the Frecce Tricolori, the Italian acrobatic team) the coating is extremely shiny (like the US-NAVY Blue Angels), but this effect, which I normally get with a reflection effect, does not seem to work on canvas. While other effects work quite well.

My desire is to get something like this:

Image

While currently through the use of materials it is possible to achieve this result:

Image

My question is this: it is possible to obtain the effects of reflection on a canvas, if possible, how?

There are other questions, such as the use of UV-Map etc .. but I want to do things step by step.

Thanks for your collaboration.
abassign
 
Posts: 725
Joined: Mon Feb 27, 2012 5:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2018.3
OS: Linux Mint 19. x

Re: Reflection on a surface "painted" with a canvas ...

Postby Thorsten » Tue Sep 25, 2018 5:12 am

For the renderer a canvas is just a texture, there's nothing peculiar about it.


We routinely run effects (HUD, display) over canvases and they work as expected, so your issue likely is something else.
Thorsten
 
Posts: 9909
Joined: Mon Nov 02, 2009 8:33 am


Return to Canvas

Who is online

Users browsing this forum: No registered users and 4 guests