Author Topic: Sculpt mesh alpha not committing  (Read 263 times)

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Sculpt mesh alpha not committing
« on: November 20, 2017, 10:05:55 PM »
The sculpt mesh alpha is no longer committing to displacements, I tried a fresh scene with displacements created from the Anvil Helper. If I edit them individually the alpha works but this is hard in projects with many displacements. If I try the fix alpha button the displacements connected to the sculpt mesh just invert their alpha.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #1 on: November 22, 2017, 12:31:25 AM »
There is a good chance this was due to a bug in a certain version of WW. Do you have the latest version?

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #2 on: December 07, 2017, 04:27:06 AM »
Alright so I reinstalled windows and 3ds max, alpha still won't commit, by default sculpt meshes are always set to multi blend and if I don't uncheck multi blend before committing I get the following error and that max-script opens up.


-no "get" function defined

WallWormSimpleDisplacement\displacementOps.ms

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #3 on: December 07, 2017, 09:31:00 AM »
Did you install the very latest version of WW?

If so, please recreate the error, then hit F11 and paste the entire error message here.

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #4 on: December 07, 2017, 10:48:31 AM »
I am on the latest version, this is what I get if I try to commit with the mutli-blend checkbox ticked(also max crashed after this);

Welcome to MAXScript.

Entity Load Error: -- Runtime error: fileIn: can't open file - "$userscripts/WallWorm.com/entities/cstrike_entities.ms"
Sculpt Mesh created in 0:0 minutes (0 total seconds)
-- Error occurred in index loop; filename: D:\Program Files\Autodesk\3ds Max 2016\scripts\WallWorm.com\WallWormSimpleDisplacement\displacementOps.ms; position: 116069; line: 3496
--  Frame:
--   controlMeshVert: [-256,-256,22.4492]
--   index: 1
--   called in f loop; filename: D:\Program Files\Autodesk\3ds Max 2016\scripts\WallWorm.com\WallWormSimpleDisplacement\displacementOps.ms; position: 117118; line: 3522
--  Frame:
--   f: 1
--   called in i loop; filename: D:\Program Files\Autodesk\3ds Max 2016\scripts\WallWorm.com\WallWormSimpleDisplacement\displacementOps.ms; position: 117245; line: 3526
--  Frame:
--   hasAddedBMod: false
--   dispFaces: #([1,2,7], [7,6,1], [7,2,3], [3,8,7], [3,4,9], [9,8,3], [9,4,5], [5,10,9], [11,6,7], [7,12,11], [7,8,13], [13,12,7], [13,8,9], [9,14,13], [9,10,15], [15,14,9], [11,12,17], [17,16,11], [17,12,13], [13,18,17], ...)
--   processedVerts: #{}
--   ss: undefined
--   vlist: #([-256,-256,22.4492])
--   i: 1
--   vlistBitArray: #{1}
-- Error occurred in commitSculptMesh(); filename: D:\Program Files\Autodesk\3ds Max 2016\scripts\WallWorm.com\WallWormSimpleDisplacement\displacementOps.ms; position: 118302; line: 3555
--  Frame:
--   alphablendchannel: undefined
--   thisNodeSculpt: $DisplacementSculptMesh001
--   printTime: true
--   started: 66266670
--   allMultiBlends11: undefined
--   clearDispInfo: true
--   sculptFace: [1,2,7]
--   allMultiBlends13: undefined
--   ind: 3
--   ended: undefined
--   verts: undefined
--   domultiblendchannel: true
--   doStatusUpdate: false
--   allMultiBlends15: undefined
--   title: "Commit Sculpt Mesh DisplacementSculptMesh001"
--   sf: "(%/%) % Commited"
--   vert: 1.0
--   multiblend_color_1Channel: undefined
--   commitDisp: true
--   highestFace: 96
--   displacementFace: [1,2,7]
--   total: 3
--   sculptvert: 1.0
--   maparrays: #{10}
--   GetVertexColor: GetVertexColor()
--   multiblendchannel: #([1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18], [19,20,21], [22,23,24], [25,26,27], [28,29,30], [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45], [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60], ...)
--   channelsToGet: #(-2, 10)
--   processAlphas: false
--   ouput: undefined
--   multiblend_color_4Channel: undefined
--   uv1: true
--   thisNode: <Deleted scene node>
--   allMultiBlends: undefined
--   minutes: undefined
--   limitTo: undefined
--   domultiblend_color_2Channel: false
--   mapFacesDo: #{}
--   multiblend_color_3Channel: undefined
--   allMultiBlends12: undefined
--   sculptVerts: undefined
--   domultiblend_color_1Channel: false
--   multiblend_color_0Channel: undefined
--   allMultiBlends14: undefined
--   displist: #($WW_Displacement_001, $WW_Displacement_002, $WW_Displacement_003)
--   domultiblend_color_0Channel: false
--   setSelection: SetSelection()
--   disp: $WW_Displacement_001
--   allAlphas: undefined
--   doalphablendchannel: false
--   thisNodeFaces: #([1,2,7], [7,6,1], [7,2,3], [3,8,7], [3,4,9], [9,8,3], [9,4,5], [5,10,9], [11,6,7], [7,12,11], [7,8,13], [13,12,7], [13,8,9], [9,14,13], [9,10,15], [15,14,9], [11,12,17], [17,16,11], [17,12,13], [13,18,17], ...)
--   mapFaceArrays: #(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, #([1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18], [19,20,21], [22,23,24], [25,26,27], [28,29,30], [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45], [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60], ...))
--   sculptVertsArray: #([-256,-256,22.4492], [-128,-256,22.6496], [0,-256,14.8623], [128,-256,17.0494], [256,-256,22.9872], [-256,-128,54.1516], [-128,-128,49.6738], [0,-128,18.0923], [128,-128,12.6838], [256,-128,23.1322], [-256,0,63.7744], [-128,0,74.9153], [0,0,40.9432], [128,0,20.1743], [256,0,21.6044], [-256,128,49.5505], [-128,128,62.7663], [0,128,38.3038], [128,128,21.4702], [256,128,29.6962], ...)
--   allChannels: #()
--   domultiblendchannel2: false
--   domultiblend_color_3Channel: false
--   mapIntIndex: 0
--   lastFace: 1
--   lastcommittime: undefined
--   windowsprocessPostedMessages: windows.processPostedMessages()
--   channelverts: #()
--   multiblend_color_2Channel: undefined
--   called in commit(); filename: D:\Program Files\Autodesk\3ds Max 2016\scripts\WallWorm.com\custom_attributes\displacements.ms; position: 28674; line: 887
--  Frame:
--   limitTo: undefined
--   called in wwCommitChanges.pressed(); filename: D:\Program Files\Autodesk\3ds Max 2016\scripts\WallWorm.com\custom_attributes\displacements.ms; position: 46503; line: 1281
--  Frame:
--   pos: 922
>> MAXScript Rollout Handler Exception:
-- No ""get"" function for undefined <<

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #5 on: December 07, 2017, 10:52:53 AM »
I get no error when committing with the option unchecked but again the alpha doesn't work

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #6 on: December 07, 2017, 11:02:23 AM »
Can you click File > Save As > Archive and email a link for me to download your scene?

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #7 on: December 07, 2017, 11:17:23 AM »
I've have been doing this is fresh scenes but I emailed it just in case

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #8 on: December 07, 2017, 11:26:31 AM »
I did not get any error.

Next questions:

1) What Version of 3ds Max are you using
2) Do you have latest service packs installed?
3) Is this WW Free or WW Pro that you are using?

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #9 on: December 07, 2017, 11:40:02 AM »
max 2016, no service packs(I'm getting them as we speak),
WW free

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #10 on: December 07, 2017, 11:41:06 AM »
Actually it says everything is up to date, 3ds might have included the service packs in the download

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #11 on: December 07, 2017, 12:38:35 PM »
OK, I will test in WW Free to see if something is broken there.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #12 on: December 07, 2017, 01:18:18 PM »
OK, I've confirmed this bug in WW Free. I'm looking into a fix.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3403
  • Karma: 96
  • Behind me?
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #13 on: December 07, 2017, 03:10:31 PM »
OK, download latest version of WW and your bug should go away.

jammarman

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
  • Acolyte
    • View Profile
Re: Sculpt mesh alpha not committing
« Reply #14 on: December 08, 2017, 12:17:15 AM »
Yeah all working now, thanks