Results 1 to 3 of 3

Thread: Asset Manager Error

  1. #1
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts

    Asset Manager Error

    Hey, basically I come across a specific error in asset manager while trying to convert a model.

    Code:
    fabs( Vec3Dot( vert->normal, vert->tangent ) ) < EQUAL_EPSILON
    Tried to search the web but without success, I did in fact managed to find some references (not related to cod2 but similar problem) but I am not that much into modelling and I can't really understand what the problem is.

    Would really appreciate any Intel on this kind of problem in cod2.

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Just a guess -

    fabs() is a python method of calculating the absolute value of a floating point number. As the COD2 engine has integrated Maya into its tool set using different programming languages - python being one of them - I would say the error itself wont be very helpful to any member of the public. It is a developer error.

    Having said that, the real problem is the information in the Vec3Dot() (C++) method - that there is something wrong with your normals.

  3. #3
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    Ok thanks, I managed to fix this error by splitting the model in half.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •