Revit Material Workflow (Scene included for testing)

Forums: Revit Material Workflow (Scene included for testing)
Autodesk Revit (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Revit Material Workflow (Scene included for testing)

Postby efforce » Thu Mar 12, 2020 10:09 pm

efforce Thu Mar 12, 2020 10:09 pm
Greeting Paul and Revit Octane Users,
Octane is a beautiful engine BUT
Could you please tell me why Octane material does not work "out of the box" ?

I have this Revit 2019 project for everyone to play with - the material has been set up using Revit's material editor.
It is a requirement that all materials have to start by setting up through Revit's material editor, because we can then output textured elevations drawing, hatch etc.
You can download it here: https://drive.google.com/drive/folders/ ... sp=sharing
explorer_2020-03-13_10-43-40.png
Revit material viewport


When you first open the file you will end up with missing textures everywhere.
Revit_2020-03-13_10-16-21.png
Missing Materials


You do not need to re-path the textures manually, all you need to do is tell Revit where those textures are located, by going to Options --> Rendering --> Add links. I have included all textures for you to test as well. The catch is Revit cannot read Sub-folders so all textures have to be sitting inside 1 folder.
Revit_2020-03-13_10-21-05.png
Repath Window


Once you have added the path all materials in the folder will be re-pathed automatically.
Revit_2020-03-13_10-22-31.png
Materials repathed automatically


Now, since I also use Enscape. All I need to do is go to a 3D view (3D Ortho view is also okay!) and press "Start Enscape" - that's what we will see out of the box with no settings required:
Revit_2020-03-13_10-29-44.jpg
Enscape just works without settings


As for Octane - I have to start from 3D Perspective view...that's okay.
I then tried to Re-convert all materials to Octane material.
Revit_2020-03-13_10-36-35.png
Convert Materials to Octane


Finally I hit Open Viewport, and that's what I get:
2020-03-13_10-36-51.png
First Octane warning


Then the viewport opened, and I get 1 more error:
2020-03-13_10-36-59.png
Second Octane Warning


and that's what I see:
Revit_2020-03-13_10-38-00.png
Octane View


Could you please tell me what has gone wrong?
Paul, could you also make the plugin work using Revit's material editor similar to Enscape's 1 click solution???

Thanks.
efforce
Licensed Customer
Licensed Customer
 
Posts: 30
Joined: Mon Nov 19, 2018 7:30 am

Re: Revit Material Workflow (Scene included for testing)

Postby efforce » Fri Mar 13, 2020 9:20 pm

efforce Fri Mar 13, 2020 9:20 pm
Paul I would appreciate if there are some temporary workaround.
Looking from the error message it seems like a absolute/relative texture path issue.
But surely I dont want to go into the material editor to manually re-link the trxture
efforce
Licensed Customer
Licensed Customer
 
Posts: 30
Joined: Mon Nov 19, 2018 7:30 am

Re: Revit Material Workflow (Scene included for testing)

Postby face_off » Sat Mar 14, 2020 5:05 am

face_off Sat Mar 14, 2020 5:05 am
Hi

When you add the textures path to the Options/Rendering/Additional paths, Revit is still reporting that the texture map is missing in it's own Materials window, so this function appears to be bugged.
Concrete - Equitone Stone Like.png


Inside the SDK, you can see if you add your path to the Options/Rendering/Additional paths, it only provides the relative filename, not the full path:
linked.png
linked.png (11.72 KiB) Viewed 5620 times


Whereas if you manually fix the broken link, the SDK provides the full path name:
link_fixed.png


So this looks like a Revit SDK problem to me. I have requested from Autodesk how to retrieve the list of paths added to the Options/Rendering/Additional paths window, which might provide a way for the plugin to get the full path name. However at the moment, you would need to manually relink all the textures in the Revit Materials window.

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

Re: Revit Material Workflow (Scene included for testing)

Postby SamuelAB » Tue Mar 17, 2020 4:32 pm

SamuelAB Tue Mar 17, 2020 4:32 pm
The answer is to look in the "additional appearance render paths" and see if the material image is there. I don't see what the problem is since you have access to both pieces of information and you can put them together.
User avatar
SamuelAB
Licensed Customer
Licensed Customer
 
Posts: 168
Joined: Sun Apr 15, 2012 8:25 pm

Return to Autodesk Revit


Who is online

Users browsing this forum: No registered users and 6 guests

Thu Mar 28, 2024 8:21 am [ UTC ]