{Ssearch} wergerîne Portekizî

{Endresult} ji 50 wergerên peyva "webgl treats alpha" ji Îngilîzî bo Portekizî têne nîşandan

Wergerên {lêgerîn}

"webgl treats alpha" di Îngilîzî de dikare bi van Portekizî peyv/hevokên jêrîn were wergerandin:

webgl webgl
alpha alfa

Wergera Îngilîzî bo Portekizî ya {lêgerîn}

Îngilîzî
Portekizî

EN I've noticed some OpenGL developers having issues with how WebGL treats alpha in the backbuffer (ie, the canvas), so I thought it might be good to go over some of the differences between WebGL and OpenGL related to alpha.

PT Eu notei que alguns desenvolvedores do OpenGL têm problemas com a forma como o WebGL trata alfa no backbuffer (ou seja, a tela), então pensei que poderia ser bom analisar algumas das diferenças entre o WebGL e OpenGL relacionado ao alfa.

Îngilîzî Portekizî
developers desenvolvedores
webgl webgl
alpha alfa
canvas tela
differences diferenças
related relacionado
i thought pensei
i eu
good bom
of do
issues problemas
in no
be ser
and e
the o
it seja
between entre

EN I've noticed some OpenGL developers having issues with how WebGL treats alpha in the backbuffer (ie, the canvas), so I thought it might be good to go over some of the differences between WebGL and OpenGL related to alpha.

PT Eu notei que alguns desenvolvedores do OpenGL têm problemas com a forma como o WebGL trata alfa no backbuffer (ou seja, a tela), então pensei que poderia ser bom analisar algumas das diferenças entre o WebGL e OpenGL relacionado ao alfa.

Îngilîzî Portekizî
developers desenvolvedores
webgl webgl
alpha alfa
canvas tela
differences diferenças
related relacionado
i thought pensei
i eu
good bom
of do
issues problemas
in no
be ser
and e
the o
it seja
between entre

EN I've noticed some OpenGL developers having issues with how WebGL treats alpha in the backbuffer (ie, the canvas), so I thought it might be good to go over some of the differences between WebGL and OpenGL related to alpha.

PT Eu notei que alguns desenvolvedores do OpenGL têm problemas com a forma como o WebGL trata alfa no backbuffer (ou seja, a tela), então pensei que poderia ser bom analisar algumas das diferenças entre o WebGL e OpenGL relacionado ao alfa.

Îngilîzî Portekizî
developers desenvolvedores
webgl webgl
alpha alfa
canvas tela
differences diferenças
related relacionado
i thought pensei
i eu
good bom
of do
issues problemas
in no
be ser
and e
the o
it seja
between entre

EN That means when you transfer them to WebGL and UNPACK_PREMULTIPLY_ALPHA_WEBGL is false WebGL will convert them back to un-premultipiled.

PT Isso significa que quando você os transfere para o WebGL e UNPACK_PREMULTIPLY_ALPHA_WEBGL é falso, o WebGL irá convertê-lo de novo para não premultipilado.

Îngilîzî Portekizî
webgl webgl
false falso
is é
will irá
you você
transfer para
to significa
when quando
them os
and e

EN That means when you transfer them to WebGL and UNPACK_PREMULTIPLY_ALPHA_WEBGL is false WebGL will convert them back to un-premultipiled.

PT Isso significa que quando você os transfere para o WebGL e UNPACK_PREMULTIPLY_ALPHA_WEBGL é falso, o WebGL irá convertê-lo de novo para não premultipilado.

Îngilîzî Portekizî
webgl webgl
false falso
is é
will irá
you você
transfer para
to significa
when quando
them os
and e

EN That means when you transfer them to WebGL and UNPACK_PREMULTIPLY_ALPHA_WEBGL is false WebGL will convert them back to un-premultipiled.

PT Isso significa que quando você os transfere para o WebGL e UNPACK_PREMULTIPLY_ALPHA_WEBGL é falso, o WebGL irá convertê-lo de novo para não premultipilado.

