[fixed]PLY loader calculate normals
[fixed]PLY loader calculate normals
I load a ply model and draw the normals, always I get 0,1,0
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: PLY loader calculate normals
Yes, in case your model does not contain normal information, this seems to become the result. I will add a recalculation. For now, simply call recalculate normals after checking if your normals are all (0,1,0)
Re: [fixed]PLY loader calculate normals
Ok normals ok, but if a createmeshwithtangents from ply, the model crash, there are a problem with indexbuffer.
Re: [fixed]PLY loader calculate normals
createtriangleselector not work with dynamic mesh buffer ?