• Home

Month: July 2021

OpenGL ES 2 – Tutorial 7 – Blending Colors

10 July 2021 Android – OpenGL ES 2 :: 2D [ENG] 0

In the following screenshot, the two squares have a common area and their colors are mixed. In our case, the RGBA components of the green square are multiplied by 1 and added to the RGBA components of the red square multiplied by 1.

OpenGL ES 2 – Tutorial 7 – Miscelazione Colori

10 July 2021 Android – OpenGL ES 2 :: 2D [ITA] 0

Nel seguente screenshot i due quadrati hanno un area in comune e i loro colori si sono miscelati. Nel nostro caso, le componenti RGBA del quadrato verde vengono moltiplicate per 1 e sommate alle componenti RGBA del quadrato rosso moltiplicate per 1.

OpenGL ES 2 – Tutorial 6 – Apply Texture

3 July 2021 Android – OpenGL ES 2 :: 2D [ENG] 0

In the “onSurfaceCreated()” method is enabled the use of textures and the textures are loaded with the “LoadTexture()” method. With “DrawTexture()” we draw the square specifying which texture to use through an index that coincides with the loading order.

OpenGL ES 2 – Tutorial 6 – Applicare Texture

3 July 2021 Android – OpenGL ES 2 :: 2D [ITA] 0

Nel metodo “onSurfaceCreated()” viene abilitato l’uso delle texture e vengono caricate le texture con il metodo “LoadTexture()”. Con “DrawTexture()” disegniamo il quadrato specificando quale texture utilizzare tramite un indice che coincide con l’ordine di caricamento.

Categories

  • Android – OpenGL ES 1 :: 2D [ENG]
  • Android – OpenGL ES 1 :: 2D [ITA]
  • Android – OpenGL ES 2 :: 2D [ENG]
  • Android – OpenGL ES 2 :: 2D [ITA]
  • Electronics [ENG]
  • Electronics [ITA]

Copyright © 2023 | WordPress Theme by MH Themes