[fixed]PLY loader calculate normals

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
kaos
Posts: 155
Joined: Tue Aug 12, 2008 8:25 pm
Location: Spain

[fixed]PLY loader calculate normals

Post by kaos »

I load a ply model and draw the normals, always I get 0,1,0
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: PLY loader calculate normals

Post by hybrid »

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)
kaos
Posts: 155
Joined: Tue Aug 12, 2008 8:25 pm
Location: Spain

Re: [fixed]PLY loader calculate normals

Post by kaos »

Ok normals ok, but if a createmeshwithtangents from ply, the model crash, there are a problem with indexbuffer.
kaos
Posts: 155
Joined: Tue Aug 12, 2008 8:25 pm
Location: Spain

Re: [fixed]PLY loader calculate normals

Post by kaos »

createtriangleselector not work with dynamic mesh buffer ?
Post Reply