Software Development Kit (SDK)
Subforums
-
Current SDK (v19) (33,526 visits to this link)
17 topics in this forum
-
- 2 replies
- 101 views
I can't download for A:M SDK ? Where is the link that work it ? Because the link shows an error or page moved... Thanks.
Last reply by threedslider, -
- 6 replies
- 997 views
Can anybody tell me how to reach this property? I need understand which exactly type overrides by image.
Last reply by Styler, -
Do we see any updates/ upgrades for AM in the near future?
Last reply by Phil, -
- 5 replies
- 1.2k views
I want to write an importer/exporter, I have VS6, and have downloaded the SDK. Are there any other suggestions, cautions or tips? This topic is geared for starting to write plug ins, not on which ones are needed. If you have a plug in you'd like to see, post it in this topic: https://www.hash.com/forums/index.php?showtopic=47625
Last reply by PopaR, -
- 1 follower
- 4 replies
- 1.2k views
hi, how i can convert euler angles (as angles, not radian) to quaternions and wise versa (quaternions to euler)? is there a function in the sdk?
Last reply by Willi, -
- 5 replies
- 706 views
Didn't get from SDK how to do it.
Last reply by robcat2075, -
- 7 replies
- 1k views
I'm trying to build IEPatchModel like on picture (just 2 patches), but Hash is freezing on stage: hmc->MergeIEModel(model, "foo", 0.0, TRUE, TRUE);Can somebody tell me how to do it properly? What I'm doing wrong? Thanks. Here is a source code: void CreatePlane2() { float cps[] = { 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 2, 1, 0, 2, 0, 0 }; int faces4[] = { 0, 1, 2, 3, 3, 2, 4, 5 }; int numCps = 6; int numPatches = 2; // create model IEPatchModel* model = new IEPatchModel; for (int i =…
Last reply by Fuchur, -
- 1 follower
- 23 replies
- 1.9k views
Hi guys, I'm doing import a new model with updated textures into HA and it doesn't reload them until I do any operation relative to textures (open for view, hitting 'render' and etc.). How to update them via SDK?
Last reply by Styler, -
- 21 replies
- 1.3k views
Hello guys, could you help me? How can I save HModelCache into mdl file? All mdl files start with tags , seems like I need to be inside HOT_MODELFILE container or something like that. One more question. If select shortcut to object and actually object itself HTreeObject::GetObjectType tells me that it's the same object type. How can I get more explicit answer: who is who? Thanks!
Last reply by Styler, -
- 1 follower
- 3 replies
- 1.2k views
hi, i need some hints on how to set keyframes on bone transforms (position and rotation). i want to write my own "baking" plugin.... i had a look on the source of the "kfm" plugin, but i dont get how to achieve setting keyframes on existing transform drivers... maybe one of you can help me out... greets
Last reply by robcat2075, -
- 1 reply
- 640 views
After bullding IEPolyModel from HModelCache I have HashArray m_attrlist of Attr objects. One of class members, as i correctly understood, contains material name Attr::char m_name [256]. In my case, with all correct materials groups, I have garbage in this buffer. Could somebody confirm what this is right way to get materials names?
Last reply by Styler, -
- 1 follower
- 4 replies
- 1.8k views
Does the SDK provide access to play range settings? I can't find any methods to that effect for HProject or HChor or anything.
Last reply by yoda64, -
- 1 follower
- 1 reply
- 921 views
I can't work out how to make a plugin's menu entry visible when CPs are selected. Presumably this is determined by the HxtLoadCommandEntry function, but the entry gets hidden whenever any CPs are selected. Even an always-true definition like the one below doesn't make a difference: extern "C" __declspec(dllexport) BOOL HxtOnAddCommandMenu( HTreeObject *htreeobject, UINT index, String &menuname, MenuCategory &mc, BOOL &disabled) { menuname = g_str_menu_name; disabled = FALSE; mc = MC_GENERAL; return TRUE; } How do I control availability correctly?
Last reply by yoda64, -
- 1 follower
- 11 replies
- 893 views
Before the migration to the new server, I remember the forum having a specialised branch about the SDK, but I can't find it now. Is it coming back or does this mark the end of support for the SDK?
Last reply by nemyax, -
- 1 follower
- 28 replies
- 1.7k views
How do I connect two existing splines to create one continuous spline? I don't see any methods to that effect in HModelCache, HCP or HSpline.
Last reply by Rodney, -
- 1 follower
- 2 replies
- 4.7k views
What's the correct way to get the transforms of a specific bone at a specific frame? I've tried using my_time.StepFrame and my_project_ptr->SetTime to set the time, but neither way gave me access to the animated transforms.
Last reply by Serah, -
- 19 replies
- 122 views
If I download the SDK and load the .sln (Solution) file for one of the sample plugins into Visual Studio, the various code files do appear to load and can be examined. The files look like c++ that I could work my way through. However, it seems I am not able to compile them. Upon loading a .sln several warnings talk about missing toolsets and/or the need to "retarget". What more do I need to do to be able to hit "build" and get a successful compile from one of these existing sample plugins? @yoda64 @nemyax
Last reply by robcat2075,