Klunk1
@klunk1
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 650
Reply
RE: Fixing obsolete files in 'Missing External Files'

if it’s a default file for mental ray and you are not going to use it you can always create a small 64×64 black tif file at that location. It’s not pr…

12 years ago
Forum
Reply
RE: Versioning plugins

you handle loading paramblock version discrepancies with a post-load callback which is registered at load time. p.s. when you added P_VERSION to the …

12 years ago
Forum
Reply
RE: Save/Load render preset (.rps) inside maxfile. Possible?

think you are always going to have to use temp files somewhere along the line but they can be deleted once they have been used as the data will reside…

12 years ago
Forum
Reply
RE: Save/Load render preset (.rps) inside maxfile. Possible?

something like this ? fn EncodeOnRootNodeDemo = ( if (fname = getOpenFileName caption:”load UVW” types:”UVW File(*.uvw)|*.uvw|” ) != undefined th…

12 years ago
Forum
Reply
RE: spline shape mesh

the math behind, not the interpolation I know all that but how the verts are orientated about the spline.

12 years ago
Forum
Topic
12 years ago
Forum
Replies: 3
Views: 30
Reply
RE: SDK splineshape

finally found it, you can catch the edit by implementing move, rotate & scale functions from baseobject, then bounce it back to splineshape so it…

12 years ago
Forum
Topic
12 years ago
Forum
Replies: 1
Views: 48
Reply
RE: getNumEdges on Mesh

they don’t share an edge in a trimesh every face has 3 edges so theres two edges between between every face. You can prove this to yourself by repeat…

12 years ago
Forum
Reply
RE: getNumEdges on Mesh

for a trimesh numedges = $.numfaces * 3

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

one of the problems with using the cut methods on continuous meshes like spheres and “pumpkins” is there is always 2 directions to “solve” the cut so…

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

the lack of a shape merge constructor is only part of your problem tiding up the mesh afterwards is a serious script in it’s own right.

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

fn getMidPointNormal p1 p2 origin = ((p1 + (p2 – p1) * 0.5) – origin;) delete objects; sph = sphere radius:25.0 segments:16; converttopoly sph; …

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

after much research I’m coming to the conclusion the code behind cutfaces is not robust enough to be used for this.

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

you can do it that way, but it will project p1 into the face specified using the “normal” direction if it’s not in the face it will interpolate a posi…

12 years ago
Forum
Page 13 / 46