.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Forge of Digital Worlds > Mapping > HL Engine Mapping
HL Engine Mapping Maps for the Half-Life engine Half-Life

Reply
 
Thread Tools
Now ya see it ... now ya don't !
Old
  (#1)
the Carpenter
Member
 
the Carpenter's Avatar
 
Status: Offline
Posts: 182
Join Date: Apr 2004
Location: The Great White North
Default Now ya see it ... now ya don't ! - 10-09-2004

Hey ! What's the crow standing on ?

Oh ! It was just an invisible tree !


Anybody know why the tree would disappear like that ?
It's not a max_view issue.
Might it be that I was looking through a clip brush ?
I just dunno ?

Suggestions ?


I came.
I sawed.
I conquered.

  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Now ya see it ... now ya don't ! - 10-09-2004

Although i am not an expert, i think it somehow has to do with the fact the 'tree' is not visible from that point according to the engine. It probably does some sort of trace or calculation and fails there. Though when you come closer the angle changes and thus the above same calculation succeeds. I think its engine related, but for fun you could try to raise the tree with a few units and see if it happens again. I bet the engine only does a basic check to know if its visible... perhaps you can do something with setting 'size' of this object? THat could also help a bit.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#3)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Now ya see it ... now ya don't ! - 10-09-2004

Stefan is right in the principle, because I had the same glitch with the OpenGL port of Wolfenstein 3D (in which I put many MD2 models, which are basically the same thing as MDL models). Umm yep, I assume that that tree is a separate entity with a certain model, not a world brush.

To tell whether an entity is visible or not (and thus to decide if it should be drawn or not) one of the first checks the engine does is checking a direct line of sight to each of the model's "bones". These are particular points of the model which can eventually be articulated, in case the model is a skeleton or some sort of moving stuff. The problem is that some modelers just put 1 bone for their static models, which is the minimum for any model to compile successfully ; however with just 1 bone it's very inaccurate to tell that when this bone is visible the whole entity is, and completely wrong to say that when it is no longer visible, the whole entity is no longer visible either.

This is *one* of the reasons that may explain your problem, however I can't guarantee it's the right one. Try adding more bones at different locations in your model (do this with Milkshape 3D, for example) ; then, assign them the right vertices, recompile the .mdl file and try to see if the glitch vanishes or not.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 10-09-2004 at 23:12.. Reason: one word was missing :)
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Now ya see it ... now ya don't ! - 10-09-2004

age, i was almost right. Makes me feel i did not lose my 'touch' yet


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#5)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Now ya see it ... now ya don't ! - 11-09-2004

It's because the tree is not in the PVS. You might want to turn the fence into a func_wall.


sfx1999.postcount++
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#6)
Zacker
Project Leader, Lead Level Designer, Waypointer
 
Status: Offline
Posts: 337
Join Date: Mar 2004
Location: Denmark
Default Re: Now ya see it ... now ya don't ! - 11-09-2004

I wrote a article about modelbehaviours a few months ago. You might want to read it at www.thefuture.dk as it relates to your problem.

I have always thought that the engine checked if the origin of the model was visible. Many mappers have had problems with models not showing up from certain angles. Its cool to know it can be fixed by attaching more of the mesh to bones.

Daano and Zyndrone had lots of problems with in Sandstorm and fixed it by lowering the model in the editor and therefore raising the origin.
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#7)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Now ya see it ... now ya don't ! - 12-09-2004

Was that the reason why the pyramid disappeared from sight sometimes, or did this have to do with another problem?



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#8)
the Carpenter
Member
 
the Carpenter's Avatar
 
Status: Offline
Posts: 182
Join Date: Apr 2004
Location: The Great White North
Default Re: Now ya see it ... now ya don't ! - 12-09-2004

The fence IS a func_wall, already.
Another dude suggested that the tree is simply within another bsp node.
That doesn't explain why the bird is still bisible though.

Here;s what else was posted & it looks like it makes sense to me:


I came.
I sawed.
I conquered.


Last edited by the Carpenter; 12-09-2004 at 01:10..
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#9)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Now ya see it ... now ya don't ! - 12-09-2004

It does explain why the bird is still visible, actually. The bird is in a visible node.

You are going to have to find a way to make that node visible.Good luck with that.

One way is to turn the terrain into a func_wall, but that will look like shit.

Another way is to raise the terrain the tree is on upward.


sfx1999.postcount++

Last edited by sfx1999; 12-09-2004 at 20:58..
  
Reply With Quote
Re: Now ya see it ... now ya don't !
Old
  (#10)
the Carpenter
Member
 
the Carpenter's Avatar
 
Status: Offline
Posts: 182
Join Date: Apr 2004
Location: The Great White North
Default Re: Now ya see it ... now ya don't ! - 14-09-2004

It's been fixed.
Thanks for your input guys.


I came.
I sawed.
I conquered.

  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com