Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] So I'm most of the way done with the _obj1 generator, it almost works, but there's either something

[DiscordArchive] So I'm most of the way done with the _obj1 generator, it almost works, but there's either something

[DiscordArchive] So I'm most of the way done with the _obj1 generator, it almost works, but there's either something

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
04-18-2019, 01:55 PM
#1
Archived author: Varen • Posted: 2019-04-18T13:55:59.682000+00:00
Original source

So I'm most of the way done with the _obj1 generator, it almost works, but there's either something off with the maths for the bounding boxes, or i'm getting the wrong data.
The position is mostly right, but by the looks of it I'm either getting something off with the rotation, or the starting data I have for the models is actually wrong.
Does anyone have a remote clue of how the bounding boxes of the M2s are formatted? Are they oriented or are they just AABB as the ADT ones?
rektbyfaith
04-18-2019, 01:55 PM #1

Archived author: Varen • Posted: 2019-04-18T13:55:59.682000+00:00
Original source

So I'm most of the way done with the _obj1 generator, it almost works, but there's either something off with the maths for the bounding boxes, or i'm getting the wrong data.
The position is mostly right, but by the looks of it I'm either getting something off with the rotation, or the starting data I have for the models is actually wrong.
Does anyone have a remote clue of how the bounding boxes of the M2s are formatted? Are they oriented or are they just AABB as the ADT ones?

rektbyfaith
Administrator
0
04-18-2019, 02:16 PM
#2
Archived author: -SeMGa! • Posted: 2019-04-18T14:16:45.877000+00:00
Original source

It's well described on the wiki on the adt page
rektbyfaith
04-18-2019, 02:16 PM #2

Archived author: -SeMGa! • Posted: 2019-04-18T14:16:45.877000+00:00
Original source

It's well described on the wiki on the adt page

rektbyfaith
Administrator
0
04-18-2019, 02:21 PM
#3
Archived author: Varen • Posted: 2019-04-18T14:21:39.589000+00:00
Original source

<@270551838766399489> The adt page describes a decent amount of it, however what I'm trying to do is generate proper bounding boxes. The issue is that for Legion I need them for M2s as well, and these aren't as trivial as WMOs.
rektbyfaith
04-18-2019, 02:21 PM #3

Archived author: Varen • Posted: 2019-04-18T14:21:39.589000+00:00
Original source

<@270551838766399489> The adt page describes a decent amount of it, however what I'm trying to do is generate proper bounding boxes. The issue is that for Legion I need them for M2s as well, and these aren't as trivial as WMOs.

rektbyfaith
Administrator
0
04-18-2019, 02:22 PM
#4
Archived author: Varen • Posted: 2019-04-18T14:22:07.314000+00:00
Original source

I figured I could just read the bbox from the .m2 file and use that, but it's off in all sorts of ways
rektbyfaith
04-18-2019, 02:22 PM #4

Archived author: Varen • Posted: 2019-04-18T14:22:07.314000+00:00
Original source

I figured I could just read the bbox from the .m2 file and use that, but it's off in all sorts of ways

rektbyfaith
Administrator
0
04-18-2019, 02:22 PM
#5
Archived author: -SeMGa! • Posted: 2019-04-18T14:22:38.095000+00:00
Original source

You have to read that it's not just bb from m2
rektbyfaith
04-18-2019, 02:22 PM #5

Archived author: -SeMGa! • Posted: 2019-04-18T14:22:38.095000+00:00
Original source

You have to read that it's not just bb from m2

rektbyfaith
Administrator
0
04-18-2019, 02:24 PM
#6
Archived author: -SeMGa! • Posted: 2019-04-18T14:24:20.137000+00:00
Original source

Can't link you the right chunk but you have to keep in mind scale, rotation and world pos(not sure about pos). Well. It must be on adt page anyway
rektbyfaith
04-18-2019, 02:24 PM #6

Archived author: -SeMGa! • Posted: 2019-04-18T14:24:20.137000+00:00
Original source

Can't link you the right chunk but you have to keep in mind scale, rotation and world pos(not sure about pos). Well. It must be on adt page anyway

rektbyfaith
Administrator
0
04-18-2019, 02:24 PM
#7
Archived author: Varen • Posted: 2019-04-18T14:24:35.951000+00:00
Original source

Oh, I have done that
rektbyfaith
04-18-2019, 02:24 PM #7

Archived author: Varen • Posted: 2019-04-18T14:24:35.951000+00:00
Original source

Oh, I have done that

rektbyfaith
Administrator
0
04-18-2019, 02:24 PM
#8
Archived author: -SeMGa! • Posted: 2019-04-18T14:24:51.303000+00:00
Original source

Well. Strange. It works for me
rektbyfaith
04-18-2019, 02:24 PM #8

Archived author: -SeMGa! • Posted: 2019-04-18T14:24:51.303000+00:00
Original source

Well. Strange. It works for me

rektbyfaith
Administrator
0
04-18-2019, 02:24 PM
#9
Archived author: Varen • Posted: 2019-04-18T14:24:53.059000+00:00
Original source

I've even gone and used an implementation of the glmatrix library
rektbyfaith
04-18-2019, 02:24 PM #9

Archived author: Varen • Posted: 2019-04-18T14:24:53.059000+00:00
Original source

I've even gone and used an implementation of the glmatrix library

rektbyfaith
Administrator
0
04-18-2019, 02:25 PM
#10
Archived author: Varen • Posted: 2019-04-18T14:25:01.617000+00:00
Original source

just to be sure I had the same logic as the adt page
rektbyfaith
04-18-2019, 02:25 PM #10

Archived author: Varen • Posted: 2019-04-18T14:25:01.617000+00:00
Original source

just to be sure I had the same logic as the adt page

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)