Page 1 of 1
[SOLVED] "SurfIsOffscreen called on non-bmodel" -
Posted: Sun Jan 18, 2004 11:27 pm
by Bjarne BZR
I don't know what this error is
I get this line in the consol when running the map:
Code: Select all
WARNING: SurfIsOffscreen called on non-bmodel!
It repeats over and over very fast...
What causes it?
Is it dangerous?
Posted: Mon Jan 19, 2004 7:12 am
by jv_map
Never seen it before

only thing I can think of is that maybe you used a shader specifically written for model entities or static models on a solid wall... but that usually results only in a lighting error instead of this crap

Posted: Mon Jan 19, 2004 11:26 am
by Bjarne BZR
Hmmm... well, the only visible effect is console messages... nothing else... lets hope it's not lethal. If it is: Tell my girl I love her...

Posted: Mon Jan 19, 2004 4:16 pm
by wacko
just an idea: have u scripted onscreen messages?
Posted: Mon Jan 19, 2004 6:24 pm
by crunch
This sounds like an openGL issue.
I am not sure exactly what is going on, but it appears that a brush/model may be beyond the limits of the grid.
The game is trying to draw something that has no "space" in which to be drawn.
This is just a guess, but is also a possibility.
Check the proximity of models/brushes to the edge of the grid in all 3 2D views. Be sure to look past the bounding boxes of models, as the models usually extend well beyond the bounding box.
Posted: Wed Jan 28, 2004 12:26 am
by Bjarne BZR
Wacko wrote:just an idea: have u scripted onscreen messages?
Yes... I have:
Code: Select all
parm.other iprint "Elevator is busy" 0
Code: Select all
iprintlnbold_noloc "A landshark is beeing burned in hell!" 1
Code: Select all
self iprint "Scout mod not installed" 0
Could this be the source?
( And I saw you had the same SurfIsOffscreen problem in some thread about a bright player model? )
Posted: Wed Jan 28, 2004 12:09 pm
by Bjarne BZR
I cracked it in the most strange way

As the error gave no clue as to WHERE the error was: I walked around in the map, stopping at about 5 distinct points. From these points I slowly turned the player while looking at the console... at the exact angle where the error started pumping into the console: I took a screenshot... then I turned the other way around and did the same the other way.
After getting the triangulations from these placec: I returned to Radiant, drew a brush around all of the map and started Clipping the brush in accordance with the triangulation screenshots... when I was done I had a brush that almost exactly encased a single patch-mesh that made up the floor in the tobaconist:s shop in the Canal.
I deleted it and re-made it... Problem gone!
Whooopie!!!
This was really exiting detective work... seeing the brush slowly closing in on the criminal
