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.
Pages: 1
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
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.
Offline
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
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
Offline
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
Sadly, I don't have the slightest idea for what reason it happens :-(
Offline
Pages: 1