Unity import script

Anything you want to share!
raumplan
Posts: 33
Joined: Mon Jul 20, 2009 9:37 am
Location: Foligno (PG) - Italy
Contact:

Re: Unity import script

Post by raumplan » Wed Oct 14, 2009 7:09 am

I use mac.
Normally uninstall procedure is very simple on mac.
I think in this case the installer find something that prevents reverting back to previous version...

Maybe Adam know what is...?

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: Unity import script

Post by AdamB » Wed Oct 14, 2009 12:15 pm

Here is a Macintosh only Uninstaller.
Attachments
LightUp Uninstaller.zip
(26.1 KiB) Downloaded 1250 times
Developer of LightUp http://www.light-up.co.uk

raumplan
Posts: 33
Joined: Mon Jul 20, 2009 9:37 am
Location: Foligno (PG) - Italy
Contact:

Re: Unity import script

Post by raumplan » Thu Oct 15, 2009 7:27 am

Many thanks, Adam.

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: Unity import script

Post by AdamB » Thu Oct 22, 2009 6:28 pm

joshkho wrote:any progress on this issue?
Fixed in development version.
Developer of LightUp http://www.light-up.co.uk

RHD
Posts: 28
Joined: Wed Jun 10, 2009 5:48 pm

Re: Unity import script

Post by RHD » Tue Nov 03, 2009 2:27 pm

Hi Adam,

Just updated to Unity 2.6 and am having a few scripting errors as a result.

For the LightUp import script I get "Can't add component 'Meshcollider to (name of imported object) because such a component is already added to the game object!
UnityEngine.GameObject:AddComponent(String)"

However, although when I click on this error message in the Console it brings up line 16 in the LightUp.js, the objects it's referring to are made in Cinema 4D and imported directly without using LightUp at all. There is no problem with any of my SketchUp models imported with LightUp.

How can I fix this?

Thanks a million.

RHD
Posts: 28
Joined: Wed Jun 10, 2009 5:48 pm

Re: Unity import script

Post by RHD » Tue Nov 03, 2009 4:50 pm

Update.

Well I cleared the console and the error messages all vanished. They haven't come back at all after some days and everything seems to be working fine so I wouldn't worry about it.

Cheers.

edwardbovine
Posts: 2
Joined: Mon Jan 25, 2010 4:29 pm

Re: Unity import script

Post by edwardbovine » Wed Jan 27, 2010 5:55 pm

Hey there folks,

Love the plugin, ace work. I've been using the script to import my models into unity and it works great, but I'm really not satisfied with the quality i'm getting. The textures seem to lose quite a bit of quality once they're into unity. As far as i can tell theres no quality settings for the fba export or the associated tga's. Is it based on the resolution u render at? (or a fixed size) and does your model size affect the overall quality you can get. I know the lightmap i get in unity is about half the size of the original tga file so whats the deal with that? anyway to change this?

I'd really appreciate some advice or comments if anyone has any idea's

cheers, ed.

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: Unity import script

Post by AdamB » Wed Jan 27, 2010 7:43 pm

Hi,

All the exports from LightUp are currently in "lossless" (no compression) formats so you never lose quality until you explicitly crunch assets down. But that means Stills, Movies and textures will be large.

eg TGA texture files are pure RGBA images with no compression.

I suspect what you are seeing is that Unity, by default, will crunch down your textures to "DXT1" format. For general textures this generally is fine but for LightMaps (textures starting with "lmap-") this is going to create horrible artefacts. You need to set it (just for lightmaps) to "RGB 24 bit" instead.

Adam
Developer of LightUp http://www.light-up.co.uk

edwardbovine
Posts: 2
Joined: Mon Jan 25, 2010 4:29 pm

Re: Unity import script

Post by edwardbovine » Wed Jan 27, 2010 8:56 pm

Ah ha, Right on the money !!

Thanx very much Adam, I should probably get to know unity a bit better.

Cheers for the speedy reply aswell...

Rush3fan
Posts: 12
Joined: Thu Mar 11, 2010 5:35 am

Re: Unity import script

Post by Rush3fan » Thu Mar 11, 2010 6:35 pm

Hey, I exported an fbx file from Light-Up and tried it in several different modeling programs and the model apears the same in every one without the lightmaping. Is unity the only program that acepts the lightmapping? All I really need is a .X file with the lightmapping applied as a texture.

I would appreciate any help.
Thanks,
Rush3fan

Post Reply