Îngilîzî Portekizî
webgl webgl
false falso
is é
will irá
you você
transfer para
to significa
when quando
them os
and e

EN Natural Treats is a unique box of dog treats and chews containing only high-quality, premium, natural products not available from your usual pet store.

PT Natural Treats é uma caixa única de guloseimas e mastigáveis para cães contendo apenas produtos de alta qualidade, premium e naturais não disponíveis na sua loja habitual de animais de estimação.

Îngilîzî Portekizî
box caixa
containing contendo
pet animais
store loja
dog cães
premium premium
available disponíveis
high alta
quality qualidade
is é
products produtos
of de
natural natural
a única
and e

EN We have a selection of different size boxes and treats based on the size of your dog or if you have multiple dogs. It's easy to find the perfect box of natural treats.

PT Temos uma selecção de caixas de diferentes tamanhos e guloseimas com base no tamanho do seu cão ou se tiver vários cães. É fácil encontrar a caixa perfeita de guloseimas naturais.

Îngilîzî Portekizî
easy fácil
perfect perfeita
natural naturais
size tamanho
on no
or ou
if se
box caixa
boxes caixas
different diferentes
we temos
the a
a uma
dog cão
dogs cães
multiple vários
based com
of do
and e
find encontrar
you have tiver

EN The biggest difference between OpenGL and WebGL is that OpenGL renders to a backbuffer that is not composited with anything, or effectively not composited with anything by the OS's window manager, so it doesn't matter what your alpha is.

PT A maior diferença entre o OpenGL eo WebGL é que o OpenGL torna um backbuffer que não está composto com nada, ou efetivamente não está composta de nada pela janela do sistema operacional gerente, então não importa o que é o seu alfa.

Îngilîzî Portekizî
difference diferença
webgl webgl
effectively efetivamente
window janela
manager gerente
alpha alfa
or ou
matter importa
is é
a um
the o
between de
what torna
anything que
by com
your seu

EN #1) Tell WebGL you want it composited with non-premultiplied alpha

PT #1) Diga ao WebGL que você deseja que ele seja composto com alfa não premultiplicado

Îngilîzî Portekizî
webgl webgl
alpha alfa
you você
you want deseja
it ele
with que

EN #2) Tell WebGL you don't want alpha in the backbuffer

PT #2) Diga ao WebGL que você não quer alfa no backbuffer

Îngilîzî Portekizî
webgl webgl
alpha alfa
want quer
in no
you você

EN This is probably the best option because a good browser could see that you have no alpha and actually optimize the way WebGL is composited

PT Esta é provavelmente a melhor opção porque um bom navegador pode ver que você não tem alfa e realmente otimiza a forma como o WebGL é composto

Îngilîzî Portekizî
browser navegador
alpha alfa
webgl webgl
is é
a um
good bom
option opção
probably provavelmente
best melhor
because porque
you você
and e
way forma
see ver
this esta
the o

EN My default if you are loading images with alpha into WebGL

PT Meu padrão se você estiver carregando imagens com alfa no WebGL

Îngilîzî Portekizî
default padrão
loading carregando
images imagens
alpha alfa
webgl webgl
if se
my meu
you você

EN You can have WebGL pre-multiply the alpha if you want. You do this by setting UNPACK_PREMULTIPLY_ALPHA_WEBGL to true like this

PT Você pode ter o WebGL pré-multiplicar o alfa se desejar. Você faz isso configurando UNPACK_PREMULTIPLY_ALPHA_WEBGL para verdadeiro assim

Îngilîzî Portekizî
webgl webgl
setting configurando
if se
the o
you você
can pode
alpha alfa
do faz
to assim
this isso
true verdadeiro
you want desejar

EN The biggest difference between OpenGL and WebGL is that OpenGL renders to a backbuffer that is not composited with anything, or effectively not composited with anything by the OS's window manager, so it doesn't matter what your alpha is.

