Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Adobe Illustrator

Rusalka Writer
Registered User
Join date: 12 Jun 2007
Posts: 314
05-21-2008 06:59
Did a very simple image in AI as an experiment. Saved it as a JPEG in 64x64 in a "how bad can it be" test. Pretty bad! Then I saved it at 256x256 and 512x512 in TGA and tried to upload those. They do not even appear in the upload window in SL. I just get the white-and-gray checkerboard. What's going wrong?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
05-21-2008 07:14
For AI, I've been using PNG-24 export from the Save for Web.... and it's given me what I expected in SL. The preview you get there is handy to make sure you're saving what you think you're saving (crop area and not the whole artboard, opacity masks obeyed or ignored as you intended, etc.)
_____________________
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
05-21-2008 07:56
If you want a fully opaque image, make sure you select 24-bit in the TGA export options dialog, not 32-bit. Opaque images are always 24-bit.

If you want partial transparency, things get a little more complicated. Illustrator's alpha channel generation was broken with CS2, and is still broken in CS3. In older versions, the alpha channel would be generated in accordance with the transparency values of the objects. But now it just turns the whole channel black every time. If there's a setting to revert to the old behavior, I've never found it.

Here's a thread on the subject from two years ago: /109/da/93096/1.html

In post #11 in that thread, I describe in detail how it used to work, and then you can see someone points out how it's broken in CS2. I hadn't yet upgraded when I first posted, but by the end of the thread I had, and I was able to confirm the problem, as were others.

Nowadays, if you want partial transparency with TGA, your best bet is to copy and paste to Photoshop first, and create your alpha channel there. After pasting, it's just a 2-click process to create a perfect alpha channel from the objects. Simply ctrl-click the thumbnail of the layer you pasted them onto, to select everything on the layer, and then on the channels palette, hit the Make New Channel From Selection button. Save as 32-bit TGA, and you're done. It's a little annoying, but it shouldn't take more than 10 seconds.

You could also try going the PNG route, as Viktoria suggested, but I've never done that, so I can't comment on it (and I have to head out the door in about 30 seconds, so I have no time to experiment).
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Rusalka Writer
Registered User
Join date: 12 Jun 2007
Posts: 314
05-21-2008 09:54
Very valuable! Thank you both. I am off to experiment...
Neil Robinson
kIllustrator extordinaire
Join date: 26 Oct 2006
Posts: 47
05-29-2008 19:09
Make whatever you want in illy then smartobject it into CS2..
_____________________


http://www.NeilRobinson.WordPress.com
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
05-31-2008 11:24
It may also be your channels as well. From what i know Illustrator uses a four channel imaging system. That being CMYK, which are not web ready. You need a 3 channel RGB for SL.
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
05-31-2008 11:33
From: Atom Burma
It may also be your channels as well. From what i know Illustrator uses a four channel imaging system. That being CMYK, which are not web ready. You need a 3 channel RGB for SL.

CMYK in Illo will get you usable transparency too, but it would be an unusual model to pick for SL. The problem really is broken TGA support in the Export menu. Save for Web is a separate plugin, that's why it doesn't share the problem.
_____________________
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
05-31-2008 18:38
From: Atom Burma
From what i know Illustrator uses a four channel imaging system. That being CMYK

Illustrator is both CMYK and RGB capable, just like pretty much all Adobe graphic design programs. To switch between modes, the command sequence is File -> Document Color Mode -> check CMYK or RGB.

In any case, the working document color mode does not affect the TGA export results. If you export a 32-bit TGA from Illustrator CS2 or CS3, you get an all black alpha channel. The export is equally broken whether your working document is in CMYK or RGB.


From: Atom Burma
You need a 3 channel RGB for SL.

For opaque images, it's 3-channel RGB, yes. But if you want transparency, it's 4-channel RGBA.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.