Forum: Poser Technical


Subject: Dealing with big BUMs

_dodger opened this issue on Dec 16, 2002 ยท 12 posts


_dodger posted Mon, 16 December 2002 at 11:50 AM

Despite the interesting title, this has nothing to do with swollen derrieres. Please make note that I am using Poser 4. Not Poser 5, not no Pro Pack, just plain old CL updated P4. I was messing around with things and stumbled across something I kinda didn't expect... And I think I came up with a new way to package things with BUMPmaps withut having to include a big BUM file or to force the user to rebuild the BUM. For the halibut, I bumpmapped something I was working on to a plane. Then I opened the BUMpmap file in Photoshop (Open As->BMP on a PC, on a Mac select the filetype as BMP and open it). I'd already stumbled across the fact that a BUM was just a BMP, and that if you draw on it in blue weird things happen (see my tron lighting thread below). Other people knew this, but I only found this out after hacking at it. So anyway, what I did was to save the BUM/BMP as a JPEG. Then I edited the square I'd made use the BUM file to point at the JPEG instead of the BUM file. The content, aside from super minor JPEG compression (I saved it at '12') was the same. It worked. P4 read the JPEG as if it were a BUM file, didn't ask to convert or say it couldn't find it or anything. Soo, anyway, the image I'm posting in the followup (I didn't want it on top of this text) shows both squares. You can't tell which is which, of course, so I'll tell ya. The one in front/on your left is the JPEg bumpmap. THe one on the right is a normal BUM. Here's the thing, though... this WON'T do what you expect when you open it in P5 or PPP. Because those are designed to create the BUM on the fly from anything other than a BUM, it will create a bum from a bum, which will look really weird. It's not good to have a double BUM. Instead, my proposal for packaging P4/PPP/P5 compatible things with textures is to include two ZIPs INSIDE the main ZIP, alongside Runtime and the README and stuff. One of these ZIPs would be the P4 JPEG bumpmaps. One of these ZIPs would be the PPP/P5 bump jpegs, which would be the original greyscale bumpmaps you made the BUM from if you're using P4. Instructions in the README and sensible names for the ZIPs would explain what to do: if you have PPP/P5, you unzip the PPP_P5_bumps.zip to Runtime. If you're using non-PPP P4, you unzip the P4_bumps.zip to Runtime. This allows you to use the same CR2s for P4/PPP/P5, but to simply place the appropriate files in the appropriate places to do what is expected by the program in question. Make sense? Anyway, on to the image proving this works.