PT A maior diferença entre o OpenGL eo WebGL é que o OpenGL torna um backbuffer que não está composto com nada, ou efetivamente não está composta de nada pela janela do sistema operacional gerente, então não importa o que é o seu alfa.

Îngilîzî Portekizî
difference diferença
webgl webgl
effectively efetivamente
window janela
manager gerente
alpha alfa
or ou
matter importa
is é
a um
the o
between de
what torna
anything que
by com
your seu

EN #1) Tell WebGL you want it composited with non-premultiplied alpha

PT #1) Diga ao WebGL que você deseja que ele seja composto com alfa não premultiplicado

Îngilîzî Portekizî
webgl webgl
alpha alfa
you você
you want deseja
it ele
with que

EN #2) Tell WebGL you don't want alpha in the backbuffer

PT #2) Diga ao WebGL que você não quer alfa no backbuffer

Îngilîzî Portekizî
webgl webgl
alpha alfa
want quer
in no
you você

EN This is probably the best option because a good browser could see that you have no alpha and actually optimize the way WebGL is composited

PT Esta é provavelmente a melhor opção porque um bom navegador pode ver que você não tem alfa e realmente otimiza a forma como o WebGL é composto

Îngilîzî Portekizî
browser navegador
alpha alfa
webgl webgl
is é
a um
good bom
option opção
probably provavelmente
best melhor
because porque
you você
and e
way forma
see ver
this esta
the o

EN My default if you are loading images with alpha into WebGL

PT Meu padrão se você estiver carregando imagens com alfa no WebGL

Îngilîzî Portekizî
default padrão
loading carregando
images imagens
alpha alfa
webgl webgl
if se
my meu
you você

EN You can have WebGL pre-multiply the alpha if you want. You do this by setting UNPACK_PREMULTIPLY_ALPHA_WEBGL to true like this

PT Você pode ter o WebGL pré-multiplicar o alfa se desejar. Você faz isso configurando UNPACK_PREMULTIPLY_ALPHA_WEBGL para verdadeiro assim

Îngilîzî Portekizî
webgl webgl
setting configurando
if se
the o
you você
can pode
alpha alfa
do faz
to assim
this isso
true verdadeiro
you want desejar

EN The biggest difference between OpenGL and WebGL is that OpenGL renders to a backbuffer that is not composited with anything, or effectively not composited with anything by the OS's window manager, so it doesn't matter what your alpha is.

PT A maior diferença entre o OpenGL eo WebGL é que o OpenGL torna um backbuffer que não está composto com nada, ou efetivamente não está composta de nada pela janela do sistema operacional gerente, então não importa o que é o seu alfa.

Îngilîzî Portekizî
difference diferença
webgl webgl
effectively efetivamente
window janela
manager gerente
alpha alfa
or ou
matter importa
is é
a um
the o
between de
what torna
anything que
by com
your seu

EN #1) Tell WebGL you want it composited with non-premultiplied alpha

PT #1) Diga ao WebGL que você deseja que ele seja composto com alfa não premultiplicado

Îngilîzî Portekizî
webgl webgl
alpha alfa
you você
you want deseja
it ele
with que

EN #2) Tell WebGL you don't want alpha in the backbuffer

PT #2) Diga ao WebGL que você não quer alfa no backbuffer

Îngilîzî Portekizî
webgl webgl
alpha alfa
want quer
in no
you você

EN This is probably the best option because a good browser could see that you have no alpha and actually optimize the way WebGL is composited

PT Esta é provavelmente a melhor opção porque um bom navegador pode ver que você não tem alfa e realmente otimiza a forma como o WebGL é composto

Îngilîzî Portekizî
browser navegador
alpha alfa
webgl webgl
is é
a um
good bom
option opção
probably provavelmente
best melhor
because porque
you você
and e
way forma
see ver
this esta
the o

EN My default if you are loading images with alpha into WebGL

