Thrive Game Development
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Thrive Game Development

Development of the evolution game Thrive.
 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Welcome new and returning members!
If you're new, read around a bit before you post: the odds are we've already covered your suggestion.
If you want to join the development team, sign up and tell us why.
ADMIN is pleased to note that this marquee has finally been updated.
ADMIN reminds you that the Devblog is REQUIRED reading.
Currently: The Microbe Stage GUI is under heavy development
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Quick Links
Website
/r/thrive
GitHub
FAQs
Wiki
New Posts
Search
 
 

Display results as :
 
Rechercher Advanced Search
Statistics
We have 1675 registered users
The newest registered user is dejo123

Our users have posted a total of 30851 messages in 1411 subjects
Who is online?
In total there are 11 users online :: 0 Registered, 0 Hidden and 11 Guests

None

Most users ever online was 443 on Sun Mar 17, 2013 5:41 pm
Latest topics
» THIS FORUM IS NOW OBSOLETE
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby NickTheNick Sat Sep 26, 2015 10:26 pm

» To all the people who come here looking for thrive.
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby NickTheNick Sat Sep 26, 2015 10:22 pm

» Build Error Code::Blocks / CMake
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby crovea Tue Jul 28, 2015 5:28 pm

» Hello! I can translate in japanese
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby tjwhale Thu Jul 02, 2015 7:23 pm

» On Leave (Offline thread)
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby NickTheNick Wed Jul 01, 2015 12:20 am

» Devblog #14: A Brave New Forum
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby NickTheNick Mon Jun 29, 2015 4:49 am

» Application for Programmer
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby crovea Fri Jun 26, 2015 11:14 am

» Re-Reapplication
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby The Creator Thu Jun 25, 2015 10:57 pm

» Application (programming)
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby crovea Tue Jun 23, 2015 8:00 am

» Achieving Sapience
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby MitochondriaBox Sun Jun 21, 2015 7:03 pm

» Microbe Stage GDD
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby tjwhale Sat Jun 20, 2015 3:44 pm

» Application for Programmer/ Theorist
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby tjwhale Wed Jun 17, 2015 9:56 am

» Application for a 3D Modeler.
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby Kaiju4u Wed Jun 10, 2015 11:16 am

» Presentation
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby Othithu Tue Jun 02, 2015 10:38 am

» Application of Sorts
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby crovea Sun May 31, 2015 5:06 pm

» want to contribute
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby Renzope Sun May 31, 2015 12:58 pm

» Music List Thread (Post New Themes Here)
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby Oliveriver Thu May 28, 2015 1:06 pm

» Application: English-Spanish translator
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby Renzope Tue May 26, 2015 1:53 pm

» Want to be promoter or project manager
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby TheBudderBros Sun May 24, 2015 9:00 pm

» A new round of Forum Revamps!
Basic Blender modeling, animation and exporting to ogre Tutorial Emptyby Oliveriver Wed May 20, 2015 11:32 am


 

 Basic Blender modeling, animation and exporting to ogre Tutorial

Go down 
3 posters
AuthorMessage
Tritium
Newcomer
Tritium


Posts : 90
Reputation : 15
Join date : 2013-03-18
Age : 34

Basic Blender modeling, animation and exporting to ogre Tutorial Empty
PostSubject: Basic Blender modeling, animation and exporting to ogre Tutorial   Basic Blender modeling, animation and exporting to ogre Tutorial EmptyTue Apr 29, 2014 3:21 pm

Belnder v2.70 is used in this tutorial.
In this tutorial i'l explain the basics of creating and exporting a model to ogre. Crovea has the tools to export and convert the files from blend file but if you would like to make his life a bit easier you would need this:
-Blender exporter plugin
Link:
Tested with version 6.0. The download comes with a "readme" file that explains how to install this into blender.
-Ogre XML converter a simple exe file you drag and drop the "model.mesh" and "model.skeleton" into to get a .mesh file from a .mesh.xml
Link:
Download the "OgreCommandLineTools for Windows" file and extract somewhere.

Now lets get started with Blender and make something really simple
pic 1:
I've moved the box up Z a little and added armature, now this armature is our Root it MUST always be vertical then added another armature and named it "skeleton"
pic 2:
Select mesh shift select skeleton armature press Ctrl-P and join them with automatic weights then attach skeleton to root - bone.
pic 3:
Now lets apply Location Rotation Scale with Ctrl-A for the mesh and then for the 2 armatures! NEVER FORGET THIS!
pic 4:
TAKE NOTE your model must have 1 mesh, you can merge meshes with Ctrl-J into 1 mesh.

