GameMonetize Posted November 21, 2016 Share Posted November 21, 2016 nope Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 21, 2016 Share Posted November 21, 2016 I made a simple PG for you all to test the property doNotSerialize. http://www.babylonjs-playground.com/#NFVON#0 Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 22, 2016 Author Share Posted November 22, 2016 Excellent, thank you DK for this cool property Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 23, 2016 Share Posted November 23, 2016 @Deltakosh As you see in this updated PG: http://www.babylonjs-playground.com/#NFVON#1 The material from the mesh is still serialized. Can't we exclude the material to plz. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 23, 2016 Share Posted November 23, 2016 oh this is true! I'll add doNotSerialize to materials Dad72 and DigiHz Data 2 Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 23, 2016 Share Posted November 23, 2016 Thank you Dk. Made my day now Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 23, 2016 Share Posted November 23, 2016 Done! Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 23, 2016 Share Posted November 23, 2016 Working partially. If i run the PG 1 time the material is not serialized as supposed, but if i comment out line 34 and run PG again....Then the material is still not serialized when it should be serialized. Is it a cashing issue? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 23, 2016 Share Posted November 23, 2016 It was not fully deployed You need to set ground.material.doNotSerialize = true now Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 24, 2016 Share Posted November 24, 2016 Updated PG for you all to test. http://www.babylonjs-playground.com/#NFVON#3 Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 27, 2016 Share Posted November 27, 2016 (edited) @Deltakosh vertexData for a mesh is still serialized even if we have mesh.doNotSerialize=true; See PG. (look in console). Can we please fix this, so that the vertexData is not serialized for mesh that we not want in our serialization. http://www.babylonjs-playground.com/#NFVON#4 @Dad72 you agree to this to? UPDATE: A little more readable consol result using a ground instead of a sphere. http://www.babylonjs-playground.com/#NFVON#5 Edited November 27, 2016 by DigiHz Data Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 27, 2016 Author Share Posted November 27, 2016 15 minutes ago, DigiHz Data said: you agree to this to? Yes DigiHz Data 1 Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 27, 2016 Share Posted November 27, 2016 Merci @Dad72 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 28, 2016 Share Posted November 28, 2016 Fixed Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 29, 2016 Share Posted November 29, 2016 Great @Deltakosh You are a God! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.