FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
WebGL (Web openGL) trial on WebDev
WebGL (Web openGL) trial on WebDev
Débuté par Marc, 11 jan. 2013 12:58 - Aucune réponse
Connectez-vous…
Marc
#1
Membre enregistré
21 messages
Popularité : +2 (2 votes)
Posté le 11 janvier 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
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte