Shares Vertex Data - Blender - InstanceManager

Problems building or running the engine, queries about how to use features etc.
Post Reply
Gdlk
Halfling
Posts: 53
Joined: Mon Dec 05, 2011 9:43 pm
x 1

Shares Vertex Data - Blender - InstanceManager

Post by Gdlk »

Hi!!

The context:

I am using the instance manager (the new system in ogre 1.8 ) for batching animated instances. In the example, its work great!. However, when I tried to load an own mesh the application fail (segmentation fault). In the debug, I found the problem is with the variable VertexData (its null with my mesh). VertexData depends on useSharedVertices (http://www.ogre3d.org/docs/api/html/cla ... c852770fb1). In the mesh example, useSharedVertices is false (so VertexData its not null and all work great); in my mesh, useSharedVertices its true so nothing work =(

The problem:

My mesh was exported with blender, however I cant found an option for deactive the shared vertices in the mesh. One option for fix this would be extend the exporter script... but before do that (actually I dont know how to do it =( ), I want to ask if someone had this problem with the instance manager, or if someone extend the blender exporter before with this option, or if someone know about other solution for this problem...

Thanks in advance!
Gdlk
Halfling
Posts: 53
Joined: Mon Dec 05, 2011 9:43 pm
x 1

Re: Shares Vertex Data - Blender - InstanceManager

Post by Gdlk »

a tip or something? =(
Post Reply