Forum > Modelling and Animation
[QUESTION] Why does my m2 disappear ?
(1/2) > >>
Garthog:
Hi everyone, i'm new to this community ( Sorry, I feel a little rude because I didn't introduce myself :o ) I have a little problem. I took a box model, and i started to edit it. When I make it longer, it disappears, depending on the angle of the camera. I guess it's because it's bigger than the original M2, and WoW executable "thinks" we don't see it, so, it doesn't render it.
How can I fix this model, so it will render it properly, when we can see it ? (Also, does someone know another link to a WoW Dev wiki ? )
Thanks !
Garthog:
I guess I have a part of the answer. Maybe the bounding volume isn't updated in the .M2 file, so it takes the old model's bounding volume, and when the bounding volume isn't in the screen, it doesn't render the object. Do someone know how to change the bounding volume ?
--- Quote ---Retrieved from : http://www.pxr.dk/wowdev/wiki/index.php?title=M-M2
Render X,Y & Z
Render X, Y and Z defines the render position of the object. Normally if you just move the object and the camera leaves the original object position the object stops rendering. Moving Render X,Y and Z along with the object allows you to to extend the render eara to the intire ADT plane. --- End quote ---
How is defined Render X, Y and Z in the client ?
schlumpf:
http://www.pxr.dk/wowdev/wiki/index.php ... tLK#Header
Garthog:
Hm, i looked at this, and I tried 3 different modification on my file ( none of them have worked ) :
0x0B8 float VertexRadius 0x0D4 float BoundingRadius
I read your guide on how to hex edit and then I tried some value like : 0x42c80000, or 0x00000000 , but, nothing changed in game. It always disappear. Then, I tried to change de .skin file, and I changed this :
0x2C float Radius Distance of the vertex farthest from CenterBoundingBox.
To different values. I saw that the value of Radius was quite equal to BoundRadius, but, it didn't changed anything :/.
I guess I'm not looking at the right thing :/. Maybe it's in the Vec3F but i don't really know how to modify them. Is a Vec3F something like 3 float X, Y and Z ? And is the BoundingRadius related to my issue ?
schlumpf:
Yes, a vector of three floats is just three floats. The two vectors define a box. The radius is additional and the radius of a minimum sphere around the box.
Navigation
[0] Message Index
[#] Next page
|