SyncViewS
@syncviews
New Member
Joined: Feb 14, 2024
Topics: 20 / Replies: 280
Reply
RE: Pre-Render Script – What Frame am I rendering?

Hi David, you need a preRender callback. The first render frame time value is stored in its 23th notification parameter. Here is a sample script that …

16 years ago
Forum
Reply
RE: Coordinate System Measurements

Hi Jeff, here is a code sample to show the procedure: it creates a box in the scene, converts it to an Editable Poly, then cycles over its verts and t…

16 years ago
Forum
Reply
RE: Coordinate System Measurements

Hi Jeffrey, you can take a look at Practical Space Mapping for interaction, an article about how to express values in different Coordinate Systems. I …

16 years ago
Forum
Reply
RE: How to transform local space into world space in SDK

Hi, here is a code reference to convert coordinates from local to world space and viceversa. From Local to World // get first Node from current sele…

16 years ago
Forum
Reply
RE: Need help determining vertex normals

Hi Nicolas and welcome, I guess the simplest way to get vert normals is to average normals from faces sharing them: ( local oSphere = convertToPo…

16 years ago
Forum
Reply
RE: Subobject selections in objectsets?

Well, it’s quite tricky, I made that mistake too, nothing to feel embarrassed about. Mind you can specify modifier index in place of modifier referenc…

16 years ago
Forum
Reply
RE: Subobject selections in objectsets?

Hi Lena, to set a face selection in an Edit_Mesh modifier, you need to specify node and modifier: ( — get first selected object, like a Teapot w…

16 years ago
Forum
Reply
RE: Subobject selections in objectsets?

Hi Lena, I’m trying to understand your problem. I’ve given a try to the following code. It creates two Teapots, an Edit_Poly modifier and assign it to…

16 years ago
Forum
Reply
RE: SDK wizard problem

Hi, officially VS Express isn’t supported, and you need at least VS Standard Edition to compile plugins for 3ds Max. A guy some time ago reported to b…

16 years ago
Forum
Reply
RE: Selecting objects by name?

Sorry to be off topic, but couldn’t resist… Richard, are you referring to this? Well, that’s brilliant! Enrico

16 years ago
Forum
Reply
RE: Selecting objects by name?

You outsmarted me, it was just a joke

16 years ago
Forum
Reply
RE: Selecting objects by name?

Hi dieselll, take a look at “Pathname Literals” in MaxScript Reference, probably you don’t need a loop. aw (late) Richard, you forgot: select (for…

16 years ago
Forum
Reply
RE: Two vertices at same position

Hey, I鈥檓 sorry but I cannot open Max 2009(?) files. Can you please save it as .obj? Could it be that the tolerance set to 1e-4 is to low? Have you tri…

16 years ago
Forum
Reply
RE: Two vertices at same position

Hi Renzo, here is a small update in the Editable Poly section. It now works on every vert that share a face with the checked one, so even if in a quad…

16 years ago
Forum
Reply
RE: Two vertices at same position

Hi Renzo, I鈥檓 not sure to understand your request since the latest script version seems to already do what you鈥檙e asking. Right now the algorithm cycl…

16 years ago
Forum
Page 13 / 20