PT Meu padrão se você estiver carregando imagens com alfa no WebGL

Îngilîzî Portekizî
default padrão
loading carregando
images imagens
alpha alfa
webgl webgl
if se
my meu
you você

EN You can have WebGL pre-multiply the alpha if you want. You do this by setting UNPACK_PREMULTIPLY_ALPHA_WEBGL to true like this

PT Você pode ter o WebGL pré-multiplicar o alfa se desejar. Você faz isso configurando UNPACK_PREMULTIPLY_ALPHA_WEBGL para verdadeiro assim

Îngilîzî Portekizî
webgl webgl
setting configurando
if se
the o
you você
can pode
alpha alfa
do faz
to assim
this isso
true verdadeiro
you want desejar

EN The primary purpose of the alpha project is the billing of your agency (your Reseller subscription is attached to this project) The alpha project is not white label.

PT O principal objetivo do projeto alfa é o faturamento da sua agência (sua assinatura de revendedor está anexada a este projeto) O projeto alfa não é marca branca

Îngilîzî Portekizî
primary principal
alpha alfa
billing faturamento
reseller revendedor
subscription assinatura
purpose objetivo
project projeto
agency agência
is é
the o
not não
this este
of do
your sua

EN Of course that also means it actually won't have alpha in the backbuffer so if you are using alpha in the backbuffer for some purpose that might not work for you

PT Claro que isso também significa que na verdade não terá alfa no backbuffer, então, se você estiver usando alpha no backbuffer para algum propósito que pode não funcionar para você

Îngilîzî Portekizî
purpose propósito
work funcionar
if se
actually na verdade
in no
using usando
you você
also também
have terá
alpha alfa
so então
means significa
of course claro
that verdade

EN The primary purpose of the alpha project is the billing of your agency (your Reseller subscription is attached to this project) The alpha project is not white label.

PT O principal objetivo do projeto alfa é o faturamento da sua agência (sua assinatura de revendedor está anexada a este projeto) O projeto alfa não é marca branca

Îngilîzî Portekizî
primary principal
alpha alfa
billing faturamento
reseller revendedor
subscription assinatura
purpose objetivo
project projeto
agency agência
is é
the o
not não
this este
of do
your sua

EN Of course that also means it actually won't have alpha in the backbuffer so if you are using alpha in the backbuffer for some purpose that might not work for you

PT Claro que isso também significa que na verdade não terá alfa no backbuffer, então, se você estiver usando alpha no backbuffer para algum propósito que pode não funcionar para você

Îngilîzî Portekizî
purpose propósito
work funcionar
if se
actually na verdade
in no
using usando
you você
also também
have terá
alpha alfa
so então
means significa
of course claro
that verdade

EN Of course that also means it actually won't have alpha in the backbuffer so if you are using alpha in the backbuffer for some purpose that might not work for you

PT Claro que isso também significa que na verdade não terá alfa no backbuffer, então, se você estiver usando alpha no backbuffer para algum propósito que pode não funcionar para você

Îngilîzî Portekizî
purpose propósito
work funcionar
if se
actually na verdade
in no
using usando
you você
also também
have terá
alpha alfa
so então
means significa
of course claro
that verdade

EN The primary purpose of the alpha project is the billing of your agency (your Reseller subscription is attached to this project) The alpha project is not white label.

PT O principal objetivo do projeto alfa é o faturamento da sua agência (sua assinatura de revendedor está anexada a este projeto) O projeto alfa não é marca branca

Îngilîzî Portekizî
primary principal
alpha alfa
billing faturamento
reseller revendedor
subscription assinatura
purpose objetivo
project projeto
agency agência
is é
the o
not não
this este
of do
your sua

EN The primary purpose of the alpha project is the billing of your agency (your Reseller subscription is attached to this project) The alpha project is not white label.

PT O principal objetivo do projeto alfa é o faturamento da sua agência (sua assinatura de revendedor está anexada a este projeto) O projeto alfa não é marca branca

