 |
ZylonBane
Face
Registered: Apr 2002
Location: Kansas City, KS
Posts: 134 |
Shrike, say what? Most weapons in FS2 already cast light, as do warp holes.
Before everybody gets all crazy with expanding FS2, I'd like to see a version that does nothing more than fix the known bugs.
__________________
ZylonBane's opinions do not reflect those of the management.
That's [url=http://home.att.net/~clay.h/fs2/violition.htm]VOLITION[/url]!
Report this post to a moderator | IP: Logged
|
04-25-2002 04:51 AM |
|
|
|  |
 |
|  |
 |
Shrike
BWO Team Member

Registered: Jul 2000
Location: Lo-Fidelity All Star
Posts: 2273 |
quote: Originally posted by ZylonBane
Shrike, say what? Most weapons in FS2 already cast light, as do warp holes.
I said effects. That doesn't necessarily mean weapons fire.
__________________
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR COMPUTERS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUM WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.
Report this post to a moderator | IP: Logged
|
04-25-2002 05:11 AM |
|
|
|  |
 |
Shrike
BWO Team Member

Registered: Jul 2000
Location: Lo-Fidelity All Star
Posts: 2273 |
quote: Originally posted by ZylonBane
Shrike, say what? Most weapons in FS2 already cast light, as do warp holes.
I said effects. That doesn't necessarily mean weapons fire.
__________________
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR COMPUTERS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUM WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.
Report this post to a moderator | IP: Logged
|
04-25-2002 05:11 AM |
|
|
|  |
 |
Sigma957
Babylon Project

