Jump to content
Hash, Inc. - Animation:Master

yoda64

Developer
  • Posts

    752
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by yoda64

  1. Try this (entry.cpp)

    #include "StdAfx.h"
    #include "Resource.h"
    #include "MeasureDist.h"
    
    enum {CP,MGROUP};
    extern "C" __declspec(dllexport) const BOOL HxtLoadCommandEntry(UINT index, ObjectType &objtype)
    {
       switch (index) {
       case CP:
         objtype = HOT_CP;
         return TRUE;
       case MGROUP:
          objtype = HOT_GROUP;
          return TRUE;
      }
       return FALSE;
    }
    
    extern "C" __declspec(dllexport) BOOL HxtOnAddCommandMenu(HTreeObject *htreeobject, UINT index, String &menuname, MenuCategory &mc, BOOL &disabled)
    {
       AFX_MANAGE_STATE(AfxGetStaticModuleState());
    
       CString string;
       string.LoadString(IDS_STRING1);
       menuname = (LPCTSTR)string;
    
       disabled = FALSE;
       mc = MC_WIZARD;
    
       switch (index) {
       case CP:
          return TRUE;
       case MGROUP:
          return TRUE;
       }
       return FALSE;
    }
    
    extern "C" __declspec(dllexport) BOOL HxtOnCommand(HTreeObject *htreeobject, UINT index)
    {
    	AFX_MANAGE_STATE(AfxGetStaticModuleState());
       switch (index) {
       case CP:
          return ((CMeasureDistApp *)AfxGetApp())->OnCP((HCP *)htreeobject);
       case MGROUP:
          return ((CMeasureDistApp *)AfxGetApp())->OnGroup((HGroup *)htreeobject);
    	  break;
       }
       return FALSE;
    }
    
    
    
  2. I'm looking into the bug , but I'm not sure if I can fix it fast , because I'm going at saturday in my planned holidays (without computers ...), and after fixing it takes around one day to recompile all versions .

    It's look like only the windows versions are affectet , it can be, thats the cause is a compiler switch (Intel2015 to Intel 2016)

  3. Yes there will be intermittent resolutions (1024,2048,4096,8192) . As maximum a decal with 8192x8192 will be possible , because 16384x16384 is too big (around 1,5 GigaByte per decal) ...

    The second problem is solved for the next version too.

     

    But please open a bugreport anyway for this .

  4. With the simultaneous launch of the previous version I have displayed SSE3

    (PC I7-860, WIN8.1, GTX-295)

    attachicon.gifsse34.jpg

    Please open a report and attach there Your master.log file .The SSE4 version is only installed , if Your Cpu has AVX support . But a I7 should have this . Have you selected "Install AVX version" in the setup (page4)?

    Your cpu doesn't support the AVX instruction set , thatswhy the SSE3 version is installed , I have upgraded silent from SSE4.2 to AVX for the fastest A:M version ....

     

    Update

    A changed version, where SSE4 (without AVX) included, is on the way

     

    Update2

    My provider doesn't like me :angry: , has anything against the update

    04-03-2015 23-38-171.jpg

  5. No , there is no way to do this .

    And Your code for setting the magnitudes is not correct .

    check for cp->IsLoop() to prevent a infinity loop.

     

    HSpline* sp = hmc->GetHeadSpline();
    while (sp) {
    HCP* cp = sp->GetHeadCP();
    while (cp && !cp->IsLoop()) {
    cp->SetInMagnitude(0.0);
    cp->SetOutMagnitude(0.0);
    cp = cp->GetNext();
    }
    sp = sp->GetNextSpline();
    }

     

    Most sdk functions are documented , download the file AM120SDKDoc.zip from the sdk download section. It represent not the latest stand , but it's a beginning point .

  6. For the driver problem .

    The error messages (for nvidia gpu's) means , that the gpu was "overrunning" with opengl commands from the application (in special glBegin/glEnd, which are producing a errorstate when no draw commands are in between) , for the amd gpu's , it's loke like they are more tolerant in such a case .

    If this error occurs , please try to use the wireframe view , or reduce the resolution for shaded views (Decrease Subdivisions) .

  7. Just looked over at the Mantis - it seems Steffen has solved the problem!!! :-)

     

    woo hoo! what was the problem?

     

    and by the way - How do you get bones to show in stick mode? - I haven't located the magic button yet.

     

    You can find it under

    Tools -> Customize -> Commands -> Draw

  8. From the doc for RGB expression

     

    Creates a color by combining the three floating point values r, g, and b. These numbers should be expressed as 8 bit color, from 0 to 255.

     

    Version 18e , will clamp the values between 0 and 255 self and using absolute values, so a translate propertie can used as example .

  9. I should have noted that I was using the 64bit install. Things are working fine there.

    I still haven't been able to get the 32bit installer to work (I thought I had but I'd mistakenly reinstalled 32bit v18b)

     

    The error message remainst the same for me on startup of 32bit v18b:

     

    Please uncheck the SSE4 option at installing , this files are not correct build .

    I'll rebuilding the 32bit version tonight .

  10. Decided to see if there was something in particular with Papa Bear, so I fired up V18, Opened the library and imported a few models. Opened Eddie in shaded mode, works great. Opened the Giraffe and A:M crashes. Open the Knight, all good. Open KeeKat, and crash.

     

    Maybe a problem with decals, discovered also on Nvidia gpu's (v18a , which will fix this is on the way) , but I don't have a machine with a intel gpu, so I can't test this .

     

    I need to figure this out. Should a report be made, if so how do I get my log on enabled??

     

    The logfile is always written , no longer need to enable this extra . It's located in the A:M installation directory (master.log) .

×
×
  • Create New...