Skip to main content

Posts

Showing posts from 2020

Upload video 3

Upload video 2

Upload video

Upload image 4

Upload image 3

Upload image 2

Upload image

Test 2

Test 1 Edit 1 Edit 2 Edit 3

Test 2

Test 1 Edit 1 Edit 2 Edit 3

Test 2

Test 1 Edit 1 Edit 2 Edit 3

Lighting in WebGL

As should be clear by now, WebGL doesn't have much built-in knowledge. It just runs two functions you supply — a vertex shader and a fragment shader — and expects you to write creative functions to get the results you want. In other words, if you want lighting you have to calculate it yourself. Fortunately, it's not all that hard to do, and this article will cover some of the basics. This example uses the glMatrix library to perform its matrix and vertex math. You'll need to include it if you create your own project based on this code. Our sample loads a copy from a CDN in our HTML's <head>. Simulating lighting and shading in 3D Although going into detail about the theory behind simulated lighting in 3D graphics is far beyond the scope of this article, it's helpful to know a bit about how it works. Instead of discussing it in depth here, take a look at the article on Phong shading at Wikipedia, which provides a good overview of the most commonly used lighting...

Lighting in WebGL

As should be clear by now, WebGL doesn't have much built-in knowledge. It just runs two functions you supply — a vertex shader and a fragment shader — and expects you to write creative functions to get the results you want. In other words, if you want lighting you have to calculate it yourself. Fortunately, it's not all that hard to do, and this article will cover some of the basics. This example uses the glMatrix library to perform its matrix and vertex math. You'll need to include it if you create your own project based on this code. Our sample loads a copy from a CDN in our HTML's <head>. Simulating lighting and shading in 3D Although going into detail about the theory behind simulated lighting in 3D graphics is far beyond the scope of this article, it's helpful to know a bit about how it works. Instead of discussing it in depth here, take a look at the article on Phong shading at Wikipedia, which provides a good overview of the most commonly used lighting...

Lighting in WebGL

As should be clear by now, WebGL doesn't have much built-in knowledge. It just runs two functions you supply — a vertex shader and a fragment shader — and expects you to write creative functions to get the results you want. In other words, if you want lighting you have to calculate it yourself. Fortunately, it's not all that hard to do, and this article will cover some of the basics. This example uses the glMatrix library to perform its matrix and vertex math. You'll need to include it if you create your own project based on this code. Our sample loads a copy from a CDN in our HTML's <head>. Simulating lighting and shading in 3D Although going into detail about the theory behind simulated lighting in 3D graphics is far beyond the scope of this article, it's helpful to know a bit about how it works. Instead of discussing it in depth here, take a look at the article on Phong shading at Wikipedia, which provides a good overview of the most commonly used lighting...

Test 1

WebGL (Web Graphics Library) is a JavaScript API for rendering high-performance interactive 3D and 2D graphics within any compatible web browser without the use of plug-ins. WebGL does so by introducing an API that closely conforms to OpenGL ES 2.0 that can be used in HTML5 <canvas> elements. This conformance makes it possible for the API to take advantage of hardware graphics acceleration provided by the user's device. Formats Support for WebGL is present in Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+, Internet Explorer 11+, and Microsoft Edge build 10240+; however, the user's device must also have hardware that supports these features. Colors and fonts The WebGL 2 API introduces support for much of the OpenGL ES 3.0 feature set; it's provided through the WebGL2RenderingContext interface. The <canvas> element is also used by the Canvas API to do 2D graphics on web pages. Aligns WebGL (Web Graphics Library) is a JavaScript API for rendering hi...

Test 1

WebGL (Web Graphics Library) is a JavaScript API for rendering high-performance interactive 3D and 2D graphics within any compatible web browser without the use of plug-ins. WebGL does so by introducing an API that closely conforms to OpenGL ES 2.0 that can be used in HTML5 <canvas> elements. This conformance makes it possible for the API to take advantage of hardware graphics acceleration provided by the user's device. Formats Support for WebGL is present in Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+, Internet Explorer 11+, and Microsoft Edge build 10240+; however, the user's device must also have hardware that supports these features. Colors and fonts The WebGL 2 API introduces support for much of the OpenGL ES 3.0 feature set; it's provided through the WebGL2RenderingContext interface. The <canvas> element is also used by the Canvas API to do 2D graphics on web pages. Aligns WebGL (Web Graphics Library) is a JavaScript API for rendering hi...

WebGL: 2D and 3D graphics for the web

WebGL (Web Graphics Library) is a JavaScript API for rendering high-performance interactive 3D and 2D graphics within any compatible web browser without the use of plug-ins. WebGL does so by introducing an API that closely conforms to OpenGL ES 2.0 that can be used in HTML5 <canvas> elements. This conformance makes it possible for the API to take advantage of hardware graphics acceleration provided by the user's device. Support for WebGL is present in Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+, Internet Explorer 11+, and Microsoft Edge build 10240+; however, the user's device must also have hardware that supports these features. The WebGL 2 API introduces support for much of the OpenGL ES 3.0 feature set; it's provided through the WebGL2RenderingContext interface. The <canvas> element is also used by the Canvas API to do 2D graphics on web pages.

Video

Camera

This is using images from camera  https://images.app.goo.gl/ya7Ugtw2XGXe2R6U7 https://i.pinimg.com/originals/eb/be/01/ebbe012dc393a88f1bd5c80017836e61.png Q w e Z

Camera

This is using images from camera 

Camera

This is using images from camera 

Camera

Camera

Camera

《 游子吟 》是 唐代 诗人孟郊创作的一首五言诗。这是一首母爱的颂歌。全诗共六句三十字,采用白描的手法,通过回忆一个看似平常的 临行 前缝衣的场景, 凸显 并歌颂了母爱的伟大与无私,表达了诗人对 母爱 的感激以及对母亲深深的爱与尊敬之情。 此诗 情感真挚自然,虽无藻绘与雕饰,然而 清新 流畅,淳朴素淡的语言中蕴含着浓郁 醇美的诗味,undefined年来广为传诵 。

Camera

《 游子吟 》是 唐代 诗人孟郊创作的一首五言诗。这是一首母爱的颂歌。全诗共六句三十字,采用白描的手法,通过回忆一个看似平常的 临行 前缝衣的场景, 凸显 并歌颂了母爱的伟大与无私,表达了诗人对 母爱 的感激以及对母亲深深的爱与尊敬之情。 此诗 情感真挚自然,虽无藻绘与雕饰,然而 清新 流畅,淳朴素淡的语言中蕴含着浓郁 醇美的诗味,undefined年来广为传诵 。

Camera

《 游子吟 》是 唐代 诗人孟郊创作的一首五言诗。这是一首母爱的颂歌。全诗共六句三十字,采用白描的手法,通过回忆一个看似平常的 临行 前缝衣的场景, 凸显 并歌颂了母爱的伟大与无私,表达了诗人对 母爱 的感激以及对母亲深深的爱与尊敬之情。 此诗 情感真挚自然,虽无藻绘与雕饰,然而 清新 流畅,淳朴素淡的语言中蕴含着浓郁 醇美 的诗味, undefined 年来广为传诵。

Pub multiple

Publish to multiple

Publish to multiple blogs 

Picture both

Publish a post to multiple blogs, get picture from pic library. 

Pic blogger

Picture to blogger

Lighting in WebGL

As should be clear by now, WebGL doesn't have much built-in knowledge. It just runs two functions you supply — a vertex shader and a fragment shader — and expects you to write creative functions to get the results you want. In other words, if you want lighting you have to calculate it yourself. Fortunately, it's not all that hard to do, and this article will cover some of the basics. Simulating lighting and shading in 3D Although going into detail about the theory behind simulated lighting in 3D graphics is far beyond the scope of this article, it's helpful to know a bit about how it works. Instead of discussing it in depth here, take a look at the article on Phong shading at Wikipedia, which provides a good overview of the most commonly used lighting model or if you'd like to see a WebGL based explanation see this artcle. There are three basic types of lighting: Ambient light is the light that permeates the scene; it's non-directional and affects every face in the ...