Page 1 of 1

Blender Texture Mappings

PostPosted: Fri Dec 17, 2010 12:29 pm
by ockelford
I was wondering about how octane's texture scale/rotation/positioning relates to blender's mapping, particularly where I use 'Cube' mapping co-ordinates (which place textures according to the X-Y-Z co-ordinates) so I rendered out some tests. (BTW I use 'cube' to map the texture co-ordinates for stone walls)

I was pleased to discover that while I knew that Octane relies on there being a UV map in order to place the 2d texture, there is a way to generate a UV map which places the texture in the right orientation and scale. My method is as follows

1)In blender, after finishing the modelling of the mesh making up the walls, I go into edit mode (Tab) and select all vertices.
2) Press U to give unwrap options.
3)Select 'Cube Projection'.
4)Go into object mode.
5)Render via the export script

And voila! The bricks are in the right place at the right size aligned as they would be in blender.

I attach a VERY rough test to illustrate a stone texture.

BTW, if a developer reads this, a facility to locate the centre point of a texture, with its real-life size and 3d alignment would be fantastic... Otherwise how do you scale/locate things like ceiling tiles accurately? Perhaps if this could be mapped from an empty in blender????

Thanks for reading!

Rob

Re: Blender Texture Mappings

PostPosted: Fri Dec 17, 2010 1:14 pm
by face
I think all operations on UV´s in Octane, scale only currently, use the 0,0 coordinate as origin/centerpoint.
Some apps use 0.5/0.5 as center or you can specify it, thats the difference...

face

Re: Blender Texture Mappings

PostPosted: Fri Oct 28, 2011 1:09 pm
by orion_uk
ockelford wrote:I was wondering about how octane's texture scale/rotation/positioning relates to blender's mapping, particularly where I use 'Cube' mapping co-ordinates (which place textures according to the X-Y-Z co-ordinates) so I rendered out some tests. (BTW I use 'cube' to map the texture co-ordinates for stone walls)

I was pleased to discover that while I knew that Octane relies on there being a UV map in order to place the 2d texture, there is a way to generate a UV map which places the texture in the right orientation and scale. My method is as follows

1)In blender, after finishing the modelling of the mesh making up the walls, I go into edit mode (Tab) and select all vertices.
2) Press U to give unwrap options.
3)Select 'Cube Projection'.
4)Go into object mode.
5)Render via the export script

And voila! The bricks are in the right place at the right size aligned as they would be in blender.

I attach a VERY rough test to illustrate a stone texture.

BTW, if a developer reads this, a facility to locate the centre point of a texture, with its real-life size and 3d alignment would be fantastic... Otherwise how do you scale/locate things like ceiling tiles accurately? Perhaps if this could be mapped from an empty in blender????

Thanks for reading!

Rob

V-Helpful, thank you from a new guy in town :)