add texture coord mapping to primitive box