Revit plugin DEMO viewport omitting material texture

Forums: Revit plugin DEMO viewport omitting material texture
A public forum for discussing and asking questions about the demo version of Octane Render.
Forum rules
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.

Revit plugin DEMO viewport omitting material texture

Postby otoyrepeat » Sat Feb 13, 2016 8:56 pm

otoyrepeat Sat Feb 13, 2016 8:56 pm
Windows 7 64
Revit 2014 64
GTX 980 361.75

Is there a reason why the textures in Revit are not being displayed on the octane plugin viewport? Not only the textures but the environmental settings are not showing either (lack of shadows). Having to use the material selector tool on every face is really tedious on large designs. Is this on purpose or am I missing something here?
otoyrepeat
 
Posts: 3
Joined: Sat Feb 13, 2016 8:44 pm

Re: Revit plugin DEMO viewport omitting material texture

Postby face_off » Sun Feb 14, 2016 4:00 am

face_off Sun Feb 14, 2016 4:00 am
Hi

The plugin should pick up the standard Revit material library textures, as per "Material Conversion" at https://docs.otoy.com/#45Materials%20Tab. If this is not working - could you pls post a screenshot of the render screen and the Revit material panel from a material where the texturemap did not convert from.

Unsure what you mean by the lack of shadows...perhaps if you could provide a screenshot pls? If you are using an Environment Texture, make should the IBL texture is 32 bit (HDR, not LDR), and set the Gamma to 1.

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: 15473
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Revit plugin DEMO viewport omitting material texture

Postby otoyrepeat » Sun Feb 14, 2016 5:22 am

otoyrepeat Sun Feb 14, 2016 5:22 am
face_off wrote:Hi

The plugin should pick up the standard Revit material library textures, as per "Material Conversion" at https://docs.otoy.com/#45Materials%20Tab. If this is not working - could you pls post a screenshot of the render screen and the Revit material panel from a material where the texturemap did not convert from.

Unsure what you mean by the lack of shadows...perhaps if you could provide a screenshot pls? If you are using an Environment Texture, make should the IBL texture is 32 bit (HDR, not LDR), and set the Gamma to 1.

Paul


I'm using materials from the Revit library - ashlar, polished copper and thick grass. Reconvert from Revit does not change anything. I've solved the shadow issue - I just needed to play with the sun path.
Image
otoyrepeat
 
Posts: 3
Joined: Sat Feb 13, 2016 8:44 pm

Re: Revit plugin DEMO viewport omitting material texture

Postby face_off » Mon Feb 15, 2016 10:56 pm

face_off Mon Feb 15, 2016 10:56 pm
I'm using materials from the Revit library - ashlar, polished copper and thick grass
The screenshot shows the plugin is saying the material name is "D300-ACM", which is not either of those 3 materials, and that material is not in my Revit Materials Library. So I don't think you are using materials from the standard Revit material library as needed by the plugin.

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: 15473
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Revit plugin DEMO viewport omitting material texture

Postby otoyrepeat » Mon Feb 15, 2016 11:23 pm

otoyrepeat Mon Feb 15, 2016 11:23 pm
face_off wrote:
I'm using materials from the Revit library - ashlar, polished copper and thick grass
The screenshot shows the plugin is saying the material name is "D300-ACM", which is not either of those 3 materials, and that material is not in my Revit Materials Library. So I don't think you are using materials from the standard Revit material library as needed by the plugin.

Paul


i think I understand this now. A common good-practice in Revit is to duplicate materials so that any changes are exclusive to the workflow and not the material library. Am i correct in saying that custom material names (but with original materials from the lirabry) will not convert successfully to Octane? Due to a naming dependency?
otoyrepeat
 
Posts: 3
Joined: Sat Feb 13, 2016 8:44 pm

Re: Revit plugin DEMO viewport omitting material texture

Postby face_off » Tue Feb 16, 2016 7:06 am

face_off Tue Feb 16, 2016 7:06 am
Am i correct in saying that custom material names (but with original materials from the lirabry) will not convert successfully to Octane? Due to a naming dependency?
Yes, that's correct. The Revit API does not provide any texturemap names for Revit Materials to Revit plugins, so the Octane plugin has all the texturemaps for the Revit standard library material textures pre-coded. So if you change the name of a Revit material, the texturemap reference is broken.

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: 15473
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Revit plugin DEMO viewport omitting material texture

Postby SamuelAB » Thu Jul 06, 2017 9:17 pm