Îngilîzî Portekizî
primary principal
alpha alfa
billing faturamento
reseller revendedor
subscription assinatura
purpose objetivo
project projeto
agency agência
is é
the o
not não
this este
of do
your sua

EN The primary purpose of the alpha project is the billing of your agency (your Reseller subscription is attached to this project) The alpha project is not white label.

PT O principal objetivo do projeto alfa é o faturamento da sua agência (sua assinatura de revendedor está anexada a este projeto) O projeto alfa não é marca branca

Îngilîzî Portekizî
primary principal
alpha alfa
billing faturamento
reseller revendedor
subscription assinatura
purpose objetivo
project projeto
agency agência
is é
the o
not não
this este
of do
your sua

EN The primary purpose of the alpha project is the billing of your agency (your Reseller subscription is attached to this project) The alpha project is not white label.

PT O principal objetivo do projeto alfa é o faturamento da sua agência (sua assinatura de revendedor está anexada a este projeto) O projeto alfa não é marca branca

Îngilîzî Portekizî
primary principal
alpha alfa
billing faturamento
reseller revendedor
subscription assinatura
purpose objetivo
project projeto
agency agência
is é
the o
not não
this este
of do
your sua

EN Color formats that support alpha add up to about 23% of occurrences, while color formats that do not support alpha add up to only 2% of occurrences on mobile pages.

PT Os formatos de cores que suportam alfa somam cerca de 23% das ocorrências, enquanto os formatos de cores que não suportam alfa somam apenas 2% das ocorrências em páginas para celular.

Îngilîzî Portekizî
alpha alfa
mobile celular
pages páginas
color cores
of de
formats formatos

EN Flutter’s web engine offers a choice of two renderers: an HTML renderer, which uses HTML, CSS, Canvas and SVG, and a CanvasKit renderer that uses WebAssembly and WebGL to render Skia paint commands to the browser canvas

PT O mecanismo web do Flutter oferece a escolha entre dois renderizadores: um renderizador HTML, que usa HTML, CSS, Canvas e SVG, e um renderizador CanvasKit que usa WebAssembly e WebGL para renderizar comandos do Skia na tela do navegador

Îngilîzî Portekizî
engine mecanismo
offers oferece
html html
uses usa
css css
svg svg
webgl webgl
render renderizar
commands comandos
choice escolha
browser navegador
of do
canvas canvas
web web
a um
and e
the o

EN They are entirely new, discarding the old out of date ideas and bringing you to a full understanding of what WebGL really is and how it really works.

PT Eles são totalmente novos, descartando as antigas idéias desatualizadas e trazendo você para uma compreensão completa do que o WebGL realmente é e como ele realmente funciona.

Îngilîzî Portekizî
new novos
old antigas
bringing trazendo
webgl webgl
full completa
entirely totalmente
of do
is é
you você
works funciona
really realmente
the o
are são
it ele
a uma
and e
to para

EN This post is a continuation of a series of posts about WebGL. The first started with fundamentals and the previous was about rotating geometry.

PT Esta publicação é uma continuação de uma série de postagens sobre o WebGL. O primeiro começou com os fundamentos e o anterior foi sobre a geometria rotativa.

Îngilîzî Portekizî
continuation continuação
webgl webgl
fundamentals fundamentos
geometry geometria
is é
series série
started começou
was foi
about sobre
post publicação
of de
posts postagens
this esta
a uma
and e
previous anterior
the o

EN This article is a continuation of WebGL Image Processing. If you haven't read that I suggest you start there.

PT Este artigo é uma continuação de WebGL - Processamento de imagens. Se você ainda não leu, eu sugiro que você começe lá.

Îngilîzî Portekizî
continuation continuação
webgl webgl
image imagens
processing processamento
is é
if se
i eu
this este
a uma
of de
you você
read e
that que

EN This is not really a WebGL thing, it's a HTML5 JavaScript thing, but we might as well tackle it

