Outils pour utilisateurs

Outils du site


panda3d_installation_sur_debian

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
panda3d_installation_sur_debian [2018/07/24 11:45] – [Dépendances] sergepanda3d_installation_sur_debian [2020/10/30 10:21] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. serge
Ligne 1: Ligne 1:
 ======Panda3d Installation sur Debian====== ======Panda3d Installation sur Debian======
 +
 +<WRAP center round info 60%>
 +**Installation de Panda3d**\\ 
 +**Première approche de Panda**\\ 
 +</WRAP>
 +
 +=====Installation=====
 Il y a un paquet .deb pour Ubuntu, mais rien sur Debian. Il y a un paquet .deb pour Ubuntu, mais rien sur Debian.
  
 Testé sur Debian 9 Stretch en juillet 2018. Testé sur Debian 9 Stretch en juillet 2018.
 +<code>
 +sudo pip3 install --pre --extra-index-url https://archive.panda3d.org/ panda3d
 +[sudo] Mot de passe de pierre : 
 +Collecting panda3d
 +  Downloading http://buildbot.panda3d.org/downloads/4b8ff0573e8b912591d02062e1240c2726e09323/panda3d-1.10.0.dev1710-cp35-cp35m-manylinux1_x86_64.whl (43.5MB)
 +    100% |████████████████████████████████| 43.5MB 7.2MB/
 +Installing collected packages: panda3d
 +Successfully installed panda3d-1.10.0.dev1710
 +</code>
 +
 +  * [[https://github.com/panda3d/panda3d/blob/master/README.md|Panda3d sur GitHub]]
 +  * [[https://www.panda3d.org/manual/index.php/Installing_Panda3D_in_Linux|Installation sur Linux]]
 +  * [[https://www.panda3d.org/manual/index.php/Building_Panda3D_from_Source|Compilation]]
 +  * **[[https://www.panda3d.org/manual/index.php/Main_Page|Documentation]]**
  
-=====Téléchargement des sources=====+=====Hello world=====
  
-=====Dépendances=====+<file python panda_hello_world.py> 
 +<#!/usr/bin/env python3 
 +# -*- coding: utf-8 -*-
  
 +from direct.showbase.ShowBase import ShowBase
 +from direct.gui.OnscreenText import OnscreenText
  
-WARNINGCould not locate pkg-config package eigen3, excluding from build +class MyApp(ShowBase)
-WARNING: Could not locate thirdparty package artoolkit, excluding from build +  
-WARNINGCould not locate thirdparty package fcollada, excluding from build +    def __init__(self)
-WARNING: Could not locate thirdparty package ffmpeg, excluding from build +        ShowBase.__init__(self) 
-WARNING: Could not locate thirdparty package swscale, excluding from build +  
-WARNING: Could not locate thirdparty package swresample, excluding from build +        # Load the environment model. 
-WARNING: Could not locate thirdparty package fftw, excluding from build +        self.scene = self.loader.loadModel("models/environment") 
-WARNING: Could not locate thirdparty package fmodex, excluding from build +        # Reparent the model to render. 
-WARNING: Could not locate thirdparty package gles, excluding from build +        self.scene.reparentTo(self.render) 
-WARNING: Could not locate thirdparty package nvidiacg, excluding from build +        # Apply scale and position transforms on the model. 
-WARNING: Could not locate thirdparty package odeexcluding from build +        self.scene.setScale(0.250.250.25) 
-WARNING: Could not locate thirdparty package openalexcluding from build +        self.scene.setPos(-8420) 
-WARNING: Could not locate thirdparty package squishexcluding from build +        textObject = OnscreenText(  text = 'Hello World !'
-WARNING: Could not locate thirdparty package tiffexcluding from build +                                    pos = (-0.1-0.8)
-WARNING: Could not locate thirdparty package vrpnexcluding from build +                                    scale = 0.3) 
-WARNING: Could not locate thirdparty package bulletexcluding from build +  
-WARNING: Could not locate thirdparty package vorbisexcluding from build +app = MyApp() 
-WARNING: Could not locate thirdparty package opencv, excluding from build +app.run()> 
-WARNING: Could not locate thirdparty package rocket, excluding from build +</file>
-WARNING: Could not locate thirdparty package xf86dga, excluding from build+
  
 +Excécution de ce script avec:
 +  python3 hello_world.py
 +  
 +{{ media_10:panda_hello_world.png?300 }}
  
-{{tag>panda3D sb}}+{{tag>moteur_de_jeux sb}}
panda3d_installation_sur_debian.1532432755.txt.gz · Dernière modification : 2018/07/24 11:45 de serge