Annonce

Réduire
Aucune annonce.

création de scène : PlugIn exportation texture objets sketchup 3D

Réduire
X
 
  • Filtre
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages

  • #1
    Bonjour Ypsos,
    Désolé de lire tes ennuis, je t'avais promis un exécutable et je ne l'ai pas encore fait... j'ai un peu perdu de vue cet
    outil mais dès que je m'y remettrai ce sera mon premier souci.
    Bon courage.
    Linux Debian sid - Intel i7 4Ghz - 16Gb RAM - Nvidia GTX 970
    Ortho4XP v130 : Dépôt github (mises à jour au fil de l'eau (avant la période de sécheresse)), ou Version clés en main sous Windows.

    Commentaire


    • #1
      Envoyé par Ypsos Voir le message
      Salut

      merci pour l'aide

      comme je n'y connais rien en ligne de commande voici ce que cela a donné avec 2 formulations de lignes:


      imac:~ rl$ Execute Update Shell Profile.command
      -bash: Execute: command not found

      imac:~ rl$ Execute Update Shell Profile

      -bash: Execute: command not found

      Dans l'image que tu mis en piéce jointe précedement, tu vois Update Shell Profile,

      Tu te places dans le dossier Python 3.7 et il suffit de cliquer sur l'icone Update Shell Profile.command


      Pour voir si rectpack est installé, dans un terminal tu tapes:

      python3

      puis touche "Entrée",ce qui donne:

      jean@jean-Compaq-6820s ~ $ python3
      Python 3.5.2 (default, Nov 23 2017, 16:37:01)
      [GCC 5.4.0 20160609] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>>

      et aprés les >>> tu tapes

      import rectpack

      puis touche "Entrée",ce qui donne:

      jean@jean-Compaq-6820s ~ $ python3
      Python 3.5.2 (default, Nov 23 2017, 16:37:01)
      [GCC 5.4.0 20160609] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import rectpack
      >>>

      Là c'est OK, sinon no module rectpack (ou quelque chose de semblable)

      PS: je suis actuelement à la montagne chez mes enfants et je ne dispose ni de mon Hackintosh ni de X-plane.
      Dernière modification par jasum, 07 novembre 2018, 12h06.
      Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

      Commentaire


      • #1
        merci pour vos aides et efforts

        en cliquant sur update shell profile, j'ai ceci dans le terminal et après opération dans le terminal il n'accepte aucune entrée ni saisie de texte
        You have new mail.
        imac:~ rl$ /Applications/Python\ 3.7/Update\ Shell\ Profile.command ; exit;
        This script will update your shell profile when the 'bin' directory
        of python is not early enough of the PATH of your shell.
        These changes will be effective only in shell windows that you open
        after running this script.
        All right, you're a python lover already
        logout
        Saving session...
        ...copying shared history...
        ...saving history...truncating history files...
        ...completed.


        [Opération terminée]

        en faisant python 3

        imac:~ rl$ python3
        Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 03:13:28)
        [Clang 6.0 (clang-600.0.57)] on darwin
        Type "help", "copyright", "credits" or "license" for more information.
        >>>


        et ensuite import rectpack j'ai ceci à la fin


        imac:~ rl$ python3
        Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 03:13:28)
        [Clang 6.0 (clang-600.0.57)] on darwin
        Type "help", "copyright", "credits" or "license" for more information.
        >>> import rectpack
        >>>





        et il attend les autres instructions en cliquant sur la fermeture du terminal j'ai ce message:

        Voulez-vous arrêter les processus en cours dans cette fenêtre ?
        La fermeture de cette fenêtre entraînera la fin du processus Python en cours d’exécution.


        Multijoueur :xPlane Pilote Controle
        Mac Studio M2 Max 96 Go SSD 2To
        1 SSD externe 4To,
        2 Serveurs 2DD x 4 To Archivage
        1 Serveur 2DD x 8 To téléchargement
        1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
        Tahoe
        x-Plane12
        Ipad
        Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
        -Le post accompagnement sur xPlane.fr
        -Le site dédié aux débutants
        -Les vidéos
        - Zone téléchargement

        Commentaire


        • #1
          C'est OK
          Pour fermer la console c'est ctrl D
          et tu devrais pouvoir te servir du plugin d'Oscar
          Dernière modification par jasum, 07 novembre 2018, 15h03.
          Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

          Commentaire


          • #1
            Envoyé par jasum Voir le message
            C'est OK
            Pour fermer la console c'est ctrl D
            et tu devrais pouvoir te servir du plugin d'Oscar

            Et ben non.

            La moulinette d'Oscar ne fonctionne plus chez moi


            imac:Antenne copie rl$ /Users/rl/Desktop/Antenne\ copie/mutzig__1_.obj /Users/rl/Desktop/Antenne\ copie/objutils_combined.py
            -bash: /Users/rl/Desktop/Antenne copie/mutzig__1_.obj: Permission denied
            Multijoueur :xPlane Pilote Controle
            Mac Studio M2 Max 96 Go SSD 2To
            1 SSD externe 4To,
            2 Serveurs 2DD x 4 To Archivage
            1 Serveur 2DD x 8 To téléchargement
            1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
            Tahoe
            x-Plane12
            Ipad
            Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
            -Le post accompagnement sur xPlane.fr
            -Le site dédié aux débutants
            -Les vidéos
            - Zone téléchargement

            Commentaire


            • #1
              Tu mets le script python dans le même répertoire que ton objet. Puis tu lances la commande python objutils_combined.py mon_objet.obj
              PPL en cours sur LFPN avec l'Aéro-club AIR FRANCE

              Machine : Amstrad CPC464 sous Vulkan
              https://ailgorbot.wordpress.com/

              Commentaire


              • #1
                Vérifie que as les droits de lecture/écriture sur les Objets et répertoire images&images
                PPL en cours sur LFPN avec l'Aéro-club AIR FRANCE

                Machine : Amstrad CPC464 sous Vulkan
                https://ailgorbot.wordpress.com/

                Commentaire


                • #1
                  Envoyé par ailgorbot Voir le message
                  Tu mets le script python dans le même répertoire que ton objet. Puis tu lances la commande python objutils_combined.py mon_objet.obj
                  Merci c'est effectivement la bonne procédure depuis que j'avais l'idée d'une moulinette et qui a été avec brio réalisée par Oscar.

                  Grâce à Oscar j'ai pu depuis le début de cette aventure "mouiliner" plus de 300 objets intégrés dans les scènes diffusées et utilisées lors des events en réseau multijoueur .

                  J'ai même testé la ligne de commande en inversant l'ordre entre la moulinette et l'outil au cas ou:

                  imac:Antenne rl$ /Users/rl/Desktop/Antenne/objutils_combined.py /Users/rl/Desktop/Antenne/PARACHUTE.obj
                  Traceback (most recent call last):
                  File "/Users/rl/Desktop/Antenne/objutils_combined.py", line 4, in <module>
                  from PIL import Image, ImageFilter, ImageStat
                  ModuleNotFoundError: No module named 'PIL'
                  imac:Antenne rl$


                  Autre précision:

                  des objets que j'ai déjà pu convertir et qui sont déjà publiés dans mes scènes, je rencontre le même message de permission denied

                  imac:~ rl$ cd /Users/rl/Desktop/deux_Rives
                  imac:deux_Rives rl$ /Users/rl/Desktop/deux_Rives/Pont01.obj /Users/rl/Desktop/deux_Rives/objutils_combined.py
                  -bash: /Users/rl/Desktop/deux_Rives/Pont01.obj: Permission denied
                  Dernière modification par Ypsos, 07 novembre 2018, 17h55.
                  Multijoueur :xPlane Pilote Controle
                  Mac Studio M2 Max 96 Go SSD 2To
                  1 SSD externe 4To,
                  2 Serveurs 2DD x 4 To Archivage
                  1 Serveur 2DD x 8 To téléchargement
                  1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
                  Tahoe
                  x-Plane12
                  Ipad
                  Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
                  -Le post accompagnement sur xPlane.fr
                  -Le site dédié aux débutants
                  -Les vidéos
                  - Zone téléchargement

                  Commentaire


                  • #1
                    Envoyé par ailgorbot Voir le message
                    Vérifie que as les droits de lecture/écriture sur les Objets et répertoire images&images
                    merci pour cette piste

                    comme administrateur j'ai les droits sur le dossier et son contenant ( objet et png)

                    Cliquez sur l'image pour la voir en taille réelle 

