How to move SBSP models | Dirk Gently

Moderator: Halo Moderators

Post Reply
Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

How to move SBSP models | Dirk Gently

Post by Slapzy » Sat Jan 17, 2009 2:01 pm

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.
~ Teh Slapz
Image
TaxiService wrote:OMG BARREL ROLL ON ACIDS
._. \·. |: /.· .-. ·.\ :| .·/ ._. \·. |: /.· .-. ·.\ :| .·/ ._.
WHOOHHAGHGHHGEHGR

Rofldonutburger
Commando
Posts: 2468
Joined: Wed Oct 29, 2008 1:38 am

Re: How to move SBSP models | Dirk Gently

Post by Rofldonutburger » Sat Jan 17, 2009 3:25 pm

Umm... is there a point to moving the SBSP model? lol.
Dead. derp

Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

Re: How to move SBSP models | Dirk Gently

Post by Slapzy » Sat Jan 17, 2009 4:02 pm

Thou art not worthy
~ Teh Slapz
Image
TaxiService wrote:OMG BARREL ROLL ON ACIDS
._. \·. |: /.· .-. ·.\ :| .·/ ._. \·. |: /.· .-. ·.\ :| .·/ ._.
WHOOHHAGHGHHGEHGR

Devious
Commando
Posts: 2020
Joined: Tue Mar 25, 2008 6:06 pm
Location: RaInBOw

Re: How to move SBSP models | Dirk Gently

Post by Devious » Sat Jan 17, 2009 5:10 pm

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!
The armaments which thunderstrike the walls
And monarchs tremble in their capitals.
The oak leviathans, whose huge ribs make
Of lord of thee, and arbiter of war;
Alike the Armada's pride, or spoils of Trafalgar.

Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

Re: How to move SBSP models | Dirk Gently

Post by Slapzy » Sat Jan 17, 2009 5:23 pm

^ 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.
~ Teh Slapz
Image
TaxiService wrote:OMG BARREL ROLL ON ACIDS
._. \·. |: /.· .-. ·.\ :| .·/ ._. \·. |: /.· .-. ·.\ :| .·/ ._.
WHOOHHAGHGHHGEHGR

Rofldonutburger
Commando
Posts: 2468
Joined: Wed Oct 29, 2008 1:38 am

Re: How to move SBSP models | Dirk Gently

Post by Rofldonutburger » Sat Jan 17, 2009 6:16 pm

I think I found this in modhalo or something.
Dead. derp

Warrior seb on sisters account

Re: How to move SBSP models | Dirk Gently

Post by Warrior seb on sisters account » Sat Jan 17, 2009 6:38 pm

Interesting.
is the coll similar in design as the SBSP?

Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

Re: How to move SBSP models | Dirk Gently

Post by Slapzy » Sat Jan 17, 2009 6:44 pm

i don't believe so, or it may be similar, but at this point, there's no known way to move it correctly
~ Teh Slapz
Image
TaxiService wrote:OMG BARREL ROLL ON ACIDS
._. \·. |: /.· .-. ·.\ :| .·/ ._. \·. |: /.· .-. ·.\ :| .·/ ._.
WHOOHHAGHGHHGEHGR

Modzy
Green Beret
Posts: 3058
Joined: Fri Feb 22, 2008 11:06 pm
Location: Portland, OR

Re: How to move SBSP models | Dirk Gently

Post by Modzy » Sat Jan 17, 2009 7:13 pm

Warrior seb on sisters account wrote:Interesting.
is the coll similar in design as the SBSP?
Nu.

Devious
Commando
Posts: 2020
Joined: Tue Mar 25, 2008 6:06 pm
Location: RaInBOw

Re: How to move SBSP models | Dirk Gently

Post by Devious » Sun Jan 18, 2009 9:15 am

aww.
It is worth looking into though. I will try but I have no experience in this area, help would be appreciated.
The armaments which thunderstrike the walls
And monarchs tremble in their capitals.
The oak leviathans, whose huge ribs make
Of lord of thee, and arbiter of war;
Alike the Armada's pride, or spoils of Trafalgar.

Slapzy
Ranger
Posts: 1806
Joined: Mon May 05, 2008 3:21 pm
Location: ~root@208.113.172.130# sudo rm -f /

Re: How to move SBSP models | Dirk Gently

Post by Slapzy » Sun Jan 18, 2009 1:21 pm

Thanks modzy for clearin' that up. I was just gonna answer, idk ask rooty XD
~ Teh Slapz
Image
TaxiService wrote:OMG BARREL ROLL ON ACIDS
._. \·. |: /.· .-. ·.\ :| .·/ ._. \·. |: /.· .-. ·.\ :| .·/ ._.
WHOOHHAGHGHHGEHGR

(KHC) Shadow
SEAL
Posts: 527
Joined: Tue Jul 22, 2008 10:38 am

Re: How to move SBSP models | Dirk Gently

Post by (KHC) Shadow » Tue Jan 20, 2009 5:25 pm

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.
Image

Devious
Commando
Posts: 2020
Joined: Tue Mar 25, 2008 6:06 pm
Location: RaInBOw

Re: How to move SBSP models | Dirk Gently

Post by Devious » Tue Jan 20, 2009 6:04 pm

Its progress. Its a step forward.
The armaments which thunderstrike the walls
And monarchs tremble in their capitals.
The oak leviathans, whose huge ribs make
Of lord of thee, and arbiter of war;
Alike the Armada's pride, or spoils of Trafalgar.

(KHC) Shadow
SEAL
Posts: 527
Joined: Tue Jul 22, 2008 10:38 am

Re: How to move SBSP models | Dirk Gently

Post by (KHC) Shadow » Tue Jan 20, 2009 7:18 pm

ya i guess.
Image

Sparky
Delta Force
Posts: 4194
Joined: Wed Mar 31, 2004 8:59 pm
Location: New Jersey, USA
Contact:

Re: How to move SBSP models | Dirk Gently

Post by Sparky » Thu Jan 22, 2009 10:13 am

See the CE sticky here, most notably links like:

Collsion vs. Physics models

and

Multiple BSPs
Either you are groping for answers, or you are asking God and listening to Jesus.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests