Wish - predefine default texture settings

Hello,

I am using Rhino manly for architectural visualization, for the vast majority of all elements in my scene I am using a box mapping with the dimensions 1m X 1m X 1m, usually the texture size would be defined / adjusted in the textures UVW settings within the material itself ( I am using the octane render plugin).

The advantage of this approach is that it is possible to have predefined materials with correct texture dimensions which will be displayed correct when applied to any object in the scene that is boxmapped with 1/1/1.

However I have to apply this boxmapping every time I create a new object wich is quite cumbersome.
I already created a small script to make this an “one click” operation but still I have to take care of it and I think there should be a better way…

So here is my wish:
Please give us an option to let every new object have a default, predefined texture mapping (in my case that would be boxmapping 1/1/1)

I am sure everyone working with archviz would really appreciate such a thing

thanks for any feedback

Andreas

3 Likes

I am all for improvements in real-world scale materials.texture application.

Push…
anyone from McNeel maybe… ? It might be a clickable option under settings / render -> "define default texture mapping for all new elements "

that would save me like 100 clicks a day…

please !

1 Like

…can someone from McNeel chime in?

Hi Andreas - many of the Rhino materials are set to use textures that are mapped to WCS to deal with this - is that an option in Octane?

-Pascal

Hi pascal, thank you for your suggestion, I will look into this…

hi, I think that might be what I am looking for, but WCS box mapping is not available for octane materials…
I will ask pkinnane (Paul) if he can look into this…

Would it be possible to automatically execute a script like this:
(_ApplyBoxMapping
3
0
0,1,0
1,0,0
0,0,1
y
enter1…)
after each time I create a new object?

Hi Andreas - not easily - it would require an event watcher I suppose… is your current workflow to select a bunch of objects ans then run a script or macro that does this?

-Pascal

yes, kind of… I customized a button with the commands I wrote above, that would apply a 1mx1mx1m box texture to any preselected object, but since I am permanently adding new objects to my projects I find myself doing this stupid repetitive tasks over and over again… because of your post I took another look at the octane material settings, and indeed found a similar option (world space instead of object space…). Amazingly, this actually seems to work, but my excitement quickly faded when I found that this will not be displayed in the rhino viewport… so I’m back to square one here…

-Andy

Hi Pascal,

I just got an answer from Paul from the octane Forum

Hi Andreas. I don’t think the mapping can be driven from a plugin. The plugin has the controls available as described at https://developer.rhino3d.com/5/api/RhinoCommonWin/html/T_Rhino_DocObjects_Material.htm when defining the material in the Rhino Viewport, and I don’t see any controls for the mapping. From my limited understanding of the situation, I think you would need to control the mapping via the UV coordinates applied to the meshes you are creating. Sorry I have not been much help on this.

Paul

So, I guess we would have to do something on the Rhino side…
Is there any way to let Rhino know the WCS defined in the octane material, in order to display these correctly in the rhino viewport?

thanks

Andreas

any news here?