PDA

View Full Version : .MAP conversion


CKPinson
03-04-2008, 02:22 AM
FYI, I inadvertently discovered that through my C:Programs,Mental Ray,Bin folder you can use the imf applications in there- I simply open the imf display (viewer) application and from that window you go to file and open the image file you want to convert and then file to save as .map - sometimes the cmd prompt copy(imf -p blah blah blah) version doesn't always work for me but this seems to be better. Let me know of your results or if this any help.

Bitter
03-04-2008, 04:17 AM
If you have 2008 there's a. . .sort of hidden. . .button in the preferences (rendering) to auto convert with imf_copy in the background.

It runs the -p flag and makes them EXRs which are automatically memory caching.

HJ-panorama
03-04-2008, 12:43 PM
hi saltiva


use this, copy it into a text file with .dat extension.
it works fine for me, just grab your texture and drop it on the .dat file so that it converts the file to a .map file at the same directory :

:convertfile
@IF %1 == "" GOTO end
imf_copy -p %1 "%~d1%~p1%~n1.map"
@SHIFT
@GOTO convertfile
:end
@ECHO.
@ECHO Done!
@pause



cheers!

achoury
03-04-2008, 01:04 PM
hi saltiva


use this, copy it into a text file with .dat extension.
it works fine for me, just grab your texture and drop it on the .dat file so that it converts the file to a .map file at the same directory :

:convertfile
@IF %1 == "" GOTO end
imf_copy -p %1 "%~d1%~p1%~n1.map"
@SHIFT
@GOTO convertfile
:end
@ECHO.
@ECHO Done!
@pause

cheers!

hi
convert to .bat extention not .dat extension!!
rachid

microspot
03-04-2008, 03:30 PM
If you have 2008 there's a. . .sort of hidden. . .button in the preferences (rendering) to auto convert with imf_copy in the background.

It runs the -p flag and makes them EXRs which are automatically memory caching.

yeah that's a really cool feature as it creates a folder and put the new exr files in it leaving your original fils untouched, (by default in a "cache" folder in your sourceimages folder).
It does it as pre render process only once per scene. If you change a texture after the render it will udpate it and convert it to exr when you render again. You can do it directly from the render settings window without doing a render using the "update optimized cached textures now". Also the exr format is tileable so:

Using this format, mental ray does not load entire images but only the portion of the images required to render. Memory consumption is therefore reduced and you can render larger scenes and scenes that include textures with a higher resolution. This feature increases rendering efficiency when you have a complex scene with a lot of textures that cannot all fit into memory at the same time.


cool new feature of 2008

chronic
03-04-2008, 06:03 PM
if you search the forums you can find a set of Photoshop scripts that let you export an image strait from photoshop as a .map, i use these all the time and they seem to work well.

CKPinson
03-04-2008, 10:09 PM
Chronic: agreed, I posted a link to a good PS plug to save as .map in my other forum entry- I believe it was titled "pixarish type renders with Mental Ray" or something to that effect. anyways, I don't have 2008 so this is basically for previous versions. Thanx for all of ya'lls great input.

CGTalk Moderation
03-04-2008, 10:09 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.