Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 22-Feb-2017 18:18:38

sayuiksa
Member
Registered: 8-Feb-2017
Posts: 13

still confused export of blender

I use a blender to create 3D models, what format should I export from bleder to enter the project openspace3d me, I am still confused using blenderogre ..

Can tell me how to complete the installation blenderogre

thank you

Offline

#2 22-Feb-2017 18:39:17

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: still confused export of blender

Hello,

I'm not familliar with the blender / Ogre exporter, there is dedicated forums for this : http://www.ogre3d.org/forums/viewforum.php?f=8

You can try to export in collada (dae) format and let OS3D convert them.

Online

#3 23-Feb-2017 17:43:07

Useless
Member
Registered: 4-Oct-2016
Posts: 93

Re: still confused export of blender

Hello! Perhaps I can be of some use to you.
OS3D support either colldata, .obj or native blender file... but if you have a textured model, you will miss the texture unless you use the "ogre exporter".
You will make a: .mesh (your model 3D), a .xml file and a .material. The .material file is a plain text file where are writed the info and location of your texture. BUT, in my case, this file always miss the part with the path to the image you have utilized for the texture.
It's a file like this:
// Material genrated by blender2ogre 0.6.0

material Material
{
receive_shadows on

technique
{
pass Material
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0
specular 0.5 0.5 0.5 1.0 12.5
emissive 0.0 0.0 0.0 1.0

alpha_to_coverage off
colour_write on
cull_hardware clockwise
depth_check on
depth_func less_equal
depth_write on
illumination_stage
light_clip_planes off
light_scissor off
lighting on
normalise_normals off
polygon_mode solid
scene_blend one zero
scene_blend_op add
shading gouraud
transparent_sorting on

texture_unit
{
texture projects/legnago/material/micenea/mappa_sbalzo.png
tex_address_mode wrap
scale 1.0 1.0
colour_op modulate
}
}
}
} }
}
}
If you not have this part "texture_unit ecc" you have to add manually with an editor. And pay attention to put your texture image in the proper path!

D.

Offline

#4 23-Feb-2017 18:30:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: still confused export of blender

collada and obj formats support the textures in OS3D, but the exported file must reference the correct textures paths.
OS3D also try to use the same dae or obj file path to find the textures. so you can try to copy the texture files at the same location of the exported file

Online

#5 24-Feb-2017 11:40:51

Useless
Member
Registered: 4-Oct-2016
Posts: 93

Re: still confused export of blender

Yes, but you have to be sure to work in "blender render" and not in "cycle render" (like me), otherwise your .obj file will not be generated with a texture (same for ogre).
For the sake of the discussion I have noticed:
a) an .obj textured models has better texture and smooth surface than one exported with ogre
b) but if you export in ogre a model textured in cycle render (and you have to set, as I have prior posted, manually the path of the texture file) you have good results like an .obj exported model

Offline

#6 24-Feb-2017 12:21:34

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: still confused export of blender

Strange I don't know the Blender2Ogre plugIT but maybe it change textures formats and size ?!

Online

#7 5-Mar-2017 11:45:06

Useless
Member
Registered: 4-Oct-2016
Posts: 93

Re: still confused export of blender

Sadly, I don't have the slightest idea for what reason it happens :-(

Offline

Board footer

Powered by FluxBB