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
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?
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ā¦
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?
This will be very useful if one could change the default mapping method, then the scene preparation workflow will be easier and straightforward.
I too arrived to a conclusion that in order for me to control the materials in the scene file (instead of jumping between the files) I need to have a universal mapping on all the objects (linked blocks/ file geometry). Iām using Vray, it has some limited texture mapping controls.
Good question. We definitely should be able to define the default texture size at a minimum. But it could be even betterā¦
I too am attempting to transition to Rhino for ArchViz type work and really need the ability to better control the texture mapping of all objects and sub objects, especially simple solids like walls and their sub object āsurfacesā.
In my current software workflow (FormZ), it is easy to use quick solids for basically everything and only surfaces occasionally. This means I need to be able to map each of the solidās sides separately using the SAME materials, without creating copies of the same material just to handle the different mapping (stupid for archviz).
If they got this working, then you wouldnāt need to use the silly Render texture map controls, whether it be in Octane or VRay to quickly and accurately adjust the mapping inside Rhino like any other surface. Sub Object Texture Mapping! PLEASE!