SamuelAB Thu Jul 06, 2017 9:17 pm
We need custom textures to be supported ideally. I know it's possible to get textures if I export to 3ds Max, use the UMC converter plugin (https://www.3dstudio.nl/webshop/product ... -converter), then use the Octane plugin to convert the materials to Octane. However, I got the Revit plugin to skip this tedious step.

We save our material images in the folder where the Revit files resides. I'm not sure if you noticed, but the Revit materials out of the box are terrible. That's why it's preferable to use other material maps. Are there any plans to improve the material conversion capabilities of Octane's Revit plugin? I'd love to assist you in any way I can because otherwise the Revit plugin loses a lot of it's value and I have to go right back to the more tedious Revit>3dsMax>Octane workflow.
User avatar
SamuelAB
Licensed Customer
Licensed Customer
 
Posts: 168
Joined: Sun Apr 15, 2012 8:25 pm

Re: Revit plugin DEMO viewport omitting material texture

Postby face_off » Fri Jul 07, 2017 12:54 am

face_off Fri Jul 07, 2017 12:54 am
We need custom textures to be supported ideally. I know it's possible to get textures if I export to 3ds Max, use the UMC converter plugin ( https://www.3dstudio.nl/webshop/product ... -converter ), then use the Octane plugin to convert the materials to Octane. However, I got the Revit plugin to skip this tedious step.

We save our material images in the folder where the Revit files resides. I'm not sure if you noticed, but the Revit materials out of the box are terrible. That's why it's preferable to use other material maps. Are there any plans to improve the material conversion capabilities of Octane's Revit plugin? I'd love to assist you in any way I can because otherwise the Revit plugin loses a lot of it's value and I have to go right back to the more tedious Revit>3dsMax>Octane workflow.
Hi - Revit exports custom texturemaps to 3ds via a closed mechanism that is not available to other plugins, so regretfully this is not possible. I suggest you put a feature request in to Autodesk for this.

To get around this issue, the material Defaults system is available in the plugin - so if you have a Revit material "MyCustomMaterial", then once it converts to an Octane material, you can manually link in the custom texturemap and then "Save As Default". Then when you next use "MyCustomMaterial" in a scene, the plugin will load the Default version of the Octane material that you saved. Not a perfect solution, but the best available given the constraints imposed by Autodesk on accessing texturemaps from the Revit API.

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: 15473
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Revit plugin DEMO viewport omitting material texture

Postby SamuelAB » Fri Jul 07, 2017 8:59 pm

SamuelAB Fri Jul 07, 2017 8:59 pm
Hi Paul,

Thanks for the reply. I used to work at a company that solved this problem for Revit plugins, I believe they used the cube screenshot method:
https://forums.autodesk.com/t5/revit-ap ... -p/5801466
http://thebuildingcoder.typepad.com/blo ... nates.html

Of course, many other companies have solved this issue (Universal Material Converter, Enscape, IrisVR, Lumion, etc)

I will try your workaround technique, but with 150+ materials in a scene, this is really the kind of work we want to automate as much as possible. If I explain this workflow to my fellow coworkers, they will laugh and never try Octane. We simply don't have time for this kind of tedious manual work when other software has solved these basic issues. Also, we have buildings to build! ;)

Thanks!
User avatar
SamuelAB
Licensed Customer
Licensed Customer
 
Posts: 168
Joined: Sun Apr 15, 2012 8:25 pm

Re: Revit plugin DEMO viewport omitting material texture

Postby face_off » Fri Jul 07, 2017 10:43 pm

face_off Fri Jul 07, 2017 10:43 pm
https://forums.autodesk.com/t5/revit-ap ... -p/5801466
http://thebuildingcoder.typepad.com/blo ... nates.html
Hi - I am the user that they are talking to in Jeremy's post! I cannot see how the solution proposed would give an accurate enough, or high quality enough results to be acceptable to users. As you can see, Autodesk have been aware of this shortcoming in the API for many years. The API needs to return the filepath of the texturemap.

Of course, many other companies have solved this issue (Universal Material Converter, Enscape, IrisVR, Lumion, etc)
Have they /really/ solved it? Are they using the Revit API, or exporting to FBX or another format which DOES include the filenames? I tried a number of solutions which not only loaded the geometry into Octane from the Revit API, but also exported the entire scene to disk in FBX format (which includes the material filenames), and then read the FBX scene back in to obtain those filenames, however the material identifiers obtained via the Revit API are /different/ to those contained in the .FBX file, so it also was not a viable solution. It also tripled the load time of the scene into Octane, so was never going to be popular with users.

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: 15473
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia
Next

Return to Demo Version Questions & Discussion


Who is online

Users browsing this forum: No registered users and 6 guests

Tue Apr 16, 2024 11:15 am [ UTC ]