Lighting speedup using styled light?


(Jeppa) #1

How can i speed up the lighting ?
Using bounce 8 q3map2 hangs just after
— SetupEnvelopes (fast) —
no change after 2 days…
It produced 52 lightmap TGAs and 386 custom shaders.
My commandline : q3map2.exe -light -v -filter -super 2 -nocollapse -fast -bounce 8 -patchshadows -fs_basepath xyz… yzx.map


(ydnar) #2

How far into the bouncing does it do this?


(Jeppa) #3

At the firtst bounce…
The bsp that is saved just before (still without bounce) looks good btw.
But i’d like to bounce it… :confused:


(Jeppa) #4

hmmmm…


(fraco) #5

Jeppa, Ydnar,

had that same problem too when i (accidentally) had styled lights. Now I got rid of those and it bounces fine. Could there be a problem with the external lightmaps ?

fraco


(Jeppa) #6

jip, sure… but i WANT to use styled lights …
But this seemts to take ages to compile :frowning:
I dont want to wait all week just to see there is still a mispositioned light or so…
In my last compile i had 65 lightmap tgas and ‘785 custom shaders emitted’ btw.


(ydnar) #7

It sounds like you have an extremely large map.

Check to see if any lights have a “targetname” key t hat could be causing them to be automatically styled (which won’t work with the Quake 3 lightstyles hack).

y


(Jeppa) #8

Yes, it’s kinda fat map :slight_smile:
but no lights with targetname key.
Just a big map with a blinking, styled shader in some areas.

btw. This is compiled @2.66GHz P4 with 768MB RAM, so the machine should be good enough for compiling :smiley:


(damocles) #9

iirc there was a bug in q3map where a md3 that had a bad uv mapping value in it could cause the bounce phase to enter into a permanent loop.

Don’t know if this bug is still around or not, or if this is your problem.


(damocles) #10

iirc there was a bug in q3map where a md3 that had a bad uv mapping value in it could cause the bounce phase to enter into a permanent loop.

Don’t know if this bug is still around or not, or if this is your problem.