SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Technical Issues / Maya2008 locks textures
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 08-03-2008, 04:46 AM   #1
kojala
Registered User
 
Join Date: Mar 2008
Location: finland
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Maya2008 locks textures

Hi

first I found this feature when baking a lightmap with
color/batch bake(mentalRay) and baking the first time
everything was ok but if I brought the texture to maya
and tried to bake again with the same name I had two
different errors when baking tga or 32bit tiff:

// Error: (mental ray) : cannot open texture C:/Work/renderData/mentalray/lightMap/plane_test.tga //
// Error: (mental ray) : .../renderData/mentalray/lightMap/plane_test.tga: unrecognized file format, not an image file //

// Error: (mental ray) : cannot create file C:/Work/renderData/mentalray/lightMap/plane_test.tif //
// Error: (mental ray) : .../renderData/mentalray/lightMap/plane_test.tif: can't create file (The device does

later I found out that the problem is maya2008:s feature
to lock all loaded textures.. so mentalray cant overwrite them or you cant modify them in photoshop

Ive tried to find a solution for this on two other sites but no luck so far.

:headbang: :headbang:

Last edited by kojala : 08-03-2008 at 04:49 AM.
kojala is offline   Reply With Quote
Old 08-03-2008, 06:53 AM   #2
JuanM
Registered User
 
JuanM's Avatar
 
Join Date: Feb 2006
Location: Medellin
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
I dont know exactly what your problem is. But I can tell I you that as I been working with mental ray and May for several months now I had problems using mental ray and tiff´s textures. I would suggest you to bring that texture to photoshop and save it again in tiff format. When photoshop asks you for image compresion (this is after going to save as, and changing the format to tiff), select "NONE". Maya and mental ray doesn´t have a 100% compatibility with the tiff images. So try that, and if it keeps happening, just try to change the image format (maybe to a png-24) or something.

hope it helps....

JuanM
JuanM is offline   Reply With Quote
Old 08-03-2008, 07:04 AM   #3
kojala
Registered User
 
Join Date: Mar 2008
Location: finland
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No no no..

I need 32 bit lightmap and only ways to get them from maya2008 are tiff32 and hdr..

Please somebody test this with maya2008 create an image in photoshop then use it as an texture in maya (dont connect it to anything just load it to filenode) then try to modify this same image in photoshop and save it .. does your photoshop or any image modifieing program give you an error that the file is in use by other program or left open..
kojala is offline   Reply With Quote
Old 08-03-2008, 07:08 AM   #4
oldhippie_tom
Subscriber
 
oldhippie_tom's Avatar
 
Join Date: Sep 2005
Location: Palm Springs, Ca
Posts: 459
Thanks: 0
Thanked 3 Times in 3 Posts
Default

kojala, I may be way off. But if both Maya and Photoshop have the file open at the same time. neither will be able to overwrite it. As I read what you have written, you have the file open by two different programs at the same time.
__________________
Challenge me and I will try. Because If I should fail, failure also has a prize (Knowledge).
oldhippie_tom is offline   Reply With Quote
Old 08-03-2008, 07:14 AM   #5
JuanM
Registered User
 
JuanM's Avatar
 
Join Date: Feb 2006
Location: Medellin
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again.
I did the test and it works fine. I took a tiff image and load it to a filenode, then I open it in photoshop and modify it, save it, and no error ocurred.

JuanM
JuanM is offline   Reply With Quote
Old 08-03-2008, 07:19 AM   #6
oldhippie_tom
Subscriber
 
oldhippie_tom's Avatar
 
Join Date: Sep 2005
Location: Palm Springs, Ca
Posts: 459
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Then I was mistaken, sorry!!
__________________
Challenge me and I will try. Because If I should fail, failure also has a prize (Knowledge).
oldhippie_tom is offline   Reply With Quote
Old 08-03-2008, 08:29 AM   #7
kojala
Registered User
 
Join Date: Mar 2008
Location: finland
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry.. I should have tested this a bit more before giving you tests.. I thought it wouldnt work..

I did it my self and it worked..

but the errors I get when I bake a lightmap then bring it to maya and load it to a unconnected filenode and bake again and bang baking fails..

could you please try it

there is something weird going on..
Im using xp 64bit ..might that be the problem?

Wow this was the first site where I got some real answers!
thanks anyway

and I havent had any problems before using same texture in maya and photoshop at the same time (I used before maya6.. I know it was old but worked fine)

Last edited by kojala : 08-03-2008 at 08:32 AM.
kojala is offline   Reply With Quote
Old 09-03-2008, 10:27 PM   #8
kojala
Registered User
 
Join Date: Mar 2008
Location: finland
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

:headbang: :headbang: :headbang: :headbang:

I solved this thing... argh..

the problem was the mayas new "high dynamic range image preview options" attribute and its plugin that is found at file node

the problem format was tif 32bit .. maya can not read it with out this plugin so I had to turn it on.. and that plugin opened
this tif in a way that it can not be overwritten.. huoh

so I`ll be using hdr ... argh.. it took me a week to solv this
kojala is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.