Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
soya_3d [Le 20/11/2007, 23:46] – créée 83.182.150.15 | soya_3d [Le 01/10/2017, 14:13] (Version actuelle) – [2. Fonctionnalités] 176.142.244.167 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | {{tag> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Soya 3D ====== | ||
+ | |||
+ | ===== 1. Présentation ===== | ||
+ | |||
+ | Soya 3D est un moteur 'haut niveau' | ||
+ | On pourrait dire que Soya est à la 3D, ce que python est à la programmation. Soya 3D a pour principale qualité de permettre un développement rapide de jeux ou d' | ||
+ | |||
+ | Soya 3D est simple à apprendre et donne de bonnes performances. Son principal avantage est de mettre à disposition une documentation relativement importante de tutoriaux et d' | ||
+ | |||
+ | Soya 3D offre les principales capacités que l'on peut attendre d'un moteur 3D comme la gestion basique de scène, cell-shading, | ||
+ | |||
+ | Soya est un Logiciel libre sous licence GNU GPL et est écrit en Pyrex ( un mix de C et de Python) et Python. | ||
+ | |||
+ | ===== 2. Fonctionnalités ===== | ||
+ | Fonctionnalités implémentées: | ||
+ | |||
+ | * Multi-plateform : Linux / Unix, MacOSX, Windows | ||
+ | * Object model, including camera, light, world, volume,... | ||
+ | * Cell-shading | ||
+ | * Shadows | ||
+ | * Particle systems | ||
+ | * Fullscreen | ||
+ | * Tutorials and demos included | ||
+ | * Trees | ||
+ | * Raypicking | ||
+ | * Landscapes | ||
+ | * 3D character animation (with Cal3D) | ||
+ | * Exportation scripts for Blender, Obj/Mtl, Maya and 3DSmax | ||
+ | * Event management (keyboard, mouse, | ||
+ | * Environment mapping | ||
+ | |||
+ | Fonctionnalités spécifiques de Soya (habituellement non présentes dans la plupart des autres moteurs 3D): | ||
+ | |||
+ | * Soya takes care of coordinate system conversion automatically! | ||
+ | * Soya imports Blender models automatically! | ||
+ | * Soya automatically regulate the rendering speed by modifying the animation quality! | ||
+ | * Soya is able to determine automatically which objects are static, and to optimize their rendering! (work in progress) | ||
+ | * Soya's object, including the ones you may create using inheritance, | ||
+ | |||
+ | |||
+ | ===== 3. Exemple de code ===== | ||
+ | {{basic-1.jpeg|}} | ||
+ | |||
+ | # Imports sys, os modules and the Soya module. | ||
+ | | ||
+ | |||
+ | # Initializes Soya (creates and displays the 3D window). | ||
+ | | ||
+ | |||
+ | # Add the path " | ||
+ | | ||
+ | |||
+ | # Creates a scene. | ||
+ | scene = soya.World() | ||
+ | |||
+ | # Loads the sword model (from file " | ||
+ | | ||
+ | |||
+ | # Create the model. | ||
+ | sword = soya.Body(scene, | ||
+ | |||
+ | # To view it better, we moves the sword to the right. | ||
+ | | ||
+ | |||
+ | # Rotates the sword on the Y axis, of 60.0 degrees. | ||
+ | | ||
+ | |||
+ | # Creates a light in the scene. | ||
+ | light = soya.Light(scene) | ||
+ | | ||
+ | |||
+ | # Creates a camera in the scene | ||
+ | | ||
+ | | ||
+ | |||
+ | # Say to Soya that the camera is what we want to be rendered. | ||
+ | | ||
+ | |||
+ | # Creates an ' | ||
+ | | ||
+ | |||
+ | ===== 4. Jeux développé avec Soya 3D ===== | ||
+ | Voir cette adresse : http:// | ||
+ | ===== 5. Tutoriaux ===== | ||
+ | Voir cette adresse : http:// | ||
+ | |||
+ | ===== 6. Site officiel (anglais) ===== | ||
+ | http:// | ||