View unanswered posts | View active topics It is currently Sat Apr 19, 2014 2:08 pm



Reply to topic  [ 15 posts ] 
 How to move SBSP models | Dirk Gently 
Author Message
Ranger
User avatar

Joined: Mon May 05, 2008 3:21 pm
Posts: 1879
Location: ~root@208.113.172.130# sudo rm -f /
Post How to move SBSP models | Dirk Gently
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


Sat Jan 17, 2009 2:01 pm
Profile
Commando

Joined: Wed Oct 29, 2008 1:38 am
Posts: 2509
Post Re: How to move SBSP models | Dirk Gently
Umm... is there a point to moving the SBSP model? lol.

_________________
Dead. derp


Sat Jan 17, 2009 3:25 pm
Profile
Ranger
User avatar

Joined: Mon May 05, 2008 3:21 pm
Posts: 1879
Location: ~root@208.113.172.130# sudo rm -f /
Post Re: How to move SBSP models | Dirk Gently
Thou art not worthy

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


Sat Jan 17, 2009 4:02 pm
Profile
Commando
User avatar

Joined: Tue Mar 25, 2008 6:06 pm
Posts: 2107
Location: RaInBOw
Post Re: How to move SBSP models | Dirk Gently
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!

_________________
Quote:
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.


Sat Jan 17, 2009 5:10 pm
Profile
Ranger
User avatar

Joined: Mon May 05, 2008 3:21 pm
Posts: 1879
Location: ~root@208.113.172.130# sudo rm -f /
Post Re: How to move SBSP models | Dirk Gently
^ 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


Sat Jan 17, 2009 5:23 pm
Profile
Commando

Joined: Wed Oct 29, 2008 1:38 am
Posts: 2509
Post Re: How to move SBSP models | Dirk Gently
I think I found this in modhalo or something.

_________________
Dead. derp


Sat Jan 17, 2009 6:16 pm
Profile
Post Re: How to move SBSP models | Dirk Gently
Interesting.
is the coll similar in design as the SBSP?


Sat Jan 17, 2009 6:38 pm
Ranger
User avatar

Joined: Mon May 05, 2008 3:21 pm
Posts: 1879
Location: ~root@208.113.172.130# sudo rm -f /
Post Re: How to move SBSP models | Dirk Gently
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


Sat Jan 17, 2009 6:44 pm
Profile
Pearl Dev
User avatar

Joined: Fri Feb 22, 2008 11:06 pm
Posts: 3042
Location: Not having time to do anything.
Post Re: How to move SBSP models | Dirk Gently
Warrior seb on sisters account wrote:
Interesting.
is the coll similar in design as the SBSP?


Nu.


Sat Jan 17, 2009 7:13 pm
Profile
Commando
User avatar

Joined: Tue Mar 25, 2008 6:06 pm
Posts: 2107
Location: RaInBOw
Post Re: How to move SBSP models | Dirk Gently
aww.
It is worth looking into though. I will try but I have no experience in this area, help would be appreciated.

_________________
Quote:
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.


Sun Jan 18, 2009 9:15 am
Profile
Ranger
User avatar

Joined: Mon May 05, 2008 3:21 pm
Posts: 1879
Location: ~root@208.113.172.130# sudo rm -f /
Post Re: How to move SBSP models | Dirk Gently
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


Sun Jan 18, 2009 1:21 pm
Profile
SEAL
User avatar

Joined: Tue Jul 22, 2008 10:38 am
Posts: 527
Post Re: How to move SBSP models | Dirk Gently
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


Tue Jan 20, 2009 5:25 pm
Profile
Commando
User avatar

Joined: Tue Mar 25, 2008 6:06 pm
Posts: 2107
Location: RaInBOw
Post Re: How to move SBSP models | Dirk Gently
Its progress. Its a step forward.

_________________
Quote:
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.


Tue Jan 20, 2009 6:04 pm
Profile
SEAL
User avatar

Joined: Tue Jul 22, 2008 10:38 am
Posts: 527
Post Re: How to move SBSP models | Dirk Gently
ya i guess.

_________________
Image


Tue Jan 20, 2009 7:18 pm
Profile
Delta Force
User avatar

Joined: Wed Mar 31, 2004 8:59 pm
Posts: 4258
Location: New Jersey, USA
Post Re: How to move SBSP models | Dirk Gently
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.


Thu Jan 22, 2009 10:13 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PPowered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.