Wrapping texture around a box

I am trying to use a texture that will be wrapped around a box.

currently, if I apply a texture to the box it uses the texture once for every side of the box. Is there a way to wrap the texture around the whole box?

I think you will have to adjust the texture coordinates manually, or model a box that has the correct texture coordinates.

There was a discussion about this and I think MultiSidedBox came out… You should check your jME copy it might have it already. Otherwise search the forum.