Logo SR Alpha 2017

Material Problem

More
11 years 11 months ago - 11 years 11 months ago #4341 by Phokka
Material Problem was created by Phokka
hello.

There is a constant problem when canceling or finishing a render. Materials processing remains for a long time.

This is doing that all the time won solidrocks miss.

Some short-term solution?

Greetings.
Last edit: 11 years 11 months ago by Phokka.

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #4347 by subburb
Replied by subburb on topic Re: Material Problem
Hello, i think the tip i just posted can also help in this problem..
usually parsing goes fast, even with heavy scenes...

I'm interested to know how many materials you've in your scene.

Would you please type in maxscript listener :
scenematerials.count
Then tell me the result, just to have an idea ?

The actual parsing algorithm is recursive and quite fast...(Thanks to Wilfried)

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #4348 by Phokka
Replied by Phokka on topic Re: Material Problem
scenematerials.count
189




actionMan.executeAction 0 "40247" -- Views: Select Viewport Node
$'Camara Fernando'.clip_near = 361.248
$'Camara Fernando'.lens_shift = 0.0146271
macros.run "Layers" "LayerManager"
macros.run "VRay" "vrayProperties"
actionMan.executeAction 0 "40006" -- File: Save File
saveMaxFile "C:\Users\aahumada\Desktop\Basement Tienda 154.max"
schematicView.Open "Schematic View 1"
macros.run "Layers" "LayerManager"
select $'Casework <Cenefa1 : Cenefa>'
actionMan.executeAction 0 "40021" -- Selection: Select All
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].material1.mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].material1.mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].material1.mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].material1.mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[2].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[2].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[2].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[2].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[3].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[3].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[3].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[3].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[4].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[4].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[4].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[4].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[5].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[5].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[5].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[5].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[6].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[6].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[6].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[6].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[7].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[7].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[7].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[7].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[8].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[8].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[8].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[8].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[9].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[9].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[9].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[9].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10145"].materialList[10].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10145"].materialList[10].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10145"].materialList[10].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10145"].materialList[10].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11339"].materialList[2].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11339"].materialList[2].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11339"].materialList[2].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11339"].materialList[2].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10557"].material1.mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10557"].material1.mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10557"].material1.mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10557"].material1.mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10557"].materialList[2].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10557"].materialList[2].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10557"].materialList[2].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10557"].materialList[2].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10557"].materialList[3].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10557"].materialList[3].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10557"].materialList[3].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10557"].materialList[3].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10557"].materialList[4].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10557"].materialList[4].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10557"].materialList[4].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10557"].materialList[4].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #10557"].materialList[5].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #10557"].materialList[5].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #10557"].materialList[5].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #10557"].materialList[5].mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[2].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[2].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[2].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[2].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[3].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[3].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[3].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[3].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[4].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[4].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[4].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[4].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[5].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[5].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[5].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[5].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[6].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[6].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[6].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[6].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[7].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[7].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[7].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[7].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[8].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[8].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[8].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[8].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[9].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[9].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[9].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[9].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[10].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[10].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[10].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[10].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #11360"].materialList[11].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #11360"].materialList[11].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #11360"].materialList[11].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #11360"].materialList[11].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].material1.mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].material1.mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].material1.mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].material1.mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[2].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[2].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[2].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[2].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[3].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[3].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[3].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[3].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[4].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[4].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[4].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[4].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[5].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[5].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[5].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[5].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[6].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[6].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[6].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[6].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[7].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[7].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[7].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[7].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[8].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[8].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[8].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[8].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[9].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[9].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[9].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[9].mental_ray__material_custom_attribute.DisplacementLockShow = on
sceneMaterials["Material #123"].materialList[10].mental_ray__material_custom_attribute.SurfaceLockShow = on
sceneMaterials["Material #123"].materialList[10].mental_ray__material_custom_attribute.ShadowLockShow = on
sceneMaterials["Material #123"].materialList[10].mental_ray__material_custom_attribute.PhotonLockShow = on
sceneMaterials["Material #123"].materialList[10].mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.SurfaceLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.ShadowLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.PhotonLockShow = on
Standardmaterial ().mental_ray__material_custom_attribute.DisplacementLockShow = on
macros.run "Layers" "LayerManager"

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #4349 by Phokka
Replied by Phokka on topic Re: Material Problem
Hello.

Once I did the procedure you explained in another post, solidrocks, no longer generates the problem. I guess this error or lag as subdivisions solidrocks applies automatic.

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #4350 by Phokka
Replied by Phokka on topic Re: Material Problem
Good day ....
Is there enough information that attachment?

We look forward to your feedback.

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #4352 by subburb
Replied by subburb on topic Re: Material Problem
189 materials is big number, but not insane...
That's weird... i've same kind of scene in material quantity and parsing takes few seconds...

but i see that there's a lot of mentalray materials in your scene...

It would be very interesting to have a copy (without textures) to use it as a test reference...if possible of course..
I'm still trying to solve/identify the problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.199 seconds

Contact informations

Subburb

32, Rue theophile Gautier
33110 Le Bouscat
FRANCE

(+33) 6 73 03 72 29

Newsletter

Keep in touch with us

facebook_32 youtube_32 vimeo_32