Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jahman

Pages: 1 [2] 3
16
Code: [Select]
-- max 2014 and above
fn getSMEselectedMtls = (

viewNode = sme.GetView (sme.activeView)
smeSelMats = #()
for n = 1 to trackViewNodes[#sme][(sme.activeView)].numSubs do (
m = trackViewNodes[#sme][sme.activeView][n].reference
b = viewNode.GetNodeByRef m
if b.selected do append smeSelMats m
)
smeSelMats

)


fn connectMapsToCoronaMM = (

maps = for m in getSMEselectedMtls() where superclassof m == textureMap collect m

if maps.count == 0 or maps == undefined do (
format "No maps selected"
return false
)

coronaMM = for m in maps where classof m == CoronaMultiMap collect m
if coronaMM.count > 0 then coronaMM = coronaMM[1] else (
format "CoronaMultiMap is not selected"
return false
)

for i=1 to maps.count where maps[i] != coronaMM do (

coronaMM.texmaps[i-1] = maps[i]

)


)

connectMapsToCoronaMM()


select all the map nodes you wish to connect and target coronaMultiMap node then run script

17
General CG Discussion / Re: [Useful Scripts\Tools]
« on: 2016-07-19, 12:26:20 »
cut / copy / paste selected materials between sme tabs

18
Found some other bug which caused crash in 2016.
And a bad news is that sample object mesh seems to update on max restart only.
Anyway I'll try to test it some more time with corona scene. Thx for your feedback

19
Wonder what can cause that crash. What max version are you using?
2014x64 works well for me.

20
...

21
omg, i see.
i got it working without reseting materials to their defaults but now i need to figure out how to update them.
sorry for those bugs, i've tested it on a simplest scene
updated ^

22
yeah, scriptspot has premoderation so i've attached script in my first post.

:) I forgot to include some function. Should be working now.

I edited my post so you can download updated version.

23
check it out
make sure you have selected materials when hit 'set in slate'


http://www.scriptspot.com/3ds-max/scripts/slate-custom-sample-object

24
[Max] I need help! / Re: Translucency convert script
« on: 2016-07-01, 13:10:49 »
could you elaborate how translucency fraction is calculated? rgb level value?
this looks like a pretty simple script overall

25
for those who familiar with greasemonkey this user script could be useful

26
Code: [Select]
if isproperty renderers.current "bg_source" then renderers.current.bg_source = if renderers.current.bg_source == 1 then 0 else 1this snippet will toggle between max and corona environment

27
[Max] General Discussion / Re: FStorm vs Corona
« on: 2016-03-11, 12:27:36 »
why don't just use corona test scene to show engine capabilities instead

28
General CG Discussion / Re: VRscans
« on: 2016-02-25, 22:00:23 »
wrong gamma

29
[Max] I need help! / Re: Soap Material
« on: 2016-01-16, 22:03:52 »
Hi. For sides I used volume select and max displacement modifier with one axis scaled cellular as displacement map. Text and other minor sufrace imperfections are done the same way but using push modifier. Had no time to model it properly so its polycount way above adequate. Half million tris a piece. :D
No mat file, sorry. Couldnt find a simple way to save it.

30
[Max] I need help! / Re: Soap Material
« on: 2016-01-16, 09:03:54 »
laptop armageddon

Pages: 1 [2] 3