MiranDMC
@mirandmc
New Member
Joined: Feb 14, 2024
Topics: 21 / Replies: 69
Reply
RE: zip files by object names in scene

I gusee that’s problem with globals. You can’t define already defined variable. Now should works: if sourcedir == undefined then ( global sourcedir…

12 years ago
Forum
Reply
RE: zip files by object names in scene

Hi. You don’t have to collect names in array, you can directly use them in the loop. Code should look like that: for object in selection do ShellLa…

12 years ago
Forum
Reply
RE: [MAXSCRIPT] Binary 3D model format recursive searching

So, the file is organised into structures. If you recognize first structure you should know it’s size, and I gusess in PKG structure start pos + struc…

12 years ago
Forum
Reply
RE: unwrap5.getSelectedGeomEdges() broken?

I wrote something: ( clearListener() function getMapVerts object channel = — return array of map IDs matched to geometry verts ( if( polyOp….

13 years ago
Forum
Topic
Forum
Replies: 2
Views: 8
Topic
Forum
Replies: 0
Views: 5
Reply
RE: Apply modifier to selection, one modifier for multiple objects

As I say above;) But I don’t know what to use instead. unwrapMod.selectPolygons #{ 1..(unwrapMod.numberPolygons()) } — select all faces It doesn’t …

13 years ago
Forum
Reply
RE: Apply modifier to selection, one modifier for multiple objects

I made it! This code flattening objects into single texture: local unwrapMod = unwrap_UVW name:”Automatic Flatten UVs” select objectsToMapp modPa…

13 years ago
Forum
Reply
RE: Apply modifier to selection, one modifier for multiple objects

That exactly I wanted to avoid. modPanel is synonym of ugly code

13 years ago
Forum
Reply
RE: Exporting Vertex Information, optimizing, and indexing.

When you using Maxscript all is stored as “triMeshes”, which are “optimized” exactly as you need. There is array of vertices and aray of faces (which …

14 years ago
Forum
Reply
RE: Generating models

Take a look for “scripted geometry plugin” in maxscript help. It shows how to create new primitive object. If you won’t it be parametric, but just lo…

14 years ago
Forum
Reply
RE: Vertex Normals Problem.

Can you post simple file in this format here?

14 years ago
Forum
Reply
RE: Vertex Normals Problem.

Where you wish to see results of this script? Do you creating another 3d application? No smoothing? What you mean? Geom is flat shaded or shading is …

14 years ago
Forum
Reply
RE: Vertex Normals Problem.

Normals returned by stock functions should be normalized. If not use normalize [point3] function. It will roll point3 to 0-1 range.

14 years ago
Forum
Page 2 / 6