Re: [Crystal-cvs] SF.net SVN: crystal:[39321] CS/trunk/include/ivaria/physics.h
sueastside <[email protected]> Sun, 19 May 2013 11:48:05 +0200
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <[email protected]> |
The first one was... For some reason neither the cloth object or a call to genmesh::CalculateNormals() seem to produce correct results. On 05/19/2013 04:40 AM, res wrote: > On 17.05.2013 18:06, [email protected] wrote: >> + normals[i] = cloth->GetVertexNormal (i); >> + normals[i + vertexCount] = cloth->GetVertexNormal (i); >> + normals[i] = csVector3 (0.f, 0.f, 1.f); >> + normals[i + vertexCount] = csVector3 (0.f, 0.f, 1.f); > So 'normals' are fetched from the "cloth" object... > ...and are immediately overwritten by hardcoded values. > > I guess the 2nd assignment was left in accidentally? > > -f.r. > > > > ------------------------------------------------------------------------------ > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > > > _______________________________________________ > Crystal-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-develop ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Crystal-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-develop