Registered: Feb 2001
Location: South Australia,Australia,Sol
Posts: 1185 |
Woohoo
The thought of being able to use beam weaponary on fighters and adding diferent effects makes me drool
__________________
"When it is time, come to this place, call our name, we will be here"-Walkers of Sigma957
[url=http://ifh.firstones.com]IFH[/url]-B5 free game
[url=http://freespace.volitionwatch.com/babylon/]The Babylon Project[/url]-Bringing Babylon 5 to Freespace2
Report this post to a moderator | IP: Logged
|
04-25-2002 05:17 AM |
|
|
|  |
 |
Sigma957
Babylon Project

Registered: Feb 2001
Location: South Australia,Australia,Sol
Posts: 1185 |
Woohoo
The thought of being able to use beam weaponary on fighters and adding diferent effects makes me drool
__________________
"When it is time, come to this place, call our name, we will be here"-Walkers of Sigma957
[url=http://ifh.firstones.com]IFH[/url]-B5 free game
[url=http://freespace.volitionwatch.com/babylon/]The Babylon Project[/url]-Bringing Babylon 5 to Freespace2
Report this post to a moderator | IP: Logged
|
04-25-2002 05:17 AM |
|
|
|  |
 |
ltnarol
Murdock
Registered: Dec 2001
Location: GTD Haydon
Posts: 357 |
dave, can you explain what the problem is with putting rotating turrets on the sides of ships?
__________________
[url="http://www.3dap.com/hlp/hosted/the158th/"]158th Banshee Squadron[/url]
Report this post to a moderator | IP: Logged
|
04-25-2002 05:19 AM |
|
|
|  |
 |
daveb
Volition

Registered: Jul 2000
Location:
Posts: 105 |
Well, the details are bit hazy, but I think it goes something like this :
The higher level turret code relies on how turrets are oriented relative to subobjects of a model. The model subobject code was written such that it always assumed a subobject would always be axis-aligned with the main model. This was done partially for rendering reasons, but more importantly because the physics/collision code needed to make a simplified set of assumptions to be both fast and "correct". I'm kind of pulling this from dim memory, so take this with a grain of salt.
There's no reason it couldn't be done properly to allow arbitrary orientation of subobjects. _But_ this is a very big task. I'm pretty sure I remember having this discussion when FS2 was under development. There's a lot of ugly math involved and the potential for introducing bugs (very high) into a system which was perfectly functional was just too high.
For those with a strong consitution and access to the source code, see
void calculate_ship_ship_collision_physics(...);
Last edited by daveb on 04-25-2002 at 05:46 AM
Report this post to a moderator | IP: Logged
|
04-25-2002 05:38 AM |
|
|
|  |
 |
daveb
Volition

Registered: Jul 2000
Location:
Posts: 105 |
Well, the details are bit hazy, but I think it goes something like this :
The higher level turret code relies on how turrets are oriented relative to subobjects of a model. The model subobject code was written such that it always assumed a subobject would always be axis-aligned with the main model. This was done partially for rendering reasons, but more importantly because the physics/collision code needed to make a simplified set of assumptions to be both fast and "correct". I'm kind of pulling this from dim memory, so take this with a grain of salt.
There's no reason it couldn't be done properly to allow arbitrary orientation of subobjects. _But_ this is a very big task. I'm pretty sure I remember having this discussion when FS2 was under development. There's a lot of ugly math involved and the potential for introducing bugs (very high) into a system which was perfectly functional was just too high.
For those with a strong consitution and access to the source code, see
void calculate_ship_ship_collision_physics(...);
Last edited by daveb on 04-25-2002 at 05:46 AM
Report this post to a moderator | IP: Logged
|
04-25-2002 05:38 AM |
|
|
|  |
 |
ltnarol
Murdock
Registered: Dec 2001
Location: GTD Haydon
Posts: 357 |
o great, first semester of algebra 2 coming back to haunt me. So basically, if we were to adjust the code to allow for rotating turrets on the sides of ships we'd have to deal with a bunch of problems with the collision code, which in turn would have to be redone as well. Did it get that right?
(programming isnt my first language) 
__________________
[url="http://www.3dap.com/hlp/hosted/the158th/"]158th Banshee Squadron[/url]
Last edited by ltnarol on 04-25-2002 at 06:04 AM
Report this post to a moderator | IP: Logged
|
04-25-2002 06:04 AM |
|
|
|  |
 |
ltnarol
Murdock
Registered: Dec 2001
Location: GTD Haydon
Posts: 357 |
o great, first semester of algebra 2 coming back to haunt me. So basically, if we were to adjust the code to allow for rotating turrets on the sides of ships we'd have to deal with a bunch of problems with the collision code, which in turn would have to be redone as well. Did it get that right?
(programming isnt my first language) 
__________________
[url="http://www.3dap.com/hlp/hosted/the158th/"]158th Banshee Squadron[/url]
Last edited by ltnarol on 04-25-2002 at 06:04 AM
Report this post to a moderator | IP: Logged
|
04-25-2002 06:04 AM |
|
|
|  |
 |
daveb
Volition

Registered: Jul 2000
Location:
Posts: 105 |
Something like that.
Put it this way, all that stuff was written by Dave Andsager, who happens to have a phD in physics. Dave is a walking math reference manual and he spent many man-months over the course of 2 projects getting that stuff to be as good as it is. One of the major accomplishments in FS2 was getting proper collisions with moving subobjects. Its a very difficult problem.
But don't let that stop you! If someone could make non-axis-aligned subobjects with correct physics, collision, rendering and ai, I'd be pretty dang impressed.
But as a game developer, I'd put this _way_ low on my list of stuff-worth-doing simply because of the effort involved vs. the payoff. The 4 man months you'd spend making it all work and debugging it could be well spent elsewhere 
Report this post to a moderator | IP: Logged
|
04-25-2002 06:14 AM |
|
|
|  |
 |
daveb
Volition

Registered: Jul 2000
Location:
Posts: 105 |
Something like that.
Put it this way, all that stuff was written by Dave Andsager, who happens to have a phD in physics. Dave is a walking math reference manual and he spent many man-months over the course of 2 projects getting that stuff to be as good as it is. One of the major accomplishments in FS2 was getting proper collisions with moving subobjects. Its a very difficult problem.
But don't let that stop you! If someone could make non-axis-aligned subobjects with correct physics, collision, rendering and ai, I'd be pretty dang impressed.
But as a game developer, I'd put this _way_ low on my list of stuff-worth-doing simply because of the effort involved vs. the payoff. The 4 man months you'd spend making it all work and debugging it could be well spent elsewhere 
Report this post to a moderator | IP: Logged
|
04-25-2002 06:14 AM |
|
|
|  |
 |
ZylonBane
Face
Registered: Apr 2002
Location: Kansas City, KS
Posts: 134 |
quote: Originally posted by Shrike
I said effects. That doesn't necessarily mean weapons fire.
What else is there? Engine glows?
__________________
ZylonBane's opinions do not reflect those of the management.
That's [url=http://home.att.net/~clay.h/fs2/violition.htm]VOLITION[/url]!
Report this post to a moderator | IP: Logged
|
04-25-2002 06:26 AM |
|
|
|  |
 |
ZylonBane
Face
Registered: Apr 2002
Location: Kansas City, KS
Posts: 134 |
quote: Originally posted by Shrike
I said effects. That doesn't necessarily mean weapons fire.
What else is there? Engine glows?
__________________
ZylonBane's opinions do not reflect those of the management.
That's [url=http://home.att.net/~clay.h/fs2/violition.htm]VOLITION[/url]!
Report this post to a moderator | IP: Logged
|
04-25-2002 06:26 AM |
|
|
|  |
 |
Shrike
BWO Team Member

Registered: Jul 2000
Location: Lo-Fidelity All Star
Posts: 2273 |
quote: Originally posted by ZylonBane
What else is there? Engine glows?
That's a start. Do shockwaves produce a lighting effect?
__________________
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR COMPUTERS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUM WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.
Report this post to a moderator | IP: Logged
|
04-25-2002 06:27 AM |
|
|
|  |
 |
Shrike
BWO Team Member

Registered: Jul 2000
Location: Lo-Fidelity All Star
Posts: 2273 |
quote: Originally posted by ZylonBane
What else is there? Engine glows?
That's a start. Do shockwaves produce a lighting effect?
__________________
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR COMPUTERS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUM WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.
Report this post to a moderator | IP: Logged
|
04-25-2002 06:27 AM |
|
|
|  |
 |
daveb
Volition

Registered: Jul 2000
Location:
Posts: 105 |
There's just all kinds of cool lighting stuff that could be done. Although #1 on my list would be to speed up the low level lighting code itself. Its _way_ too expensive for what it does. I'd bet you could speed it up by a factor of 5 or more with a little effort.
Report this post to a moderator | IP: Logged
|
04-25-2002 06:29 AM |
|
|
|  |
 |
daveb
Volition

Registered: Jul 2000
Location:
Posts: 105 |
There's just all kinds of cool lighting stuff that could be done. Although #1 on my list would be to speed up the low level lighting code itself. Its _way_ too expensive for what it does. I'd bet you could speed it up by a factor of 5 or more with a little effort.
Report this post to a moderator | IP: Logged
|
04-25-2002 06:29 AM |
|
|
|  |
 |
Shrike
BWO Team Member

Registered: Jul 2000
Location: Lo-Fidelity All Star
Posts: 2273 |
IMO lighting is one of those key things.... a good lighting system makes everything look so much better.
__________________
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR COMPUTERS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUM WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.
Report this post to a moderator | IP: Logged
|
04-25-2002 06:32 AM |
|
|
|  |
 |
| All times are EST. The time now is 11:45 AM. |
 |
|
 |
|
|
|  |
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|