.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   HL Engine Mapping (http://forums.bots-united.com/forumdisplay.php?f=20)
-   -   Now ya see it ... now ya don't ! (http://forums.bots-united.com/showthread.php?t=2623)

the Carpenter 10-09-2004 06:08

Now ya see it ... now ya don't !
 
Hey ! What's the crow standing on ?
http://www.accesscomm.ca/users/endo/tree001.jpg
Oh ! It was just an invisible tree !
http://www.accesscomm.ca/users/endo/tree002.jpg

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 ?

stefanhendriks 10-09-2004 09:35

Re: Now ya see it ... now ya don't !
 
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.

Pierre-Marie Baty 10-09-2004 14:12

Re: Now ya see it ... now ya don't !
 
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.

stefanhendriks 10-09-2004 16:45

Re: Now ya see it ... now ya don't !
 
w00tage, i was almost right. Makes me feel i did not lose my 'touch' yet :) :P

sfx1999 11-09-2004 18:10

Re: Now ya see it ... now ya don't !
 
It's because the tree is not in the PVS. You might want to turn the fence into a func_wall.

Zacker 11-09-2004 21:00

Re: Now ya see it ... now ya don't !
 
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.

>BKA< T Wrecks 11-09-2004 23:52

Re: Now ya see it ... now ya don't !
 
Was that the reason why the pyramid disappeared from sight sometimes, or did this have to do with another problem?

the Carpenter 12-09-2004 00:06

Re: Now ya see it ... now ya don't !
 
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:
http://www3.hmc.edu/~nalger/model_problem.PNG

sfx1999 12-09-2004 19:56

Re: Now ya see it ... now ya don't !
 
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.

the Carpenter 14-09-2004 09:30

Re: Now ya see it ... now ya don't !
 
It's been fixed.
Thanks for your input guys.


All times are GMT +2. The time now is 03:59.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.