FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
WebGL (Web openGL) trial on WebDev
WebGL (Web openGL) trial on WebDev
Iniciado por Marc, 11,ene. 2013 12:58 - No hay respuesta
Conéctese…
Marc
#1
Miembro registrado
21 mensajes
Popularité : +2 (2 votes)
Publicado el 11,enero 2013 - 12:58
Hello,
I evaluate the possibility of using WebGL to display 3D images from a WebDev application. I found a great tutorial (simple and short)
http://learningwebgl.com/lessons/lesson01/index.html
that shows how to create a page to display a WebGL canvas. In addition, tansfer to WebDev seemed trivial ...
I created a micro (5 minutes) project WebDev-Dynamic where I :
1. placed inside an HTML field the sequence below
a. <canvas id="lesson01-canvas" style="bord...(voir exemple WebGL) ...00"></canvas>
2. Copied the script below in the page advanced HTML field property
a. <script type="text/javascript" src="./Learning WebGL — lesson 1_files/glMatrix-0.9.5.min.js"></script>
b. <script id="shader-fs" type="x-shader/x-fragment">
c. >>>>>>>>>>> many additional line see example file>>>>>>
d. function webGLStart() {
e. >>>>>>>>>>> many additional line see example file >>>>>>
f. </script>
3. Added in the page « onload » local navigator procedure the code below
a. JSMéthode("_PAGE_","webGLStart")
It seems to me that the syntax I use to bind the onload event of the page and the script webGLStart within the field "advanced HTML" of the page is wrong but WebDev is silent on the subject.
Has anyone ever tried something similar and wants you to share on the subject?
Cheers, Marc
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto