Added vertex color support to the DXF loader, fixed a minor bugs. Coordinate system issue still unsolved.
Modified GenVertexNormals to take always the cross product of the first and the last normal of a face as face normal. Material implementation for LWO - seems to work, but there are some issues with highly complex models. Added some LWO test models Cleaned up the ./test dir - converted some BMPs to JPG to save space, Finished the matrial property list in jAssimp, some other changes, too. The Java part of the API should be working now. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@156 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -48,7 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
namespace Assimp {
|
||||
|
||||
// note - flip the face ordering
|
||||
// note - flip the face order
|
||||
#define ADD_TRIANGLE(n0,n1,n2) \
|
||||
positions.push_back(n2); \
|
||||
positions.push_back(n1); \
|
||||
@@ -291,12 +291,13 @@ void StandardShapes::MakeCone(
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void StandardShapes::MakeCircle(
|
||||
aiVector3D& center,
|
||||
aiVector3D& normal,
|
||||
float radius,
|
||||
unsigned int tess,
|
||||
const aiVector3D& center,
|
||||
const aiVector3D& normal,
|
||||
float radius,
|
||||
unsigned int tess,
|
||||
std::vector<aiVector3D>& positions)
|
||||
{
|
||||
//aiVector3D current = aiVector3D ( normal.x,
|
||||
}
|
||||
|
||||
} // ! Assimp
|
||||
|
||||
Reference in New Issue
Block a user