Materials selection Fail?

Forums: Materials selection Fail?
Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Materials selection Fail?

Postby Mugz » Fri Nov 28, 2014 5:22 pm

Mugz Fri Nov 28, 2014 5:22 pm
This short video should explain the problem I'm having.

http://youtu.be/1AB7iu2jLPU

Edit:

So I think the problem is with block instances and octane materials. Even when I remove the block instances something still happens to those materials and they do not render or get applied correctly.

https://www.youtube.com/watch?v=fjl2P77pRKY
Mugz
Licensed Customer
Licensed Customer
 
Posts: 30
Joined: Thu Jul 18, 2013 10:35 pm

Re: Materials selection Fail?

Postby face_off » Fri Nov 28, 2014 10:40 pm

face_off Fri Nov 28, 2014 10:40 pm
Thanks for posting video - it makes it so much easier to see your workflow and the problem being encountered.

There are a few issues at play here....

1) The material pick problem: The message being displayed is saying that the geometry you clicked on does not have an Octane material - so it might have a Rhino material assigned.

2) The second video diamond material rendering artifacts - this is potentially a ray epsilon issue. (see http://render.otoy.com/manuals/Rhino/?page_id=476). Those diamonds are very small - so I would think you would need a ray epsilon of about 0.00001.

3) Instead of creating Octane materials one by one and assigning them to layers - rightclick the Settings tab and use the Convert All Materials To Octane Materials.

4) When you drag and drop a material to geometry that has material assigned by Layer, then the material tag assigned to that geometry changes, so you will need to do a Refresh for Octane to get the new material tags.

5) For the last issue in the second video (assigning the Octane material to the layer only applying to one of the gems)...If would be easier to work out what is going wrong if you change the purple Octane material such that Rhino preview window render showed it differently to the diamond material (then you could see if the Rhino preview window was correctly render the newly assigned materials). At the moment you do not know for sure Rhino is assigning the material to the layer correctly.

Sometimes it's quicker to solve these sorts of issues by sharing your desktop with me via Skype. PM me if you want to do that.

Thanks

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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15491
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Materials selection Fail?

Postby face_off » Sun Nov 30, 2014 2:59 am

face_off Sun Nov 30, 2014 2:59 am
Responses to the above in case others have these questions....

1) The material pick problem: The message being displayed is saying that the geometry you clicked on does not have an Octane material - so it might have a Rhino material assigned.
This was an issue related to an invalid material id in a block instance, and should be resolved with release 2.14.0.21.

2) The second video diamond material rendering artifacts - this is potentially a ray epsilon issue. (see http://render.otoy.com/manuals/Rhino/?page_id=476). Those diamonds are very small - so I would think you would need a ray epsilon of about 0.00001.
Adjusting the ray epsilon fixed this issue.

5) For the last issue in the second video (assigning the Octane material to the layer only applying to one of the gems)...If would be easier to work out what is going wrong if you change the purple Octane material such that Rhino preview window render showed it differently to the diamond material (then you could see if the Rhino preview window was correctly render the newly assigned materials). At the moment you do not know for sure Rhino is assigning the material to the layer correctly.
This was an issue related to an invalid material id in a block instance, and should be resolved with release 2.14.0.21.

A reminder - block instances should have their material assigned "By Layer" so all instances of a given block has the same material.

Thank to Mugz for providing info to track down the instance material problem.

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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15491
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Materials selection Fail?

Postby face_off » Tue Dec 02, 2014 6:23 am

face_off Tue Dec 02, 2014 6:23 am
Some additional info on this issue....

The OctaneRender plugin requires Rhino geometry items have materials assigned By Layer or By Object. Assigning the material By Parent will give unexpected results (if there is no parent), which is what happened in the above case.

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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15491
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Materials selection Fail?

Postby Bendbox » Tue Dec 02, 2014 6:23 pm

Bendbox Tue Dec 02, 2014 6:23 pm
This is good to know, thanks Paul.
Win10x64 / AMD Ryzen 9 5900X / 64g RAM / 2 x RTX 3090
User avatar
Bendbox
Licensed Customer
Licensed Customer
 
Posts: 478
Joined: Wed Aug 21, 2013 1:38 pm

Return to Rhinoceros 3D


Who is online

Users browsing this forum: No registered users and 1 guest

Mon May 06, 2024 6:18 am [ UTC ]