Hi Bruno,

Bruno Morabito wrote:
> Dear all,
>     I would to know how I can use the functions in TextureBackgorund 
> class to handle
> the distortion of a video set in the background.
> Specifically, the meaning of the parameters passed to the following 
> functions:
>    - setRadialDistortion
>    - setCenterOfDistortion
>  
>  
> Can you send me some examples of use of the functions and the formula 
> used internally in your code , please ?

There is an example in the source tree and you can also look at the code 
(Source/System/Window/OSGTextureBackground.cpp:TextureBackground::updateGrid).

It's fairly straightforward, you can just play with them to see what 
they do.

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to