PT Esta não é realmente uma coisa de WebGL, é uma coisa de JavaScript HTML5, mas nós também podemos abordar isso

Îngilîzî Portekizî
webgl webgl
javascript javascript
is é
really realmente
a uma
but mas
we nós
not não
thing coisa
its de
this isso
as também

EN WebGL has something called "texture units". You can think of it as an array of references to textures. You tell the shader which texture unit to use for each sampler.

PT O WebGL tem algo chamado "unidades de textura". Você pode pensar nisso como uma série de referências para texturas. Você diz ao sombreador qual unidade de textura para usar para cada amostra.

Îngilîzî Portekizî
webgl webgl
called chamado
texture textura
references referências
textures texturas
the o
think pensar
you você
unit unidade
something algo
can pode
use usar
each cada
units unidades
of de
tell para

EN If you were to implement WebGL in JavaScript it would look something like this

PT E se você deveria implementar o WebGL em JavaScript, seria algo parecido com esta

Îngilîzî Portekizî
webgl webgl
javascript javascript
if se
you você
implement implementar
in em
something algo
this esta
like parecido
would e

EN Hopefully this small step helps explain how to use multiple textures in a single draw call in WebGL

PT Espero que este pequeno passo ajuda a explicar como usar múltiplas texturas em uma única chamada de desenho no WebGL

Îngilîzî Portekizî
small pequeno
explain explicar
textures texturas
call chamada
webgl webgl
draw desenho
step passo
helps ajuda
this este
use usar
in em
to a
single única

EN This article is a continuation of previous WebGL articles about drawing text. If you haven't read them I suggest you start there and work your way back.

PT Este artigo é uma continuação de artigos anteriores do WebGL sobre desenho de texto. Se você não os leu, sugiro que você comece lá e trabalhe de volta.

Îngilîzî Portekizî
continuation continuação
webgl webgl
start comece
is é
drawing desenho
if se
this este
about sobre
a uma
articles artigos
text texto
back volta
you você
of do
way de

EN When drawing, just like WebGL, we need to clear the 2D canvas each frame.

PT Ao desenhar, assim como o WebGL, precisamos limpar a tela 2D em cada quadro.

Îngilîzî Portekizî
drawing desenhar
webgl webgl
clear limpar
canvas tela
frame quadro
we need precisamos
each cada
the o

EN I think that covers using Canvas 2D. Check out the Canvas 2D API for more ideas. Next we'll actually render text in WebGL.

PT Eu acho que cobre o uso do Canvas 2D. Confira a API Canvas 2D para obter mais ideias. Em seguida, iremos renderizar texto no WebGL.

Îngilîzî Portekizî
covers cobre
render renderizar
webgl webgl
canvas canvas
i eu
api api
ideas ideias
more mais
in em
the o
text texto
check confira
that que

EN WebGL has several ways to make this more like OpenGL.

PT O WebGL tem várias maneiras de tornar isso mais parecido com o OpenGL.

Îngilîzî Portekizî
webgl webgl
ways maneiras
has tem
several várias
make de
to make tornar
like parecido
more mais

EN WebGL will provide the values as they are in the PNG file with color values not premultiplied

PT O WebGL fornecerá os valores como estão no arquivo PNG com valores de cor não premultiplicados

Îngilîzî Portekizî
webgl webgl
provide fornecer
file arquivo
png png
are estão
values valores
color cor
as como
in de
the o

EN They are entirely new, discarding the old out of date ideas and bringing you to a full understanding of what WebGL really is and how it really works.

PT Eles são totalmente novos, descartando as antigas idéias desatualizadas e trazendo você para uma compreensão completa do que o WebGL realmente é e como ele realmente funciona.

Îngilîzî Portekizî
new novos
old antigas
bringing trazendo
webgl webgl
full completa
entirely totalmente
of do
is é
you você
works funciona
really realmente
the o
are são
it ele
a uma
and e
to para

{Endresult} ji 50 wergeran nîşan dide