Page 1 of 1

Blender to Octane does not retain mapping coordinates

Posted: Tue Feb 14, 2012 9:37 pm
by tom_holly
Hello,

I am trying to get a decent fast workflow for applying textures to items in Blender 2.5 / 2.6 and rendering in Octane... problem is it doesn't translate from Blender into Octane.

My work involves large amounts of repetitive mapping running on either X, Y or Z axes.

Each object in blender may have 3 materials applied to different faces and the mapping of the textures is applied under the 'Texture' tab and looks as follows:

Code: Select all

Coordinates: Object
Object: X-MAPPING, Y-MAPPING, Z-MAPPING etc....
Projection: Flat or Cube etc...
All looks fine in Blender, but when I export the mapping is lost... I suspect this is because a UV map is needed to give this info... but surely there's a way to translate what's on screen into the OBJ file?

I know I can UV map each selection by the material applied, but the sort of work I do, this takes more time than I would like.. time is money... and all that!

Also tried the 'UV Project' modifier which though works for one texture, does not work (or hasn't worked yet) for more than one. None of the 'Coordinates' type export as seen on screen except for UV, obviously.

If you're familiar with Rhino... I'm attempting to do something like Box or Planar Mapping which though is restrictive is very easy and accurate.

Any help would be greatly appreciated and I hope this isn't too long a post!

Cheers, tom_holly

Re: Blender to Octane does not retain mapping coordinates

Posted: Tue Feb 14, 2012 9:52 pm
by pixelrush
Yeah you need uv for textures.
I believe the answer is that the exporter doesn't utilise multiple UV maps because the .obj format doesn't support it.
I think maybe there is a python script around that combines them? Not sure.

Re: Blender to Octane does not retain mapping coordinates

Posted: Tue Feb 14, 2012 10:00 pm
by tom_holly
Thank you for the reply...

I have searched & searched but to no avail...

If anyone knows of any scripts that do this, that would be great.

Cheers,. tom_holly

Re: Blender to Octane does not retain mapping coordinates

Posted: Tue Feb 14, 2012 10:01 pm
by pixelrush
How about seperating your mesh by materials?

Re: Blender to Octane does not retain mapping coordinates

Posted: Tue Feb 14, 2012 10:05 pm
by tom_holly
I could... and then could apply UV Project modifier, but if a customer wants to chage something as they invariably do, this would take too much time.

I will post back when I find a solution, but in the mean time all suggestions are welcomed!

Re: Blender to Octane does not retain mapping coordinates

Posted: Tue Feb 14, 2012 10:20 pm
by pixelrush

Re: Blender to Octane does not retain mapping coordinates

Posted: Wed Feb 15, 2012 10:25 am
by tom_holly
Baking is another step for me which I may need to do.. but I think a script as your suggested would be the best way...

I have posted on blenderartists.org to see if anyone knows of such a script: http://blenderartists.org/forum/showthr ... tes-to-UVs

Re: Blender to Octane does not retain mapping coordinates

Posted: Sat Mar 31, 2012 8:07 pm
by pixelrush
I came across this script today while browsing.
http://blenderartists.org/forum/showthr ... p-Modifier
May be it is useful.... ;)

Re: Blender to Octane does not retain mapping coordinates

Posted: Sun Apr 22, 2012 11:16 pm
by Italic_
Something I found interesting is that you CAN use multiple UV maps for OBJs, but you can't use the Octane exporter. I used Blender's pre-packaged exporter and made sure I had UVs checked on the export screen. I was trying for weeks trying to get all of my materials working with the Octane exporter, but to no avail. Then I tried the Blender exporter and it all worked out like magic. I had many separate objects, and each object had its own UV map. I don't know why it didn't work with the Octane exporter, but apparently it doesn't export OBJs the same way that Blender's does.

EDIT: I may have read you incorrectly. I don't know if it will support multiple maps per single object, but it definitely supports multiple objects with a single map each.

Re: Blender to Octane does not retain mapping coordinates

Posted: Mon Apr 23, 2012 6:56 am
by matej
Italic_ wrote:I don't know if it will support multiple maps per single object.
It doesn't and neither does Octane. I hope for such support though, it can be very useful in some cases.