Nom : 		Sans titre.jpg 
Affichages :	1 
Taille :		17,7 Ko 
ID : 			464909
                    Dernière modification par Ypsos, 07 novembre 2018, 17h55.
                    Multijoueur :xPlane Pilote Controle
                    Mac Studio M2 Max 96 Go SSD 2To
                    1 SSD externe 4To,
                    2 Serveurs 2DD x 4 To Archivage
                    1 Serveur 2DD x 8 To téléchargement
                    1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
                    Tahoe
                    x-Plane12
                    Ipad
                    Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
                    -Le post accompagnement sur xPlane.fr
                    -Le site dédié aux débutants
                    -Les vidéos
                    - Zone téléchargement

                    Commentaire


                    • #1
                      Il te manque pillow:

                      pip3 install pillow
                      Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

                      Commentaire


                      • #1
                        Envoyé par jasum Voir le message
                        Il te manque pillow:

                        pip3 install pillow
                        bien vu ModuleNotFoundError: No module named 'PIL'
                        PPL en cours sur LFPN avec l'Aéro-club AIR FRANCE

                        Machine : Amstrad CPC464 sous Vulkan
                        https://ailgorbot.wordpress.com/

                        Commentaire


                        • #1
                          désolé pour retard suite à l'indisponibilité de nos forums

                          install pillow?



                          imac:~ rl$ pip3 install pillow
                          Collecting pillow
                          Downloading https://files.pythonhosted.org/packa..._10_x86_64.whl (3.6MB)
                          100% |████████████████████████████████| 3.6MB 9.0MB/s
                          Installing collected packages: pillow
                          Successfully installed pillow-5.3.0
                          imac:~ rl$ cd /Users/rl/Desktop/Antenne
                          imac:Antenne rl$ /Users/rl/Desktop/Antenne/objutils_combined.py /Users/rl/Desktop/Antenne/PARACHUTE.obj
                          Traceback (most recent call last):
                          File "/Users/rl/Desktop/Antenne/objutils_combined.py", line 6, in <module>
                          import numpy
                          ModuleNotFoundError: No module named 'numpy'
                          imac:Antenne rl$



                          et un nouveau problème





                          J'installe numpy on tourne en rond



                          You have new mail.
                          imac:~ rl$ install numpy
                          usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                          [-o owner] file1 file2
                          install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                          [-o owner] file1 ... fileN directory
                          install -d [-v] [-g group] [-m mode] [-o owner] directory ...
                          imac:~ rL$


                          Dernière modification par Ypsos, 09 novembre 2018, 22h23.
                          Multijoueur :xPlane Pilote Controle
                          Mac Studio M2 Max 96 Go SSD 2To
                          1 SSD externe 4To,
                          2 Serveurs 2DD x 4 To Archivage
                          1 Serveur 2DD x 8 To téléchargement
                          1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
                          Tahoe
                          x-Plane12
                          Ipad
                          Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
                          -Le post accompagnement sur xPlane.fr
                          -Le site dédié aux débutants
                          -Les vidéos
                          - Zone téléchargement

                          Commentaire


                          • #1
                            Envoyé par Ypsos Voir le message
                            désolé pour retard suite à l'indisponibilité de nos forums

                            install pillow?



                            imac:~ rl$ pip3 install pillow
                            Collecting pillow
                            Downloading https://files.pythonhosted.org/packa..._10_x86_64.whl (3.6MB)
                            100% |████████████████████████████████| 3.6MB 9.0MB/s
                            Installing collected packages: pillow
                            Successfully installed pillow-5.3.0
                            imac:~ rl$ cd /Users/rl/Desktop/Antenne
                            imac:Antenne rl$ /Users/rl/Desktop/Antenne/objutils_combined.py /Users/rl/Desktop/Antenne/PARACHUTE.obj
                            Traceback (most recent call last):
                            File "/Users/rl/Desktop/Antenne/objutils_combined.py", line 6, in <module>
                            import numpy
                            ModuleNotFoundError: No module named 'numpy'
                            imac:Antenne rl$



                            et un nouveau problème





                            J'installe numpy on trouve en rond



                            You have new mail.
                            imac:~ rl$ install numpy
                            usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                            [-o owner] file1 file2
                            install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                            [-o owner] file1 ... fileN directory
                            install -d [-v] [-g group] [-m mode] [-o owner] directory ...
                            imac:~ rL$


                            pip install numpy
                            Ubuntu 23.10 LTS-64b / Xplane 10.51r2-11.51b2 - XP12.09 / i7 4930K / 32Go Ram / Nvidia GTX 2080 TI OC 11G / Pilote 535.161.07 / Samsung 49" Qled 5K incurvé / Thrustmaster Hotas Warthog / Palonnier MFG Crosswind / X-Touch mini.

                            Commentaire


                            • #1
                              Merci

                              fait


                              imac:~ rl$ pip install numpy
                              Collecting numpy
                              Downloading https://files.pythonhosted.org/packa..._10_x86_64.whl (24.5MB)
                              100% |████████████████████████████████| 24.5MB 1.7MB/s
                              Installing collected packages: numpy
                              Successfully installed numpy-1.15.4
                              imac:~ rl$




                              La moulinette d'oscar a enfin pu être lancée mais....Grrr !!!! le seigneur de l'informatique m'a encore envoyé un messager d'erreur

                              Last login: Fri Nov 9 23:15:53 on ttys000

                              You have new mail.
                              imac:~ rln$ cd /Users/rln/Desktop/Antenne
                              imac:Antenne rln$ /Users/rln/Desktop/Antenne/objutils_combined.py /Users/rln/Desktop/Antenne/PARACHUTE.obj


                              I. Reading the mtl file and analyzing textures
                              ################################################## #############################




                              II. Analyzing mesh and deciding about subtiling
                              ################################################## #############################




                              --> Texture Duo-Gard.PNG did not necessitate tiling.
                              -> Texture final size would be : 228 x 90 (downscale limited).


                              --> Texture Translucent_Glass_Gray1.PNG was used with tiling in the .obj file :
                              9 tiles in width for a texture of initial width 510 ,
                              10 tile in height for a texture of initial height 482 .
                              Texture initial resolution was roughly 1677 pix/m.
                              Texture initial face count was : 12
                              Texture approx face count in order to avoid tiling would be : 212 ,
                              a ratio of : 17.7 .
                              Texture standard deviation is [59.6, 59.6, 59.6] .
                              -> Texture tiling will end-up being : 9 x 10
                              -> Texture final size would be : 128 x 121 (downscale limited).


                              --> Texture Translucent_Glass_Gray.PNG was used with tiling in the .obj file :
                              2 tiles in width for a texture of initial width 510 ,
                              21 tile in height for a texture of initial height 482 .
                              Texture initial resolution was roughly 1671 pix/m.
                              Texture initial face count was : 100
                              Texture approx face count in order to avoid tiling would be : 2436 ,
                              a ratio of : 24.4 .
                              Texture standard deviation is [56.4, 56.4, 56.4, 0.2] .
                              -> Texture tiling will end-up being : 2 x 21
                              -> Texture final size would be : 128 x 121 (downscale limited).


                              --> Texture Concrete_Aggregate_Smoke1.PNG did not necessitate tiling.
                              -> Texture final size would be : 64 x 64 (downscale limited).


                              --> Texture Concrete_Aggregate_Smoke2.PNG was used with tiling in the .obj file :
                              28 tiles in width for a texture of initial width 256 ,
                              28 tile in height for a texture of initial height 256 .
                              Texture initial resolution was roughly 840 pix/m.
                              Texture initial face count was : 12
                              Texture approx face count in order to avoid tiling would be : 1620 ,
                              a ratio of : 135.0 .
                              Texture standard deviation is [21.8, 22.3, 22.4] .
                              -> Texture tiling will end-up being : 28 x 28
                              -> Texture final size would be : 171 x 171 .


                              III. Packing of textures
                              ################################################## #############################


                              Trying square bin size
                              Traceback (most recent call last):
                              File "/Users/rln/Desktop/Antenne/objutils_combined.py", line 450, in <module>
                              if len(bin.get_rect_list())==i:
                              AttributeError: 'MaxRectsBssf' object has no attribute 'get_rect_list'

                              imac:Antenne rln$







                              Multijoueur :xPlane Pilote Controle
                              Mac Studio M2 Max 96 Go SSD 2To
                              1 SSD externe 4To,
                              2 Serveurs 2DD x 4 To Archivage
                              1 Serveur 2DD x 8 To téléchargement
                              1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
                              Tahoe
                              x-Plane12
                              Ipad
                              Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
                              -Le post accompagnement sur xPlane.fr
                              -Le site dédié aux débutants
                              -Les vidéos
                              - Zone téléchargement

                              Commentaire


                              • #1
                                Est-ce que c'est un objet simple (une petite maison avec 4 murs) pour ton test?... pour certains .obj ça coince... Voir un peu plus haut dans le post.
                                PPL en cours sur LFPN avec l'Aéro-club AIR FRANCE

                                Machine : Amstrad CPC464 sous Vulkan
                                https://ailgorbot.wordpress.com/

                                Commentaire

                                Chargement...
                                X