je viens de développer une abstraction jitter pour gérer le fullscreen sans jit.gl.videoplane qui est un peu lourd pour certaine carte graphique
l'intérêt de cette abstraction est qu'elle conserve le ratio de la vidéo avec éventuel ajout des bandes noires et qu'elle gère le dual screen
<pre><code> ----------begin_max5_patcher---------- 3781.3oc0cssbaabF9ZmYx6.F46Zjc2yG5zKReNZxjghDVFITjZHohkZl9tW PfERjxUB+jX28a43wl1Pzj+3C+mOs+0O9Ce3paV+X81qp9GU+6pO7g+p8Jen 6Z6uxGFtvGt5tYONe4rscuwqVU+s0276Wcc3msq9wccWu44K8k0q1ss4+Tu+ xbwmYCWe0C20rZY8ttOGwvUue1t4esY0s+1l5465IEmh09+pR45dQJ9r95JQ 6eu5WO3iZ8C6F9r3CWt+Z6d5959OnqZV09Q9qGRXqlcW2O7p+0llYKellaVz cw16rOw41q5t5+8G+g8u19x0kD5XcPQGAqrQGQGrvwfNZYQCNFCRvwItD3bB JexM3nLkMmiRiDbzEM3n0cfCW.AbjtxFb3LjfSYaKWD7zwqg.Nks0JoGJ3T1 VqT5NvQKv.N7xVrxoABNhx1Zkj0y43f.NEdvUJoFI3j.wpadXwhmprmFDYG2 Uvg.s54ldOLx9lXzUW+F+9TANe7wskqms3lYqt8z.N96.bgvt3rN7yLJt817 Vcz0ohQSPva956tqtke96.o5symcec0t02d6x5pu7vxkamuotdUDAMSGZ0yy w0iBZrSThyj.VmMCHwoACrwsnoDAWhNedmSWojYBgldyC61s9E1AxO1Gtee4 AdjjUN5Fylhm8eqYUbez2GiPPsqVj0G85KADJnQs8EF.HRcQn.QcDDkYEHxK B4LaGz3MHXhDWPLQNKBdnD3Z71yCgdW2UBdE260hlGc2UXo.FNGQIJd5FPAU rQAsGfGIAyvVcB8HQOgb4dW81syts96e9tX6tEMs9uun5ixpOphXZV5UDXMA myE8EWJOJDz1jAUa2MaytJVEKhPUeIBr8oWfqxKTYRAT0bWz4m5EwrA243lr BRIwU2+rYwiQzEE8QYmJmFfcpxGd38UJXnfAYEdR.2y8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VhjGnVE60JLdOxCP.2zJsHCC0Qr8S7dbXGiF1Af wiQSqBCk8VZ95wvDjAstT76z8TTTmGiS7V54vK+DmiDWGnrBXIosyHJXjyfw 8XZoSwhoXJFRd.XwTN.KovdrfZGaZk0Fia6BR54.4ULQjCTDEjxD.nReRKO. f5AEAIWNAEksf1Tr4J3ATn6VfiA43jPN.DGoLOIT3HNFIhCf.AiVRw.kVGRD mCGwwIQb.xJgm7iU.DGs5dhp3XT5xdg.GwMtdNPYygV0IPkKGZCqKFC+jBaE yPNSB2TXrOnHEuuBS79JZ8dBF+f0zxwDFsbcesipBVqvQbiNhXfpPrljJXEF GlnsGLTXbXRwHqJAfdNZFHvjiIKoPpsXLeYIE6En0aBQhCi2bZRBDFMNyWi5 GrCi.gijgemufss5wzhNcOvnQb.JnIiDOGFyWdRRqNLF98zFmSANhazGqdEN habABCNhaTOg8.44FeMSvX3ntw2PGLfhDiOiyLLxDNRo1zipU5nkOctBTiHx oSdHPOhM3LnxQPrdDLT6KIZM3LmCj7FufIbP8eMiHuGnxRvDkM4wJYxy6JZp yTzTWQKW3KawBh0gkCzIY6388OpR1oK5mshSXqhUtjmDzlJh5lmVTznGnUOM sLGqA4nGs02AFe3IAbVTtfR9..H+qyNqm71...w4HSbJHrbbROUAnHgTqIBp pmz1W2X.NZadRipf6KFIntbljrpwT14uCUJdnMyeLP9bRL8hBTGmHzd3x7Eb +wnkEbmE4.M2ejRB.nUxhlVy6.pKOJ3CNIAMeSjfVRQzFsNPaoHKqjAOhmkX fnNWQicNSQScxRl5rbxQ+CHFVAYhCPLrRxolfWnDGGSOsYbjItoIPr+Bsu7+ .ehCNhC -----------end_max5_patcher----------- </code></pre>
les arguments sont
- nom de la fenetre
- numero de l'écran (0 ou 1)
- résolution de la vidéo
j'ai testé sur 2 ordis sur un des deux (seulement !?) j'ai une erreur
jit_gl_support_init: float pixel formats: GL Error: Invalid enumeration
mais ça fonctionne quand même
ça me parait suffisamment louche pour que je l'ignore pour le moment
surtout si vous remarquez des bugs je prends
Dernière modification par kro (2010-01-10 16:48:57)
Hors ligne
cool ça simplifie beaucoup le truc
<pre><code> ----------begin_max5_patcher---------- 2928.3oc2c01aaajD9yt.8+.g72NjjtuujGtOz62w0hBZIFG1JQZPJU6bE2+ 8ij6xXI6HqQz6rCYQPLSnjkd3CmY140k+0O9C2r5t5mJZWk7OS9OI2bye0cl aFNW+YtY7D2rZW9Sq2l2N7FWUU7X8c+9pO3es8EOse37aJ1ln+1o+bc091x+ aQ+KwEehMd9pC6pOreaw9gOL93oeHe+5uTVc+u0TrduCOJc2uURFi0ePZ6+o n6em7qi+NtOm8e8gB2uvp6xqte0yudODpx2M7pq92Mk4a+F5J2LbxtqiO9Lj 6fVY0HxDCm7+8i+P+wtCe3cyOsIqqa1zdkLD6MXHiYfa35gCprWSQvn.42mB 3AmB9X.EOrrA4Cgd3fT7I8EkOJq1e0hG7TarDPBI6XTQhcLwhct6vlMe8JYH A.4GwvAkDf8kUen6uWOEoWpTznPD9TjJ3Tzgc2UzDPtPnb1ZYNwFmIW.ZTeX hKKwsrfaUNzbBOM1bBe9yIhXyIhYOmXhMkDMGZNT8P95+HoMob7OWIsYtHsk 4NjlAz5qm4N6gqmMUwhMaljGx7KSgRmCxPhgXB7yYVemsvj1bK16soSm3lNZ ha+d49Osor8gs4esM7td6WHvXPQnyjFZVZWQaa98EullVW2qTlbqH7bTlihj NAu.SQBQr76tLjg05DajbbCbSKWhjiOgGXSNoKRIGc5w1cPibjoKRxwG9F1j icIRN9rDoRQlbVj1bTr3PNKRaNJiKjNNxjCeIRNRWoKvlbD5EI43VCWawkb3 KRCxJWNRPmbhlZ0157MC4xIbbjK1Ad1fXjggU4AsgNNq0061UzGe7K4nh104 OTjru9962Vj74Ca21ttonnJfELz57PTpOprgSofgbSV7xIjmIBug4wU1yvIB cSnSKzcG1uutZ0zudc22ESPW4jKLa7t2+XYUXu0yc2y8E+SKv4VezxHHdLDm 4b3EKJREOJJ7FPTmPQXY.QtjkhLQQJ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iIf40DMFSTyXuRLVv2UmunyLmQW5bFbYxYM5l0hcbIQwfYfkbG CQqS.yqSMM9NALg6RZRaWldFScYx478UEXycwGbJ3KxFeuNkvk4H.bl4L3xf t9e7wV5Ll23FXFg0T45DrT5PT9qMfrzkRkicfVjfnJxBL0+5LZPGrn+opKTz .KLgcdCOy7FdDEwi.VmTz2mmTTrcgATenLjRYpfGCF7nHfLPYZOipvEgU6IA QJtvpuyqjPiVRYABOh5EfWZv3sfGAQzlABcLZPGvJo7xKhXxcLXbGABdLXVU XTsdKLe8Xz3EOrBt+JaOyJzkQiS7V3IIif1bGjTGQgcaAYsyHlwLmgF2igku BKMUqv.xC.KQsIKnvdHpMTgUGEAMtsK.YmiHuhAxbDEQArIHiFsUX4APPTBx .4xIQQYKf0Xroy3dsSPyPP8xu12f4H.bfx7jPQG3Xf.GAJDLXIEinz5.axwn CbbPfifrRjA91JESkErRnPTswfLzSTMRVvryQT1bfUcBpxkCHvQiQXEHvonw HrBTP0JZBpVAqCJnwYSMHEBEMKeAaPmTzr7khAVli.EBX6QFzDwuET.NVZVa E17NqXyYvQyZq1LvM6jL9fKEL3TwGbfB9hHKIvFtNZrjHAwbF0L1oDIQ4wAj 9fwLiW2WKmwdLkRi15bdt0EvrxIIpgNgUFBh5nyT1bl7fsshQF5jyYzwgUsZ NQEc0xl2jGn6sVh5lSq.L5HX1IrbvnSR.5XfQmhfbbBq+WnwG.vD26Ca8mn6 v+Gvohzam -----------end_max5_patcher----------- </code></pre>
kro a écrit:
je vais pour voir simplifier
houlala
Hors ligne