Vertaling van "textureMap" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
El primer parámetro indica que los datos de imagen se copian desde textureMap.
The first parameter indicates that the image data is copied from textureMap.
El contenido de textureMap es la imagen mostrada anteriormente.
The content of textureMap is the rectangle moon image.
Finalmente el rectángulo llegará al borde derecho de textureMap y no dispondrá de píxeles de la fotografía de la luna para copiar en sphere
Eventually the rectangle will reach the right edge of textureMap and it will run out of moon photo pixels to copy onto sphere
Por este motivo, es necesario que la imagen de origen (textureMap) tenga dos copias de la fotografía de la superficie de la luna.
This is the reason why the source image (textureMap) needs to have two copies of the moon surface photo.
Es decir, el contenido de sphere será el tamaño de una fotografía de la luna (ya que la imagen textureMap contiene dos fotografías de la luna, una junto a otra).
In other words, the content of sphere will be the size of one moon photo (since the textureMap image contains two moon photos side-by-side).
Si es así, vuelve a restablecer sourceX a 0, moviéndolo de nuevo hacia el borde izquierdo de textureMap y volviendo a iniciar el ciclo
If so, it resets sourceX back to 0, moving it back to the left edge of textureMap and starting the cycle over again
Su propiedad bitmapData (los datos de la imagen sin procesar que se muestran mediante sphere) se crea con la misma altura y la mitad de anchura de textureMap.
Its bitmapData property (the raw image data that is displayed by sphere) is created with the same height and half the width of textureMap.
El código comprueba si sourceX (borde izquierdo del rectángulo) ha alcanzado la mitad de textureMap.
The code checks if sourceX (the left edge of the rectangle) has reached the middle of textureMap.
Al igual que sucede con textureMap, el objeto sphere se crea y se llena con sus datos de imagen inicial en el método imageLoadComplete(), empleando el siguiente código
Like textureMap, the sphere object is created and populated with its initial image data in the imageLoadComplete() method, using the following code
Es decir, el contenido de BitmapData de sphere es la parte de textureMap resaltada aquí: Ver gráfico a tamaño completo
In other words, the BitmapData content of sphere is the portion of textureMap highlighted here: View full size graphic
Tal y como se puede observar, sourceX se usa para determinar la ubicación en textureMap desde donde los píxeles se copiarán en sphere, por lo que este código tiene el efecto de mover el rectángulo un píxel a la derecha en textureMap.
As you'll see, sourceX is used to determine the location in textureMap from which the pixels will be copied onto sphere, so this code has the effect of moving the rectangle one pixel to the right on textureMap.
Representado visualmente, el código copia los píxeles desde textureMap destacado en la siguiente imagen y los pega en sphere.
Represented visually, the code copies the pixels from textureMap outlined in the following image and pastes them onto sphere.