HalfVector
@halfvector
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 189
Reply
RE: How do I access a material's diffuse color in 3DXI?

The IGameProperty is a wrapper for the ParamBlock system in MAX. So this way you can access to any property exposed through the param blocks. There a…

18 years ago
Forum
Reply
RE: Bitmap dimensions in SDK

Good to know that!.

18 years ago
Forum
Reply
RE: Bitmap dimensions in SDK

Of course. Before you compile, go to project properties and with “All Configurations” selected, change the directories for the options: “General -&gt…

18 years ago
Forum
Reply
RE: Bitmap dimensions in SDK

Yeah, I tested that code in MAX8 and MAX9 using VS2005 and it does its job with no problems. So I have no idea what’s going on there. Have you tried w…

18 years ago
Forum
Reply
RE: Bitmap dimensions in SDK

Here’s an example of how to get the width and height of a bitmap: Value *GetBitmapInfo_cf(Value **arg_list, int count) { check_arg_count(GetBitmapIn…

18 years ago
Forum
Reply
RE: Bitmap dimensions in SDK

Hi. Have you attached bmm.lib to your project?.

18 years ago
Forum
Reply
RE: Collect controller

Hi. Take a look to the website of Diego Garcia. He wrote an article about references and one of the functions he developed collected all the controll…

18 years ago
Forum
Reply
RE: Unknown system exception

Hey Diego, gracias. That’s really weird!. If anybody has an explanation for this one… Thanks.

18 years ago
Forum
Topic
Forum
Replies: 3
Views: 12
Reply
RE: moving multiple groups/objects

Hi. Try this: fn moveSelection translation = ( for obj in selection do ( if (isGroupHead obj) or not (isGroupMember obj) do ( move obj transla…

18 years ago
Forum
Reply
RE: query transforms

Hi. obj.transform — Transformation matrix obj.transform.row4 — Position obj.transform.rotationPart — Rotation obj.trans…

18 years ago
Forum
Reply
RE: UVMap Gizmo aligmenent script.

Well, something like this should be the solution to your problem: fn getLocalFaceBounds theObj theFace = ( local bigNum = 999999.9 local bbMin = [b…

18 years ago
Forum
Reply
RE: UVMap Gizmo aligmenent script.

The problem is that the vertices of the edge are retrieved in world-space and they need to be in local-space, just as the face normal is: fn alignUVG…

18 years ago
Forum
Reply
RE: freezer tool

This macro already exists in MAX under “Tools” category (unfreeze by hit). Anyway it should be something like this: macroScript MyUnfreezeByHit cate…

18 years ago
Forum
Reply
RE: Need help with 3dsMax SDK, 3DXI, paramblocks

Ok, I’ve just tried again and it works right. Keep in mind that in the line: float percent = ParamBlockMngr::GetFloat(node->GetTMController()->…

18 years ago
Forum
Page 3 / 13