Author : afisher


Reply
Reply
 
Thread Tools Display Modes
Eric Chadwick's Avatar
Old (#276)
Not as sexy as viewport text maybe, but you can display a floater window that shows you the dimensions of any selected object. Utilities > Measure > New Floater.
Offline , Polycount.com Editor, 6,762 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

michi.be's Avatar
Old (#277)
Thanks Eric. This is what I'm looking for.
Pure3d Visualizations Germany - digital essences

Game-Art 3D Model Shop - Vegetation and Environments
Offline , spline, 199 Posts, Join Date Mar 2006, Location Germany Send a message via ICQ to michi.be Send a message via MSN to michi.be  
   Reply With Quote

ArYeS's Avatar
Old (#278)
Quote:
Originally Posted by renderhjs View Post
because its written messy?
thanks for the hint,
improved code:
Code:
macroScript quick_planar_map category:"BradMyers82"	toolTip:"quick planar map and relax"
(
	local uv = modPanel.getCurrentObject();
	if classof (uv) == Unwrap_UVW then(
		local numFacesSelected = ( uv.unwrap.getSelectedPolygons() ).numberSet;
		if (numFacesSelected > 0)then(
			uv.unwrap5.quickPlanarMap();--quick flatten
			uv.unwrap.relaxByFaceAngle 1000 0.0 1.0 false;--relax
		)
	)
)
Hey, i'm trying to run this script in Max2009, it doesn't seem to work for me when i try to run it. (I have selected faces in UVW Unwrap modifier before runing script).

Any ideas?
Offline , line, 72 Posts, Join Date Jul 2009,  
   Reply With Quote

Mark Dygert's Avatar
Old (#279)
You've probably moved on already, but what version of 3dsmax are you using? It could be that one of the commands he's using is newer than the version of max you're using?

Also I think the quick planar button was added to 9 or 2008, I know for sure its a part of UnwrapUVW in 2009.
(AKA Vig) Portfolio | Lab | Brawl | Decker |
Offline , Polycount.com Editor, 13,966 Posts, Join Date Oct 2004, Location Seattle, Wa Send a message via MSN to Mark Dygert  
   Reply With Quote

renderhjs's Avatar
Old (#280)
Quote:
Originally Posted by http://www.cguu.com/3dsmax/3dSMAX9/maxscript/Unwrap_UVW_Modifier.htm
unwrap5 interface methods added in 3ds Max 8
so it should run in max8 and newer.





@ArYes: try if just this snippet works for you:
Code:
$.modifiers[#unwrap_uvw].unwrap5.quickPlanarMap();
$.modifiers[#unwrap_uvw].unwrap.relaxByFaceAngle 1000 0.0 1.0 false;
to use it first add your unwrap modifier, and select some faces like before

then open the maxscript listener [F11] - key and from that window select
file > new script
in that new script windows paste this script
now hit
file > evaluate all
or if you have a newer version (not sure here)
tools > evaluate all
you can execute the code by hitting [ctrl]+[e] in that window as well


if that works for you we can maybe change the code slightly
Offline , veteran polycounter, 3,041 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

oXYnary's Avatar
Old (#281)
Mesh deform Mesh.

After seeing the winners video from the competition and how he easily choose another object on screen to act as a deform, where Maya auto changed it into a patch object.

Well anyhow.. I don't see a direct translation.

I attempted to change the object thats being used to deform to to a patch, and even in quads, it still giving me illegal patch when I attempt the patch deform modifier on the object.

I tried conform, but realized that basically flattens the object onto the object being conformed to.

Spent almost 3 hours so far on this... >:P

Some plugin or script I need to allow mesh deformations? Or at least reason its whining about illegal patches? From what Im reading on space warps, these create a new object versus translate an existing object into a space warp. So the mesh I have now that I want to be conformed to would be ignored.

Last edited by oXYnary; 08-26-2009 at 03:25 PM..
Offline , veteran polycounter, 4,629 Posts, Join Date Oct 2004, Location Seattle, WA Send a message via AIM to oXYnary Send a message via MSN to oXYnary  
   Reply With Quote

Mark Dygert's Avatar
Old (#282)
I'll call it the Skinwrap Modifier. I'll even auto install it for you using nothing but the powers of my MIND! It's so useful I even install it for the rest of the 3dsmax users world wide, legal and otherwise. BAM! done.
(AKA Vig) Portfolio | Lab | Brawl | Decker |
Offline , Polycount.com Editor, 13,966 Posts, Join Date Oct 2004, Location Seattle, Wa Send a message via MSN to Mark Dygert  
   Reply With Quote

pior's Avatar
Old (#283)
Hey all!
I am looking for a simple script in max that would work just like Separate in Maya.
Lets say I have a mesh (edit poly) made of many different components. These components dont have verts in common, they are simply parts of an object. "Chunks" really.

I can easily detach such chunks using the detach tool, but it will only let me detach things one by one. I am looking for a script that would detach all the chunks into as many new objects.

Thank you if you can help!
Offline , veteran polycounter, 4,988 Posts, Join Date Oct 2004, Location Irvine CA  
   Reply With Quote

vik's Avatar
Old (#284)
try this for great success http://www.scriptspot.com/3ds-max/detachelements
Offline , triangle, 428 Posts, Join Date Nov 2007, Location hidden samurai village, Iga province  
   Reply With Quote

renderhjs's Avatar
Old (#285)
I wrote one myself too but can't find it right now,
here is one on scriptspot.com:
http://scriptspot.com/3ds-max/detachelements

edit: damn vik was faster
Offline , veteran polycounter, 3,041 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

Segreto's Avatar
Old (#286)
ooh nice script.. i was thinking about something like this earlier today while i was doing this by hand..
Offline , vertex, 46 Posts, Join Date Mar 2009, Location Idaho  
   Reply With Quote

renderhjs's Avatar
Old (#287)
well its not that fast: in maxscript you have to build up an array of the shells yourself because maxscript does not provide something like that. It means that you have to loop at least through all faces and another loop inside it.
If you have a mesh with a few million faces it might awful slow things down. I wrote a different version myself that could loop through multiple objects with multiple elements but it really was slow in a complex scene.
I hope autodesk will at some point provide a faster method for generating arrays for shells, same for UV where I need it often.
Offline , veteran polycounter, 3,041 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

pior's Avatar
Old (#288)
Oh thanks guys, works wonders. I eventually went to scriptspot and found it there too. Very handy.
Offline , veteran polycounter, 4,988 Posts, Join Date Oct 2004, Location Irvine CA  
   Reply With Quote

renderhjs's Avatar
Old (#289)
just in case anyone is interested,- this is a script the other way around:
It merges your objects selection into a single editPoly object:
Code:
disableSceneRedraw()
for i in 1 to selection.count do
	Try(ConvertTo Selection[i] Editable_Poly)Catch()

baseObj = selection[1]
items = #()
for s in selection do append items s

for i in items do (
	if (i != baseObj) then (
		if (classof i == Editable_mesh) or (classof i == Editable_Poly) then
			baseObj.EditablePoly.attach i baseObj
	)
)
enableSceneRedraw()
completeRedraw()
I use it every now and then per session, also useful to quickly convert or merge your object to a simple editPoly object
Offline , veteran polycounter, 3,041 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

pior's Avatar
Old (#290)
Render, does this has advantages over the collapse button?
Offline , veteran polycounter, 4,988 Posts, Join Date Oct 2004, Location Irvine CA  
   Reply With Quote

SyncViewS's Avatar
Old (#291)
Hi Pior, if you like, I coded detaching / attaching here:

http://boards.polycount.net/showthread.php?t=62902
IllusionCatalyst – Instrument set for 3ds Max │ AliquaForma – Personal portfolio in fieri
Offline , polygon, 586 Posts, Join Date Dec 2008, Location Leamington Spa, UK  
   Reply With Quote

SimonT's Avatar
Old (#292)
nice thread!
Offline , polycounter, 998 Posts, Join Date Feb 2006, Location Aachen, Germany  
   Reply With Quote

renderhjs's Avatar
Old (#293)
Quote:
Originally Posted by pior View Post
Render, does this has advantages over the collapse button?
well you can select multiple Objects (i.e meshes, teapots, poly's, boxes,...) and it merges them all together to 1 single poly object
Offline , veteran polycounter, 3,041 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

IxenonI's Avatar
Old (#294)
is it possible to bind the same key that i´ve bound to ring and loop selection for edit poly to ring and loop selection in the uvw modifier without overwriting each other? (Max2010)
Offline , spline, 241 Posts, Join Date May 2006, Location Frankfurt, Germany  
   Reply With Quote

renderhjs's Avatar
Old (#295)
have you tried it with the toggle override button ?
it lets you swap modifier or window specific shortcuts with global shortcuts that a re overridden therefore. Try that if it works
Offline , veteran polycounter, 3,041 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

Mark Dygert's Avatar
Old (#296)
Yep, in the customizeUI menu click the keyboard tab, set the group to Edit Poly and bind "Select Edge Loop" & "Select Edge Ring" To whatever keys you need.

Then change the group to Unwrap UVW, and bind "Geom. Edge Loop/Ring Select" to the same things.

Make sure to turn on Keyboard Shortcut Override (in the main toolbar it looks like a keyboard key with either a T or a up arrow on it) like renderhjs pointed out. This will tell max to override the main keyboard shortcuts with the sub menu shortcuts of edit poly and unwrapUVW.

Last edited by Mark Dygert; 09-04-2009 at 03:23 AM..
(AKA Vig) Portfolio | Lab | Brawl | Decker |
Offline , Polycount.com Editor, 13,966 Posts, Join Date Oct 2004, Location Seattle, Wa Send a message via MSN to Mark Dygert  
   Reply With Quote

IxenonI's Avatar
Old (#297)
thanks guys, this works perfectly
Offline , spline, 241 Posts, Join Date May 2006, Location Frankfurt, Germany  
   Reply With Quote

Mark Dygert's Avatar
Old (#298)
Transmographier
http://rpmanager.com/plugins/Transmographier.htm

This allows you mirror and symmetry vert placement on a symmetrical mesh.
So for example you're making a bunch of morph targets, you do half a smile and mirror it to the other side to get a full smile or flip the whole thing to get a smirk on the other side. Super handy for eyebrow morphs, blinks, mouth shapes.

The best part is that its a modifier so its not just a straight copy/paste like the mirror mode included with polyboost or graphite tools.
(AKA Vig) Portfolio | Lab | Brawl | Decker |
Offline , Polycount.com Editor, 13,966 Posts, Join Date Oct 2004, Location Seattle, Wa Send a message via MSN to Mark Dygert  
   Reply With Quote

Eric Chadwick's Avatar
Old (#299)
I second Transmographier, we bought a license for our last project, saved us a ton of time/errors. Grant Adam is hawt.
Offline , Polycount.com Editor, 6,762 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

JasonLavoie's Avatar
Old (#300)
I didn't check the entire thread just yet, but I was wondering if there is a script that when used, takes off turbosmooth on all objects selected. If my memory serves me right, racer's tut had something like this (i don't have it with me though).

Any help would be awesome!
Jason Lavoie | Environment Artist - Digital Extremes | enviro wiki | The Game Dev Cast
Offline , card carrying polycounter, 2,402 Posts, Join Date Jan 2005, Location London, Ontario  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch