harefort
@harefort
New Member
Joined: Feb 14, 2024
Topics: 23 / Replies: 42
Reply
RE: Bridge continuous open edges?

Thanks for the inspiration! It took a while, but ended up with a solution – making many assumptions about the input geometry. I would have loved to c…

14 years ago
Forum
Topic
Forum
Replies: 4
Views: 18
Reply
RE: Time parameter for hlsl shaders?

Actually it seem that the sliderTime can be accessed through this: float Time : TIME ; Can I also access realtime? I feel like I’m overlooking some…

14 years ago
Forum
Topic
Forum
Replies: 1
Views: 13
Reply
RE: 2 really hard questions. need help

If you’re not afraid to script, look into the closestFace function of the MeshProjIntersect class. I attached a horibly inefficient example that will …

14 years ago
Forum
Reply
RE: color(diffuse) value at vertex location?

If you want to evaluate the whole material, you will have to go through the renderer. Maybe you can bake out a diffuse texture and then sample that te…

14 years ago
Forum
Reply
RE: Reactor – missing collisions or broken constraints

I just noticed that posted this in a sub-board accidentally. Dear Admins, please move this thread to the general 3dsmax board, so more people will rea…

14 years ago
Forum
Topic
Reply
RE: Grow face selection in loop or ring

You may be able to skip the if ((($.getEdgeFace i 1) == _faces[1] and ($.getEdgeFace i 2) == _faces[2])) step if you set the requireAll: paramater t…

15 years ago
Forum
Reply
RE: Grow face selection in loop or ring

what might also work and require less mesh-fiddling is using the edge ring: convert faces selection to edge selection so that only fully enclosed (b…

15 years ago
Forum
Reply
RE: Grow face selection in loop or ring

I cannot provide code snippets, but here’s how you do it, assuming you’re working with quads, using polyOp: get edge that is shared by both selected…

15 years ago
Forum
Topic
Forum
Replies: 1
Views: 11
Reply
RE: Lego-ise a terrain

There’s also a set of maxscript functions that allow you to calculate the shortest distance to a mesh from any point in space: meshProjIntersect.clos…

15 years ago
Forum
Reply
RE: find internal verts

You could calculate a convex hull and dismiss all vertices that are not part of it. Those algorithms are rather complicated and slow unfortunately.

15 years ago
Forum
Reply
RE: zoom extents as tight as possible

Once you have the projection matrix you can use maxscript’s “inverse” command to get the inverse projection. How to get the projection matrix I have n…

15 years ago
Forum
Page 1 / 5