To animate: Select the "skeleton" armature and go to 'Dope Sheet' editor then to 'Action Editor' mode, click the new action button and name it however you want.
pic 5:
I've just animated the box to move left and right and won't show the process or the result i'll assume the user reading this knows basic blender animation and if not there are way better tutorials online here we discuss mainly what OGRE needs. Just remember we are not animating the Root armature but the one connected with the mesh in this case "skeleton".
When you're done animating go to NLA Editor above the Dope Sheet
pic 6:
you should see your action name there, click the snow icon
pic 7:
If you want to make another animation go back to dope sheet-action editor-new action and make your animation in the next keyframes so lets say the first animation was in the interval 1-60 the next needs to start atleast from 61-something!
pic 8:

Lets me say something about the Materials. This thing here has to be on it enables Ogre UI in the bottom of the materials tab.
pic 9:
The material properties should be applied in there, now you can use the normal options and they'll translate in the Ogre options but many features wont.
Assigning multiple materials to one mesh is done like this: New material->add new material slot-> add new material configure your materials then select mesh and enter Edit Mode you'll get 3 new buttons in materials window "Assign" "Select" "Deselect"
pic 10:
In edit mode you select faces and apply any material you like with "Assign".
Now you are ready to Export the model with the Blender2Ogre plugin! If the plugin was installed correctly you should be able to select Ogre3D (.scene and .mesh) under export. Select settings similar to these for the exporting:
 
pic 10:
This will should give you a .mesh.xml and a .material file, you then drag and drop the .mesh.xml file onto "OgreXMLConverter.exe" which turns it into a .mesh file. You now have a .mesh and a .material file which is all ogre needs! In some cases an image file for the texture will also be included if one was used.

Extra notes:
- Try to name things appropriately such that the mesh isn't simply called "Cube", instead call it "KillerOrganelle" and instead of the material being called "Blue" name it "KillerOrganelleMaterial"
- Avoid spaces in names as they cause problems during exporting

Edit: We need to modify our current models to these requirements, as they are not animated no armature is needed at all, just merging the meshes to one and apply transformations "ctrl-A" but the materials are using blender generated textures and we can't export them. One solution i'm thinking of is somehow getting the texture to jpg, png, bmp and UV mapping them.


Last edited by Tritium on Mon May 12, 2014 4:32 pm; edited 2 times in total
Back to top Go down
crovea
Programming Team lead
crovea


Posts : 310
Reputation : 59
Join date : 2013-10-07
Age : 34
Location : Denmark

Basic Blender modeling, animation and exporting to ogre Tutorial Empty
PostSubject: Re: Basic Blender modeling, animation and exporting to ogre Tutorial   Basic Blender modeling, animation and exporting to ogre Tutorial EmptyTue Apr 29, 2014 6:34 pm

Thanks for making this! The next release is finished and will be released tomorrow, expect a couple of Tritiums models!
Back to top Go down
NickTheNick
Overall Team Co-Lead
NickTheNick


Posts : 2312
Reputation : 175
Join date : 2012-07-22
Age : 28
Location : Canada

Basic Blender modeling, animation and exporting to ogre Tutorial Empty
PostSubject: Re: Basic Blender modeling, animation and exporting to ogre Tutorial   Basic Blender modeling, animation and exporting to ogre Tutorial EmptyThu May 01, 2014 2:44 am

Great idea for a thread. I'll definitely sticky this.
Back to top Go down
crovea
Programming Team lead
crovea


Posts : 310
Reputation : 59
Join date : 2013-10-07
Age : 34
Location : Denmark

Basic Blender modeling, animation and exporting to ogre Tutorial Empty
PostSubject: Re: Basic Blender modeling, animation and exporting to ogre Tutorial   Basic Blender modeling, animation and exporting to ogre Tutorial EmptyMon May 12, 2014 3:54 pm

Tritium I assume you are using blender 2.67 to make everything work, could you verify that and if it is the case, then add a note about it in the tutorial.
Back to top Go down
Sponsored content





Basic Blender modeling, animation and exporting to ogre Tutorial Empty
PostSubject: Re: Basic Blender modeling, animation and exporting to ogre Tutorial   Basic Blender modeling, animation and exporting to ogre Tutorial Empty

Back to top Go down
 
Basic Blender modeling, animation and exporting to ogre Tutorial
Back to top 
Page 1 of 1
 Similar topics
-
» Dreams, Games, And A Giant Blender
» Modeling/Texturing
» More Ogre-like "engines"
» Development troubleshooting
» Microbe Models/Images/Textures

Permissions in this forum:You cannot reply to topics in this forum
Thrive Game Development :: Development :: Graphics-
Jump to: