ParseTriSurf error


(Evader) #1

I have imported .lwo model as misc_model to radiant. Al textures show up normal in editor, but when I compile and try to load it, I get “ParseTriSurf: indices > MAX (53394 > 6000)” error when using some shaders. If I change .lwo surfaces not to use said shaders, I have no problem compiling. I tried to find some info about ParseTriSurf but no luck. I have no idea what’s causing this error and would apreciate any help. Thanks!


(Twisted0n3) #2

Are they shaders with the deformVertexes keyword? Or tessSize?


(Evader) #3

This is an example of a shader that creates a problem. When surface is renamed, problem disappears so I guess my mesh is fine. Problem is that I have identical shader that doesn’t create error… I was just hoping if someone can point me in the right direction…

textures/ICTR/03
{
q3map_lightImage textures/byss/biglight_glow.tga
qer_editorimage textures/ICTR/03.tga
q3map_surfacelight 5000

{
    map $lightmap
}
{
    map textures/ICTR/03
    blendFunc GL_DST_COLOR GL_ZERO
}
{
    map textures/byss/biglight_glow
    blendFunc GL_ONE GL_ONE
    glow
    rgbGen identity
}

}


(Evader) #4

I have isolated problematic surfaces to a separate model and they seem to compile fine now.