Tags:
I believe we already do everthing you are looking for. (We store all rendering parameters in the SketchUp model - materials, lights, and other parameters) - so that you do not have to define them again when reloading the .SKP model and rendering it again.)
When you render a SketchUp model with materials, we use those materials to create nXt materials.
If you right click on a surface, (after loading the IRender nXt plugin), and select Create Material or Edit Material, then we create a nXt material (a .ArMaterial file), and then store the entire material file on the SketchUp material as an attribute.
The next time you use the SketchUp drawing, we remember the material settings you used and use them for the next rendering.
Hi Al,
Suppose I'm making a new model and use let's say as a SketchUp material "LightWoodHardMaple". This material has been used before in another model and was "enhanced" with the render/material specific attributes for reflection, bump, glossiness, etc. So far so good.
Now I use this in another SU model. But as far as I can see the relation between the SketchUp material and the render/material attributes isn't stored somewhere. So my cocern is that for this new 3D model I have to enter the render/material specific attributes again. Does this makes sense or am I wrong?
Unfortunately, when you save a SketchUp material from a SKP model, it does not save the attributes on the model, so there is no way we can find and reuse the attributes on the material which you altered.
This is a bug in SketchUp, You can put attributes on SketchUp materials, and you can then save these materials into your own library, but SketchUp either does not save, or does not restore the attributes (I forget which)
We could automatically create a nXt .ArMaterial material in a user library, and then automatically use it for all models which use the same SketchUp material.
What do other users think? Should we provide a better way to save and reuse settings on SketchUp materials?
We do now, however, have a concept of a User nXt material. If you save your material into a the user library, then you can reload and use the nXt .ArMaterial, and place it directly on a SketchUp surface.
Manfred van der Voort said:Hi Al,
Suppose I'm making a new model and use let's say as a SketchUp material "LightWoodHardMaple". This material has been used before in another model and was "enhanced" with the render/material specific attributes for reflection, bump, glossiness, etc. So far so good.
Now I use this in another SU model. But as far as I can see the relation between the SketchUp material and the render/material attributes isn't stored somewhere. So my cocern is that for this new 3D model I have to enter the render/material specific attributes again. Does this makes sense or am I wrong?
Has this ever been resolved? This is key (essential) for fast working, having to re-create a materials for every model is very time consuming. Surely an easy solution would be to add a User library accesed in nxt as the nxt library is (ie under sketchup tab in the image) THis could be built up over time by the user(S) It could be accessed from every model if users could set the location of this, this would also be useful so multiple users could access the same library. if multiple library could be added that would be even better. This may already be feature if it is can you tell me how to get to it.
If not could you you tell me the best way to transfer materials between models and retain the nxt properties
Cheers Ben
This is more of a 'work around' than a solution but may help.
Open a sketchup session , create a number of surfaces and apply the materials you want to use in new models.
Edit the NXT attributes (gloss etc) fo all the materials then delete the geometry.
Save the file as, say, 'NXT template'.
Close the file.
Open a new sketchup session and go to Window - Preferences.
Click template and browse to the 'NXT template' file (or whatever you have called it.)
Click OK and then close this file.
Now every time you open a new Sketchup file the materials, with NXT attribute,s will be preloaded from the template file and found in the 'In Model' dropdown in the materials dialogue.
To expand the available materials simply add them to the template file and resave.
Hope this helps.
Regards
Mike
Mike's idea might work by just saving components with nXt materials saved for them.
(We probably save materials properly in Components - just not .SKM files)
You could save one component per material, or several materials per component.
Place the component, use the imported material, and purge ununused if desired.
I will try it out...
mmmmm...
Mike all a bit roundabout and assumes all material are created at once before you start in reality material evolve and are added to over time. I find igenerally creat a material in model then think thats works and want to save it somewhere for future use i would then have to open the template file re-create it and resave.. Ok could work. .....can't something be made to work alongside the Nxt material library that would be much better.
Al . Components would work ok tho can try that one.
Hi Ben
Take your point, I did say it was a bit of a 'workaround' rather than a solution.
You wouldn't have to re-create it in the template file - just have the template file open in another session of sketchup at the same time. Make and apply a material in your model, when you are happy with it , copy the face, patse into the template and delete the geometry. At the end of your session resave the template file and it would be updated with all your new materials. You can even go back to old models and copy and paste previously made materials in the same way.
Over time your collection in the template file would be quite comprehensive. I tend to reuse materials that work well for me so adding the odd new one is not too much of a bind.
Interesting discussion.
Regards
Mike
We can also take a look at loading .nXT materials from a folder which have the same name as the SketchUp materials used. And saving any modified materials as .nXt materials to the same folder. To make a synchronization easier.
Rich and I discussed this and we are going to add it as a feature.
A "Synched Materials - Load" button will load all nXt materials from a specia lsynched materials folder with the same name as the SketchUp material into your drawing.
A "Synched Materials - Save" button will save all SketchUp materials in you model which have had nXt properties added to them to the special synched materials folder.
A checkbox, "Auto-synch" will load the saved, synched materials into the current model - only for materials which don't have nXt material properties attached to them already - every time you start a new rendering.
Enter a phrase here to search the entire Render Plus web site:
© 2024 Created by Render Plus. Powered by