[Urban Terror] bad lightmaps on .ase models

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Rav3n
Posts: 51
Joined: Sat Mar 12, 2011 7:50 pm

[Urban Terror] bad lightmaps on .ase models

Post by Rav3n »

Recently i started modeling and yesterday i made my first "usable" model.
I made a model of a barrel, exported it as .ase, made the normal and bump maps for it and after compiling i noticed that if i compile with -patchmeta switch the specular doesn't works.
So i compiled with only -meta and now _n and _b maps work but now the smoothing doesn't works properly and i get ugly looking lightmaps with clearly defined edges.
If i compile with both switches then -patchmeta is being ignored.
I added spawnflags 4 to the model and that soothed the problem a little but the lightmap still looks pretty bad.

-patchmeta
Image


-meta
Image


I have 2 smoothing groups on the model, one for the vertical walls and one for top and bottom "bands".

Anyone had a similar issue?
Is there a way to do separate compiles one with -meta and one with -patchmeta and then merge them? (yeah i know dumb question but i had to ask)
tehSandwich
Posts: 64
Joined: Thu Jun 11, 2009 5:49 am

Re: bad lightmaps on .ase models

Post by tehSandwich »

Compile with both -meta and -patchmeta? Just what version of Urban Terror is this?
Rav3n
Posts: 51
Joined: Sat Mar 12, 2011 7:50 pm

Re: bad lightmaps on .ase models

Post by Rav3n »

tehSandwich wrote:Compile with both -meta and -patchmeta? Just what version of Urban Terror is this?
Like i said, when i compile with both -patchmeta switch is ignored.
Screenshots are showing UrT 4.1 and 27's ioBumpy renderer, i tested it under UrT 4.2 and i get same results.
tehSandwich
Posts: 64
Joined: Thu Jun 11, 2009 5:49 am

Re: bad lightmaps on .ase models

Post by tehSandwich »

What is the compiler version and why exactly would you need -patchmeta?
Rav3n
Posts: 51
Joined: Sat Mar 12, 2011 7:50 pm

Re: bad lightmaps on .ase models

Post by Rav3n »

tehSandwich wrote:What is the compiler version and why exactly would you need -patchmeta?
FS_q3map_Radbump_4a is the compiler I'm using.
I need patchmeta to smooth out the shadows. Otherwise i have straight lines running along the edges.
phantazm11
Posts: 362
Joined: Tue Jan 31, 2006 12:03 am

Re: bad lightmaps on .ase models

Post by phantazm11 »

You could try using q3map_shadeAngle in your shader instead of compiling with patchmeta for the smoothing problem.
Rav3n
Posts: 51
Joined: Sat Mar 12, 2011 7:50 pm

Re: bad lightmaps on .ase models

Post by Rav3n »

phantazm11 wrote:You could try using q3map_shadeAngle in your shader instead of compiling with patchmeta for the smoothing problem.
Well if i understood correctly from several threads about models in games based on Q3 engine, smoothing groups are supposed to replace the q3map_shadeangle. Plus i was informed that q3map_shadeangle doesn't works with the new compiler. So it's one dead end after another.
deqer
Posts: 298
Joined: Mon Dec 28, 2009 6:30 pm

Re: [Urban Terror] bad lightmaps on .ase models

Post by deqer »

you can also check out the #urbanmappers channel on IRC. if you're on windows, try mIRC and connect to irc.quakenet.org and /join #urbanmappers
Post Reply