[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
Mac Gaming Mods • How to move SBSP models | Dirk Gently
Page 1 of 1

How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 2:01 pm
by Slapzy
Essay on how to move SBSP models
By: Dirk

-----------------------------------------------------------

For this, i am going to be talking about coordinate points and lots of 1,2, and 3 dimensional planes so to become more familar with the sbsp model open eschaton 0.6 and go to the scenario viewer. From there export the sbsp as an obj and open it in notepad or textedit. Become aquianted with the coordinate system if you need to.

Every sbsp in halo is on a coordinate plane. This plane has three axises, x,y,z. Another thing they all have in common is that they are all different distances from the point 0,0,0. In order to move any model data we are first going to need a point of origin on the model. This point is at the exact center of the model. This point is the center of a sphere that encompasses the whole model.

To get this point we will need to find the midpoint of each plane of this model. To do this we need to identify the x,y,z coordinate values and use the midpoint formula on the furthest apart values on each separate plane. First x, then y, then z. The value you get for each of those equations will give you the coordinates of the center point on the model, as well as the radius for each of the separate planes.

Repeat this step for both sbsp models. Now that you have the center radius of the models, you determine the distance that the center coordinate point is from the origin. This step is key in moving a new sbsp model into place where the original was.

Determine the distance that point x,y,z is from 0,0,0. Once you do that, do the same for the replacement sbsp model. Now you know how to move the new sbsp into the same location as the original was. Now all that is left to do is use the points you have to accuaretly translate the whole new sbsp model into position where the old one was.

NOTE: this will only move the sbsp model data. The collision model will not change and cannot be moved in this same fashion.

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 3:25 pm
by Rofldonutburger
Umm... is there a point to moving the SBSP model? lol.

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 4:02 pm
by Slapzy
Thou art not worthy

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 5:10 pm
by Devious
Ohhhhhhhhhhh.
This allows you to put a new bsp where the other one was. This allows it to use the coll for the other bsp.
This can allow you to make a completely new map.
Now the valhalla mod is possible!

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 5:23 pm
by Slapzy
^ Thou art worthy

however...
we have to find a way to move the coll as well
Teh Slapz wrote:NOTE: this will only move the sbsp model data. The collision model will not change and cannot be moved in this same fashion.

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 6:16 pm
by Rofldonutburger
I think I found this in modhalo or something.

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 6:38 pm
by Warrior seb on sisters account
Interesting.
is the coll similar in design as the SBSP?

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 6:44 pm
by Slapzy
i don't believe so, or it may be similar, but at this point, there's no known way to move it correctly

Re: How to move SBSP models | Dirk Gently

Posted: Sat Jan 17, 2009 7:13 pm
by Modzy
Warrior seb on sisters account wrote:Interesting.
is the coll similar in design as the SBSP?
Nu.

Re: How to move SBSP models | Dirk Gently

Posted: Sun Jan 18, 2009 9:15 am
by Devious
aww.
It is worth looking into though. I will try but I have no experience in this area, help would be appreciated.

Re: How to move SBSP models | Dirk Gently

Posted: Sun Jan 18, 2009 1:21 pm
by Slapzy
Thanks modzy for clearin' that up. I was just gonna answer, idk ask rooty XD

Re: How to move SBSP models | Dirk Gently

Posted: Tue Jan 20, 2009 5:25 pm
by (KHC) Shadow
wwaittt....so why would you need to move the sbsp. Are you saying once Alt releases bsp importation in eschaton, we can use this technique to move the bsp to the previous position of the old one? If so i guess this is sorta useful, but if you cant move the coll model.....well its sorta useless XD.

Re: How to move SBSP models | Dirk Gently

Posted: Tue Jan 20, 2009 6:04 pm
by Devious
Its progress. Its a step forward.

Re: How to move SBSP models | Dirk Gently

Posted: Tue Jan 20, 2009 7:18 pm
by (KHC) Shadow
ya i guess.

Re: How to move SBSP models | Dirk Gently

Posted: Thu Jan 22, 2009 10:13 am
by Sparky
See the CE sticky here, most notably links like:

Collsion vs. Physics models

and

Multiple BSPs