Si sente parlare sempre di più di GMOGRE così ho colto l'occasione per parlare di questa nuovissima dll dedicata a GM.
Ogre3d porting per GM, fonte ufficiale:
http://gmc.yoyogames.com/index.php?showtopic=455439
Traduzione fonte, fatta velocemente:
Spoiler
GMOgre3d è un port per GM del popolarissimo motore 3d open-source OGRE (Object-Oriented Graphics Rendering Engine).
Perchè fare il porting di OGRE per GM? Perchè il supporto 3d built-in su Game Maker contiene solamente le funzionalità 3d più semplici.
Se si vuole usare un 3d migliore per i propri giochi bisogna rivolgersi a librerie grafiche di terze parti come OGRE.
Ho scelto di portare OGRE su GM perchè è un motore 3d molto popolare ed è costantemente aggiornato e migliorato.
Inoltre ha una grande e appassionata base di utenti attivi.
Caratteristiche in Eng:
Spoiler
Material / Shader support
* Powerful material declaration language allows you to maintain material assets outside of your code
* Supports vertex and fragment programs (shaders), both low-level programs written in assembler, and high-level programs written in Cg
* Supports the complete range of fixed function operations such as multitexture and multipass blending, texture coordinate generation and modification, independent colour and alpha operations for non-programmable hardware or for lower cost materials
* Multiple pass effects, with pass iteration if required for the closest ‘n’ lights
* Support for multiple material techniques means you can design in alternative effects for a wide range of cards and GMOgre3D automatically uses the best one supported
* Material LOD support; your materials can reduce in cost as the objects using them get further away
* Load textures from PNG, JPEG, TGA, BMP or DDS files, including unusual formats like 1D textures, volumetric textures, cubemaps and compressed textures (DXT/S3TC)
Meshes
* Flexible mesh data formats accepted, separation of the concepts of vertex buffers, index buffers, vertex declarations and buffer mappings
* Progressive meshes (LOD), manual or automatically generated
* Static geometry batcher
Animation
* Sophisticated skeletal animation support
* Flexible shape animation support
* Animation of SceneNodes for camera paths and similar techniques, using spline interpolation where needed
* Generic animation tracks can accept pluggable object adaptors to enable you to animate any parameter of any object over time
Scene Features
* Highly customizable, flexible scene management, not tied to any single scene type. Use predefined classes for scene organization if they suit or plug in your own subclass to gain full control over the scene organization
* Hierarchical scene graph; nodes allow objects to be attached to each other and follow each others movements, articulated structures etc
* Multiple shadow rendering techniques, both modulative and additive techniques, stencil and texture based, each highly configurable and taking full advantage of any hardware acceleration available.
* Scene querying features
Newton Physics
* Integration of Newton Physics and collisions
* Ball and Socket, Hinge, and Slider Joints
GUI
* Integration of a full GUI system
* Windows, Buttons, RadioButton, CheckBoxes, ListBoxes, ComboBoxes, EditBoxes, Spinners, Sliders, Menus, ProgressBars, TabControl, Multiline EditBoxes, MultiColumn Listboxes, and more!
* Fully skinnable
* GUI layout editor
Special Effects
* Compositor system, allowing for full-screen postprocessing effects to be defined easily, via scripts if desired
* Particle Systems, including easily extensible emitters, affectors and renderers (customisable through plugins). Systems can be defined in text scripts for easy tweaking. Automatic use of particle pooling for maximum performance
* Support for skyboxes, skyplanes and skydomes, very easy to use
* Billboarding for sprite graphics
* Transparent objects automatically managed (rendering order & depth buffer settings all set up for you)
Paged Geometry
* Dynamic geometry paging system, which enables infinite worlds
* Batched rendering LOD for optimized rendering of near-by trees
* Impostor rendering LOD for extremely fast rendering of distant trees
* Flexible LOD display system, which can be expanded to display geometry with any technique you can implement
* Flexible LOD configuration system, which allows you to configure any combination of supported LODs in any way you want
* Optional cross-LOD fade transitions, and far LOD fade-out, fully configurable
* Flexible PageLoader system, allowing you to dynamically load geometry from any source you can imagine
* Easy addition / removal of trees with bit packing, allowing millions of trees to be stored in RAM using only a few MBs
* Color-map support for trees, which enables you to apply terrain lightmaps to your trees with one simple function call
* Animated, optimized grass rendering system. Supports density maps, color maps, wind animations, height range restriction, and much more.
Licenza:
GMOgre3d usa la licenza LGPL (
http://www.gnu.org/copyleft/lesser.html) che significa che è completamente gratis per l'uso personale e commerciale.
Documentazione: http://code.google.com/p/gmogre3d/wiki/Tutorials?tm=6
Download: http://gmogre3d.googlecode.com/files/Examples-v110.zip
Problemi vari:
Il motore di renderizzazione richiede la versione DX9 del Novembre 2008 o maggiore.
Se riscontrate un errore tipo d3dx9_41.dll mancante significa che avete una versione vecchia che dovete aggiornare qui:
http://www.microsoft.com/downloads/deta ... 2d8712d553
Nel caso di altri problemi scrivete in questo topic.
Se dice che non si hanno le dx9:
http://gmitalia.altervista.org/gmi_foru ... 213#p68213
Contributi by:
GMOgre logo by mauge
GMOgre font by "Baby Kruffy" @
http://www.dafont.com
Ogre head by
[email protected]
Screen:
sul topic fonte