Some idea for adding materials

Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

prehabitat
Licensed Customer
Posts: 495
Joined: Fri Aug 16, 2013 10:30 am
Location: Victoria, Australia

Please upload ! :)
Win10/3770/16gb/K600(display)/GTX780(Octane)/GTX590/372.70
Octane 3.x: GH Lands VARQ Rhino5 -Rhino.io- C4D R16 / Revit17
User avatar
face_off
Octane Plugin Developer
Posts: 15698
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Now the best part - I managed to make a button to create new material (actually to load one saved earlier) - which means that this is exactly what I wanted, even more, I have more control, because I can define more commonly used materials (like white matte, black matte, chrome, etc) and add them via single click.
How did you do this pls Mac? I couldn't find a Rhino command to load a rmtl file.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
neiwei845458454
Licensed Customer
Posts: 86
Joined: Fri Jan 23, 2015 3:32 am

Hi Paul, I want to be able to add a material from a RhinoScript command, If you put the code for working well. Thx.
neiwei845458454
Licensed Customer
Posts: 86
Joined: Fri Jan 23, 2015 3:32 am

MAC,
please do it by more icon tools. That is very good.
User avatar
formatio
Licensed Customer
Posts: 131
Joined: Sun May 18, 2014 11:00 am
Location: EU
Contact:

Paul, I found it here:

http://tips.rhino3d.com/2011/06/new-com ... no-v5.html

And the command itself is:

RenderLoadMaterialFromFile

Which is not auto completing in command line of rhino - but it works.

Guys, I am working on the toolbar for adding materials with single click + some more goodies :)

Regards,
Mac
User avatar
formatio
Licensed Customer
Posts: 131
Joined: Sun May 18, 2014 11:00 am
Location: EU
Contact:

Toolbar is ready:

viewtopic.php?f=41&t=53219

Regards,
Mac
prehabitat
Licensed Customer
Posts: 495
Joined: Fri Aug 16, 2013 10:30 am
Location: Victoria, Australia

Terrific! thanks Mac,

I'll test it out tonight :)
Win10/3770/16gb/K600(display)/GTX780(Octane)/GTX590/372.70
Octane 3.x: GH Lands VARQ Rhino5 -Rhino.io- C4D R16 / Revit17
User avatar
face_off
Octane Plugin Developer
Posts: 15698
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Thanks Mac - I was unaware of those Rhino commands. The RenderRemoveUnusedMaterials command could be useful too.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
formatio
Licensed Customer
Posts: 131
Joined: Sun May 18, 2014 11:00 am
Location: EU
Contact:

Hi Paul

I was unaware of them too - Found them almost by accident.

Regards,
Mac
User avatar
v-cube
Licensed Customer
Posts: 491
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany
Contact:

I am interested !!!

Andreas



formatio wrote:Hi

Great news

I tested saving octane materials to file - It works flawlessly. I thought that I can save only rhino materials that way. Now I think I will save all my octane materials to files - it is easier and quicker to add them this way instead of creating and than importing from localdb.

Now the best part - I managed to make a button to create new material (actually to load one saved earlier) - which means that this is exactly what I wanted, even more, I have more control, because I can define more commonly used materials (like white matte, black matte, chrome, etc) and add them via single click.

Thank you Paul, your tip was crucial.

P.S. - If someone is interested in a toolbar with such a buttons let me know, I'll create such one and upload on the forums.

Regards,
Mac
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
Post Reply

Return to “Rhinoceros 3D”