Hi everybody!
I been working during the last two weeks with the RC1 version of the engine. Yestarday I port my code to the final 1.0.0 release and my code didn't work properly. This code paint each triangle of the scene of one diferent color.
I take some samples from the wikki Ogre page and them didn't work too.
The examples I tried are:
* GeneratingAMesh
http://www.ogre3d.org/wiki/index.php/GeneratingAMesh
* ManualSphereMeshes
http://www.ogre3d.org/wiki/index.php/ManualSphereMeshes
That is strange because they don't work in a good way in the new version but in 0.15 and RC1 version of Ogre the work good.
Has somebody been having the same problems???
Ogre 1.0.0 Final release bug [NOT A BUG]
-
- Gnoblar
- Posts: 19
- Joined: Mon Jan 24, 2005 12:02 pm
-
- OGRE Retired Moderator
- Posts: 1365
- Joined: Tue Sep 07, 2004 12:43 pm
- Location: Aalborg, Denmark
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
Code: Select all
Material attributes can now track vertex colours by speficying a combination of 'diffuse vertexcolour', 'specular vertexcolour', 'emissive vertexcolour' and 'ambient vertexcolour'
-
- Gnoblar
- Posts: 19
- Joined: Mon Jan 24, 2005 12:02 pm
Thanks for your interest but it was all my fault. I forgot to copy the material I have been using with the RC1 version of the engine.
Here I put a scrren in wich I have painted each triangle of a mesh of one diferent colour. The mesh are two cubes created manually (the example posted in ogre wiki).

Right now I load a mesh automatically (the ogre head mesh for example) creating an entity and then I extract the geometry information (vertices and indices - faces) to modify this information to allow me to paint each poligon of one diferent colour. The problem I have is I can't visualize anything but I'm doing the same as I was doing with the vertices of the cube.
The problem isn't in the painting algorithm because if I avoid it I can't visualize anything too.
Tha's strange because if was able to visualize the two cubes created manually (I wrote the vertices and indices) and I'm not able to do the same with the information I extract from a mesh loaded in a automatic way.
The geometry information I extract is correct because I have created a plane with milkshape and exported to ogre file format and then I have laoded it and the vertice and indice information is ok, but I can't see anything.
Some ideas?
thanks for your time
Here I put a scrren in wich I have painted each triangle of a mesh of one diferent colour. The mesh are two cubes created manually (the example posted in ogre wiki).

Right now I load a mesh automatically (the ogre head mesh for example) creating an entity and then I extract the geometry information (vertices and indices - faces) to modify this information to allow me to paint each poligon of one diferent colour. The problem I have is I can't visualize anything but I'm doing the same as I was doing with the vertices of the cube.
The problem isn't in the painting algorithm because if I avoid it I can't visualize anything too.
Tha's strange because if was able to visualize the two cubes created manually (I wrote the vertices and indices) and I'm not able to do the same with the information I extract from a mesh loaded in a automatic way.
The geometry information I extract is correct because I have created a plane with milkshape and exported to ogre file format and then I have laoded it and the vertice and indice information is ok, but I can't see anything.
Some ideas?
thanks for your time

-
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
-
- Gnoblar
- Posts: 19
- Joined: Mon Jan 24, 2005 12:02 pm
Thanks kencho for your suggestions 
The ogre head mesh have position, normal and texture coordinate information but I only extract the information about vertices and indices (faces). My method to take geometry information from a mesh searches for submeshes too. The information I obtain from the mesh is ok because I have checked it with simple examples (a plane and a cub meshes).
I'll put my code but that's strange because if I define the vertices and indices to draw a plane manually everything works correctly, but if I have a plane as mesh loaded automatically (as entity) then I can visualize nothing (but the geometry information is ok).
Later I will put my code, because I think I will be doing something wrong.

The ogre head mesh have position, normal and texture coordinate information but I only extract the information about vertices and indices (faces). My method to take geometry information from a mesh searches for submeshes too. The information I obtain from the mesh is ok because I have checked it with simple examples (a plane and a cub meshes).
I'll put my code but that's strange because if I define the vertices and indices to draw a plane manually everything works correctly, but if I have a plane as mesh loaded automatically (as entity) then I can visualize nothing (but the geometry information is ok).
Later I will put my code, because I think I will be doing something wrong.
-
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
-
- Gnoblar
- Posts: 19
- Joined: Mon Jan 24, 2005 12:02 pm