[SOLVED] "SurfIsOffscreen called on non-bmodel" -

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

[SOLVED] "SurfIsOffscreen called on non-bmodel" -

Post by Bjarne BZR »

I don't know what this error is :cry:

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?
Last edited by Bjarne BZR on Wed Jan 28, 2004 11:58 am, edited 1 time in total.
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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 :?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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... :wink:
Admin .MAP Forums
Image
Head above heels.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

just an idea: have u scripted onscreen messages?
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post 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.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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? )
Admin .MAP Forums
Image
Head above heels.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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! :D

Whooopie!!!

This was really exiting detective work... seeing the brush slowly closing in on the criminal :wink:
Admin .MAP Forums
Image
Head above heels.
Post Reply