This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!
Home
Forum
Modcraft - The community dedicated to quality WoW modding!
Forum
Content creation
Modelling and Animation
BoundingBox in GameObjectDisplayInfo, what is it for ?
Menu
Discord
Tutorials
Links
WowDev wiki
Print
Pages: [
1
]
Author
Topic: BoundingBox in GameObjectDisplayInfo, what is it for ? (Read 1485 times)
Magnus
Moderators
Wiki Incarnate
Posts: 147
BoundingBox in GameObjectDisplayInfo, what is it for ?
«
on:
February 23, 2015, 06:24:56 pm »
Hi
When I add some new display models in GameObjectDisplayInfo.dbc I always copy the bounding box vectors from an existing record.
The models seems to work for me, regardless of the values of this bounding box.
My question:
What is this bounding box for and how does it affect the game ? And if it is important, how do I have to calculate it ?
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
schlumpf
Administrator
Creator of Worlds
Posts: 2967
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #1 on:
February 23, 2015, 07:04:12 pm »
probably culling. just take the values from the models themselves.
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
Magnus
Moderators
Wiki Incarnate
Posts: 147
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #2 on:
February 23, 2015, 08:55:20 pm »
Ok, if it´s f.ex. for frustum culling, it's also maybe not so critical.
But from where I would get these values? I select a model in Noggit, see the path and modelname and make an new id in GameObjectDisplayInfo.
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
Amaroth
Contributors
Creator of Worlds
Posts: 1219
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #3 on:
February 23, 2015, 08:58:48 pm »
As far as I know when you leave 0s there model's base hardcoded values will be used.
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng
Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz
schlumpf
Administrator
Creator of Worlds
Posts: 2967
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #4 on:
February 23, 2015, 09:36:52 pm »
M2:
http://wowdev.wiki/index.php?title=M2/WotLK
, VertexBox in header.
WMO:
http://wowdev.wiki/index.php?tit ... MOHD_chunk
bounding_box in MOHD
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
Magnus
Moderators
Wiki Incarnate
Posts: 147
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #5 on:
March 30, 2015, 04:45:24 pm »
Just wanted to update the info:
The BoundingBox values seems indeed not to be important.
But if you change on a Trinity Core the type from 13 (Map Object) to 33 (Destructible Building) buildings appears very smooth. There is near no difference between client objects and server side objects.
Didn't tested the effect on other objects like trees.
«
Last Edit: March 31, 2015, 08:40:33 am by Admin
»
Logged
Amaroth
Contributors
Creator of Worlds
Posts: 1219
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #6 on:
March 30, 2015, 08:04:02 pm »
By smooth appearing you mean that they don't just instantly "flash" out on your screen? I use client side spawn for every bigger model, but still quite good to know, especially for some other guys.
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng
Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz
Magnus
Moderators
Wiki Incarnate
Posts: 147
Re: BoundingBox in GameObjectDisplayInfo, what is it for ?
«
Reply #7 on:
March 31, 2015, 09:01:23 am »
That was what I meant. It doesn't pop up.
«
Last Edit: January 01, 1970, 01:00:00 am by Admin
»
Logged
Print
Pages: [
1
]
Modcraft - The community dedicated to quality WoW modding!
Forum
Content creation
Modelling and Animation
BoundingBox in GameObjectDisplayInfo, what is it for ?