Help with multi-imageTexture cube

Discussion in 'Design and Modeling' started by dkurland, Aug 5, 2012.

  1. dkurland
    dkurland New Member
    I'm attempting to make a simple cube. But it's not so simple, 'cause it needs to have a different imageTexture on the top and bottom faces than it does on the sides. (Think of a square log; the sides have the bark, the top and bottom show the rings.) I've tried using individual indexedFaceSet faces, individual Rectangle2D nodes, and even 6 Box elements, each offset just a hair from the origin. I've gotten each of these approaches to display as desired in X3d-Edit and freeWRL, but ShapeWays rejects every one.

    See attached arghh.x3d, treebark.png, and treetop.png -- Any assistance or suggestions would be most welcome!

    Attached Files:

  2. stop4stuff
    stop4stuff Well-Known Member
    Attempting to open arghh.x3d in MeshLab results in an 'Opening Error: File without a geometry' and comparing the file in WordPad against another x3d file shows that your file is missing the vertex coordinates and face normals, all suggesting that whatever viewer you are using for the model has a predefined 'box' - this definition needs to be within the model file.

    Last edited: Aug 6, 2012