Materials

Autodesk Revit (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

JNDesign
Licensed Customer
Posts: 187
Joined: Sat Aug 10, 2013 3:00 am

Hi Paul

Is There a way to make an image "fit" geometry....similar to max where we can say fit image to model size.

Say I am rendering a poster on a wall, at the moment I have to tweak the sizes on the scale.

This is a guess work for us unless we are missing something.
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Revit is providing absolute UV coordinates (ie. a wall might go -20,-30 to 35,76) rather than 0,0 to 1,1, so no, it not easy to "fit" a texture to a whole wall.

However if you are using the latest version of the plugin, you can set the projection to planar, and change the border mode to have a non-repeating texturemap for decals.

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
JNDesign
Licensed Customer
Posts: 187
Joined: Sat Aug 10, 2013 3:00 am

many thanks Paul

I have now upgraded to latest version


Planner is Linear ....right

and which option for non repeating boarder?

cheers
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Sorry - yes, Linear is planar. For non-repeating, set BorderMode = Black Color or White Color. See attached.

The hard part is positioning the decal. You can see I've used a Translation of 18, 2, 0 to position the decal on the wall - but that is trial and error. In a future version of the plugin I will see if the position of the decal can be relative to the coords of the Revit element it's being pasted on. Also be aware that when you change from UV to Linear projection, the Revit absolute UV's no longer are in effect, so the texturemap needs rescaling.

If you want to paste an image over another material (ie. bricks or a non black and white color) - you would need to do a Mix material - with the amount being an Alpha Image with your decal on it. Then Material1 is the original RGB Image with the Linear Projection, and Material2 is the material for the non-decal area. The projection and translation needs to be the same in the "amount" Alpha Image and the "Material1" RGB Image. This is a bit more tricky to setup.

Paul
Attachments
linear projection.png
linear with mix.png
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
JNDesign
Licensed Customer
Posts: 187
Joined: Sat Aug 10, 2013 3:00 am

Thanks Paul

Its really cumbersome

It takes a lot of time to put a decal.

Could there be a better way?
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Could there be a better way?
Once you've done one decal - export it for later use. Then just reload, set the image (in both places) - then the tough bit is locating it - which is the main challenge. I'm not sure there is an easy solution within the Revit framework. 3d animation apps have texture locators - so you can move the decal around in the 3d window - but that's not possible in Revit.

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
JNDesign
Licensed Customer
Posts: 187
Joined: Sat Aug 10, 2013 3:00 am

Hi Paul

Another one for you on materials.

I am using the latest build...1.5

Some materials loose their settings like map scale even when I save all materials in octane.

Like when I applied "polished concrete to my floor and adjusted the scale and saved as default as well as "save all scene materials" etc

When filed reopened, all settings were lost.

I might add that it doesn't happen on all materials

Is there a way around this?

many thanks
User avatar
face_off
Octane Plugin Developer
Posts: 15714
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi

I couldn't find a material "Polished Concrete" on my Revit 2014 install, so hard to exactly test. I tried "Acoustic Ceiling Tile 24 x 48". Changed the "Scale", "Save as Default", saved the scene. Then reloaded the scene and the scale was correct. I also tried "Load from Default" and it loaded the correct scale.

If you have an issue with a particular material, "Save as Default", then open the XML file in the C:\Users\[username]AppData\Local\OctaneRender for Revit\Defaults folder in a text editor, and you will see the scale that has been saved.

Also, if in doubt, you can always "Load from Default" for a particular material to reload it from the above XML to ensure it loads correctly.

I hope that helps. If you have a particular scene and/or default that is not loading correctly, pls sent it to me and I will investigate.

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
JNDesign
Licensed Customer
Posts: 187
Joined: Sat Aug 10, 2013 3:00 am

thanks Paul

Polished concrete was download from Live data base
JNDesign
Licensed Customer
Posts: 187
Joined: Sat Aug 10, 2013 3:00 am

Hi Paul

Is there a way of finding out what materials this error message is referring to?
Attachments
Mat prob 3.PNG
Post Reply

Return to “Autodesk Revit”