![]() |
|
| Français | English |
| J’ai refait le portage du gestionnaire de rendu d’Ardor3D basé sur JOGL vers la version 2.0. Cette fois-ci, j’ai réussi à le faire fonctionner. En fait, ma première tentative avait échoué car j’essayais de récupérer le contexte OpenGL trop tôt (juste après la création du canevas ce qui fonctionnait bien avec JOGL 1.1.1a). Je le récupère en dérivant la méthode addNotify() et ça marche très bien avec tous les exemples fournis avec le moteur. J’ai publié ce sous-projet sur Sourceforge. | I have rewritten the port of the renderer of Ardor3D based on JOGL to the version 2.0. This time I have succeeded in making it work. Actually, my first attempt had failed because I tried to get the OpenGL context too early (just after the creation of the canvas which worked well on JOGL 1.1.1a). I get it by overriding the method addNotify() and it works very well with all examples provided with the engine. I have posted this sub-project on Sourceforge. |
| http://sourceforge.net/p/ardor3d-jogl2/ | |
| Le portage n’est pas terminé, je dois améliorer le support de Maven, ajouter un canevas basé sur le système de fenêtrage natif de JOGL appelé NEWT (indépendant d’AWT), ajouter un autre canevas basé sur ce dernier mais utilisable en mode "headless" et peut-être ajouter le support de JInput pour les manettes. | This port is not fully implemented, I have to improve its support of Maven, add a canvas based on the native windowing system of JOGL which is called NEWT (AWT independent), add another canvas based on this one but usable in headless mode and maybe add the support of JInput for the joypads. |
| J’utiliserai ce système de rendu dans mon jeu TUER dans quelques semaines. | I will use this renderer in my game TUER in some weeks. |
| Vous pouvez tester ce système de rendu en suivant les étapes ci-dessous : Installer Ardor3D (c’est expliqué ici). Récupérez le code source de mon projet depuis le dépôt SVN avec votre EDI favori (utilisez uniquement l’URL dans ce cas) ou bien en ligne de commande ainsi (utilisez toute la ligne dans ce cas) : |
You can test this renderer by following the steps below: Install Ardor3D (it is explained here). Get the source code of my project from the SVN repository with your favorite IDE (use only the URL in this case) or in command line (use the full line in this case): |
| svn checkout svn://svn.code.sf.net/p/ardor3d-jogl2/code/trunk ardor3d-jogl2-code | |
![]() |
|
| Modifiez le classpath et le Java library path de sorte que Java puisse trouver JOGL. Sous Eclipse 3.7, faites un clic droit sur le projet puis allez dans Properties -> Java Build Path -> Libraries; pour chaque JAR de JOGL (jogl-all.jar et gluegen-rt.jar), éditez le chemin dans la rubrique "Native library location" (choisissez le chemin en fonction de votre système d’exploitation et de son architecture). N.B : Cette étape est désormais facultative. | Modify the classpath and the Java library path so that Java can find JOGL. In Eclipse 3.7, right clic on the project and go to Properties -> Java Build Path -> Libraries; for each JAR of JOGL (jogl-all.jar and gluegen-rt.jar), edit the path in the section "Native library location" (choose the path depending on your operating system and its architecture). N.B: This step is no more mandatory. |
![]() |
|
| Sous Eclipse 3.7, faites un clic droit sur le projet "ardor3d-examples", allez dans Properties -> Java Build Path -> Projects et remplacez "ardor3d-jogl" par "ardor3d-jogl2". | In Eclipse 3.7, right clic on the project "ardor3d-examples", go to Properties -> Java Build Path -> Projects and replace "ardor3d-jogl" by "ardor3d-jogl2". |
![]() |
|
| Enfin, sous Eclipse 3.7, faites un clic droit sur un exemple d’Ardor3D utilisant JOGL et allez sur Run As -> Java Application. | Finally, in Eclipse 3.7, right clic on an example of Ardor3D using JOGL and go to Run As -> Java Application. |
| P.S : Installer ce système de rendu séparément n’est plus nécessaire comme il a été intégré dans Ardor3D 0.9. | P.S: Installing this renderer separately isn’t necessary any more as it has been integrated into Ardor3D 0.9. |
![]() Les photos de cet article sont mises à disposition selon les termes de la Licence Creative Commons Attribution – Pas d’Utilisation Commerciale – Pas de Modification 3.0 non transposé |
![]() The photos of this article are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License |
![]() Cet article est mis à disposition selon les termes de la Licence Creative Commons Attribution – Pas d'Utilisation Commerciale – Partage à l'Identique 3.0 non transposé |
![]() This article is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License |
| Auteur : Julien Gouesse | Author: Julien Gouesse |
-
Articles récents
- Marche citoyenne pour la sixième république dimanche 5 mai 2013 à Paris [Citizens' march for the sixth republic Sunday, May 5th, 2013 in Paris]
- Manifestation du premier mai 2013 lors de la fête du travail à Paris [Demonstration of May first, 2013 during the Labor Day in Paris]
- Chaîne humaine nationale pour réclamer la sortie du nucléaire samedi 9 mars 2013 à Paris [National human chain to demand the phasing out of nuclear power Saturday, March 9th ,2013 in Paris]
- Manifestation en faveur du droit au mariage pour tous et de l’homoparentalité dimanche 27 janvier 2013 à Paris [Demonstration in support of right to marriage for all and same-sex parenting Sunday, January 27th, 2013 in Paris]
- La suite de mes péripéties amoureuses [The sequel of my romantic twists and turns]
Archives
- mai 2013
- mars 2013
- janvier 2013
- décembre 2012
- novembre 2012
- octobre 2012
- septembre 2012
- août 2012
- juillet 2012
- juin 2012
- mai 2012
- avril 2012
- mars 2012
- février 2012
- janvier 2012
- décembre 2011
- novembre 2011
- octobre 2011
- septembre 2011
- juillet 2011
- mai 2011
- avril 2011
- mars 2011
- février 2011
- décembre 2010
- novembre 2010
- octobre 2010
- septembre 2010
- août 2010
Catégories
Categories
Tags
ACTA AdopteUnMec amour Anastasia APRIL art boites de nuit Bénédicte CGT cité U communisme cuisine doom-like droit d'auteur FPS féminisme gastronomie Goldeneye HADOPI Java JOGL Jussieu Krystel l'amour est aveugle LCR LGBTI logiciels libres loppsi 2 manifestation Meetic NPA OpenGL Paris retraite révolution Sarkozy Sophie speed dating SSII TUER télé-réalité UNEF Valentine Valérie Wii






![Suivez-moi sur Identi.ca [Follow me on Identi.ca] Suivez-moi sur Identi.ca [Follow me on Identi.ca]](http://gouessej.files.wordpress.com/2010/08/identi__ca.png)
![Contactez-moi par email [Contact me by email] Contactez-moi par email [Contact me by email]](http://gouessej.files.wordpress.com/2010/09/arobase.png)
![Ajoutez-moi à vos contacts XMPP [Add me to your XMPP contacts] Ajoutez-moi à vos contacts XMPP [Add me to your XMPP contacts]](http://gouessej.files.wordpress.com/2010/10/xmpp_.png)
![Rejoignez-moi sur Viadeo [Follow me on Viadeo] Rejoignez-moi sur Viadeo [Follow me on Viadeo]](http://gouessej.files.wordpress.com/2010/08/viadeo.png)
![Rejoignez-moi sur Mediagoblin [Follow me on Mediagoblin] Rejoignez-moi sur Mediagoblin [Follow me on Mediagoblin]](http://gouessej.files.wordpress.com/2013/05/mediagoblin.png)




Ping: TUER! 5 ans déjà! [TUER! Already 5 years!] | Blog de Julien Gouesse