Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (158 codes)
  2. Alcides Ramos (60 codes)
  3. Dany (54 codes)
  4. NART SCHINACKOW (34 codes)
  5. Agent Wolfz (22 codes)
  6. Andrew Hazelden (18 codes)
  7. Alberto Trasimeni (17 codes)
  8. Bojan Kranjc (15 codes)
  9. Roman Toropov (14 codes)
  10. FOURNET Olivier (13 codes)

Most Downloaded

  1. Timer Calculator (26921 times)
  2. Network Ethernet Library (20945 times)
  3. FAT32 Library (16224 times)
  4. Network WiFi Library (12975 times)
  5. USB Device Library (12609 times)
  6. PID Library (9721 times)
  7. GSM click - Example (9350 times)
  8. microSD click - Example (7930 times)
  9. FT800 Library (7601 times)
  10. SMS home alarm system (7066 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

WIFI embedded WEBGL with PIC micro (3D animation)

Rating:

Author: Wilson Gan

Last Updated: 2013-05-06

Category: WiFi

Downloaded: 444 times

Not followed.

The first two examples in the world to demonstrate how to load a WEBGL animation using a PIC microcontroller. Release date: April, 28 2013

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "WIFI embedded WEBGL with PIC micro (3D animation)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "WIFI embedded WEBGL with PIC micro (3D animation)" changes.

Do you want to report abuse regarding "WIFI embedded WEBGL with PIC micro (3D animation)".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

This are the first two examples in the world! to load a  WebGL application using a microcontroller as a server (hey! don't let me wrong, find another made before and I'll stop presuming), with the plus of being open sourced, and WIFI.

They show how to load a webGL animation that will be mainly stored in a microSD card using a PIC microcontroller.

WebGL is a new web technology that brings hardware-accelerated 3D graphics to the browser without installing additional software. [ source: http://www.chromeexperiments.com/webgl/]

As WebGL is new  is not entirely supported by Opera. Safari only support it under the MAC platform. Some other mobile browsers also work partially. 

For current browser webGL support visit: http://get.webgl.org/

This project was successfully tested  in Mozilla Firefox, Google Chrome and Firefox Beta mobile under Android 4.0.4, Le-pan II tablet. 

Internet explorer 11 does support WEBGL but has not been tested with this project.

Bouncing cubes

Bouncing cubes author blog: http://learningwebgl.com/blog/?p=669

Watch on YouTube

Animated bear

Animated bear author page: http://www.ibiblio.org/e-notes/Splines/models/bear_anim.html

Watch on YouTube

[ver 1.0.0.2]

-In this version a new example is included: Animated "bear" model.

-External scripts synchronized GET requests added to avoid browser timeout because of the MCU low transfer speed.

[ver 1.0.0.1]

- HTML and javaScript content Gzipped and the project modified to support it, so that the loading time have been smoothed out.

- Google Chrome support added.

En español

Estos son los dos primeros ejemplos en el mundo en cargar una aplicación WebGL utilizando un microcontrolador como servidor (y no me permitan estar equivocado, si encuentran uno hecho antes dejo de presumir), con la ventaja adicional de ser de código abierto y WIFI.

Estos muestran cómo cargar las animaciones WebGL que se almacenan principalmente en una tarjeta microSD utilizando un microcontrolador PIC.

WebGL es una nueva tecnología web que brinda aceleración de hardware de gráficos 3D en el navegador sin necesidad de instalar software adicional.

[fuente: http://www.chromeexperiments.com/webgl/]

Como WebGL es nuevo, no es del todo compatible con el navegador Opera. No parece que funcione en Safari en Windows OS. 

Para saber si su navegador lo soporta visite: http://get.webgl.org/

Este proyecto se puso a prueba con éxito en Mozilla Firefox, Google Chrome y Firefox Beta móbil bajo Android 4.0.4, tableta Le-pan II.

El Internet explorer 11 soporta WEBGL pero no fue probado en este projecto.

 

 

 

 

ALSO FROM THIS AUTHOR

WIFI HTTP + image loading from PIC ROM

Simple example to demonstrate how an image (or probably almost any binary file) can be encoded in base64 format and loaded into the PIC ROM as long as the ROM space allows it.

[Learn More]

WIFI HTTP + javaScript file loading from microSD card (Hello world! example)

The intent of this example is to show how to merge the mikroElektronica's wifi http demo with the microSD demo so that the web page can grow bigger due to the ROM space of the MCU can be saved utilizing the microSD as storage of external files.

[Learn More]

WIFI WebGl (three.js) (3D) Lamp control with PIC micro

This project features the first WebGL (Web graphics library) electronic control in the world using the Three.js library and a PIC microcontroller interfaced with a Triac. Release date: 08/03/2013

[Learn More]