Home Technical Talk

Oversized Textures in Max

polycounter lvl 11
Offline / Send Message
leechdemon polycounter lvl 11
I'm working on a project in Max that'll end up as a large format print. I'm using Max to create a 3d distortion of an image that'll go on the side of a Semi Trailer.

I need to load a texture that is 32kpx x 14kpx. I've already generated the initial image, and rendering that image out once it's in max won't be an issue (using Crop Renders... VERY helpful in this), but the problem is that I can't get the image into Max in the first place. The file is a Tif, and Max gives me an error reading the bitmap when I try to add it.

I either need to find out a way to load in such a ridiculously sized texture, or, crop the texture into pieces so max can read it, but then (through some form of technical trickery) convince max that the image is much larger. Like, if I crop the image into 10 pieces, convince max that the 3200px wide image is an image that sits on pixels 1-3,200 of 32,000. Through, I dunno, Place or something, maybe?

Anybody understand what I'm asking? Got any ideas?

Replies

  • Mark Dygert
    It might have trouble trying to display it in the viewport. What if you go Customize > Customize UI, Viewports tab > Configure Driver and uncheck match bitmap size and set it to something really low (requires restart to take effect).

    You can also try creating a shell material so you see a tiny version in the viewport but it references the bigger version when rendering.

    I like your crazy idea about hacking up the texture, what about cutting the geometry into chunks also? That way you can assign different material ID's to each chunk. UV'ing it so it renders without seams, is kind of tricky. You might be able to render out each Mat ID chunk... hummm...
  • leechdemon
    Offline / Send Message
    leechdemon polycounter lvl 11
    I'm not sure if it's a display issue; it won't even let me load it; won't even let me PREVIEW it. I go to add it as a bitmap texture, click the image, it gives me an error. Doesn't even try. I'll give that a shot, see what it does.

    As for cutting the geometry into chunks, that's an idea I had. The problem is, I don't know where to cut it so as to get the correct sizing. The object that this is getting applied to is getting Camera Mapping. So, if I cut the texture in half in Photoshop, from the side, I know where to cut the geometry... however, since I'm using camera mapping, I don't know where exactly that'll land. My only thought here is that I could do it with a low-res version first, maybe with a grid mapped or something, and cut the image based on where "10%" shows up on geometry...cut it there, then cut photoshop to match. But that's largely guesswork, and since this is taking so long to render, I was prefering to use Math so as to not waste any more time (7 hours of crop renders is enough wasted time, IMO...). Worst comes to worst I can do that, but...something else would be nice.... lol...
  • oglu
    Offline / Send Message
    oglu polycount lvl 666
    maybe its to late for this project... mudbox is able to use multiple uv tiles and paint into more than one texture at a time... but there is also the need for new uvs...

    http://download.autodesk.com/us/systemdocs/help/2011/mudbox/index.html?url=./files/WS1a9193826455f5ff-4f6d1f1d11d24be3e03-ff5.htm,topicNumber=d0e16645

    for rendering multiple uv tiles there is a tutorial from neil...
    http://www.neilblevins.com/cg_education/multiple_uv_tiles/multiple_uvs_tiles.htm

    and in the future you could use mari for such projects....
  • leechdemon
    Offline / Send Message
    leechdemon polycounter lvl 11
    ...Huh. So, I could, say, stretch my image from 0,0 UV to 10,0 UV, crop the image into 10 chunks, set it up as a Composite map, and then assign each chunk of the composite to a different chunk. I think that might work. Sweet, I'll give it a shot. Thanks guys!
  • r_fletch_r
    Offline / Send Message
    r_fletch_r polycounter lvl 9
    convert the highres to a mentalray .map file, this format allows MR to page the sections of the bitmap in and out of memory.

    heres a script
    http://www.scriptspot.com/3ds-max/scripts/mental-ray-map-converter-v1-1

    create a shell material with a low res version of the image for viewing in the viewport slot and put the highres in the render slot.
  • leechdemon
    Offline / Send Message
    leechdemon polycounter lvl 11
    Not familiar with .map files, I'll have to look into that, too. A quick google search turned up a bunch of conversion scripts; do I need one of those to get the *.map files, or can I do it externally from Max? If it's an internal process, I don't know that it'll work; I can't get it anywhere inside of max based on it's size, hence the problem.

    Thanks!
  • r_fletch_r
    Offline / Send Message
    r_fletch_r polycounter lvl 9
    leechdemon wrote: »
    Not familiar with .map files, I'll have to look into that, too. A quick google search turned up a bunch of conversion scripts; do I need one of those to get the *.map files, or can I do it externally from Max? If it's an internal process, I don't know that it'll work; I can't get it anywhere inside of max based on it's size, hence the problem.

    Thanks!

    the .map format converter should be on your max installation disc. i think its in with the sample files. it ships with max 2010 up. the above script will do the conversion

    on my machine its stored in
    C:Program FilesAutodesk3ds Max 2011mentalray
  • leechdemon
    Offline / Send Message
    leechdemon polycounter lvl 11
    Oglu - I split my image into 16 pieces and tiled it using a Composite map in your link; worked perfectly. Thanks a ton!
  • Mark Dygert
    I was messing around with that after I got home from work and it works great! Thanks for posting!
Sign In or Register to comment.