[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
Archived author: Varen • Posted: 2019-04-18T14:25:33.918000+00:00
Original source
It's very well possible I've got some math error, but I want to be sure the process is right at least
Archived author: -SeMGa! • Posted: 2019-04-18T14:25:55.912000+00:00
Original source
Must be right if you take everything in account
Archived author: Varen • Posted: 2019-04-18T14:26:58.726000+00:00
Original source
Yeah, I feel like I'm missing something. I'm even double checking by generating _obj1 off existing _obj0s and comparing mine to blizz's
Archived author: Varen • Posted: 2019-04-18T14:27:18.726000+00:00
Original source
It's always off but not in a way I can easily figure
Archived author: Varen • Posted: 2019-04-18T14:27:50.273000+00:00
Original source
The translation seems to be right, and I've gone ahead and tested it with models that are scaled to 1 and have no rotation, but it's still off
Archived author: Varen • Posted: 2019-04-18T14:37:37.584000+00:00
Original source
Here's a thing though: If I take the BBox coordinates of an object in the world with scaling 1 and rotation 0, and translate it to the origin, I *should* get the same coordinates of the bbox defined in the .m2 file, no?
Archived author: schlumpf • Posted: 2019-04-18T14:55:23.378000+00:00
Original source
be sure to add stuff you foudn out to the wiki. the lod stuff sure is incomplete.
Archived author: Varen • Posted: 2019-04-18T15:08:17.632000+00:00
Original source
It is, though I want to be sure what I found out works well before I add it in heh
Archived author: Varen • Posted: 2019-04-18T15:09:40.433000+00:00
Original source
though I noticed that bbox data in obj1s is always sorted from largest to smallest
Archived author: schlumpf • Posted: 2019-04-18T15:09:50.845000+00:00
Original source
nah, just add