Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Deepblue on September 14, 2004, 04:27:32 pm

Title: 3D cockpits
Post by: Deepblue on September 14, 2004, 04:27:32 pm
I heard from the TBP guys that it had already had the code partially written for it, any chance that it's going to get finished? Please?

Another thing that I think should be addresed is docking stability, I think we should be able to define how "solid" a dock is so movement will not cause ships to lose docks. This would be useful especially if the 3D cockpit code is never finished because you could use a docked "ship" to create a 3d cockpit.
Title: 3D cockpits
Post by: Taristin on September 14, 2004, 04:41:02 pm
Has it really been 2 months already?
Title: 3D cockpits
Post by: phreak on September 14, 2004, 04:48:11 pm
where's the dead horse picture?

i'll do something if someone gives me a simple cockpit model (ala freelancer)
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 06:20:48 pm
What format? And how extensive?
Title: 3D cockpits
Post by: StratComm on September 15, 2004, 07:23:57 pm
Presumably pof, and just something to stick on screen to get occlusion and transform sorted I would assume.  It doesn't have to be complicated, if that's what you're asking.  It would need to be textured though, and have the general shape/proportions of a cockpit.

And Phreak's on the money with the dead horse thing.  The last 10 or so of these topics have ended with the coders telling modelers to build a cockpit before they impliment it, while the modellers refuse to create anything until the feature is there.
Title: 3D cockpits
Post by: phreak on September 15, 2004, 07:37:25 pm
putting it in that perspective, its rather comical.

(http://www.penguinbomb.com/phreak/deadhorse.gif)
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 07:41:38 pm
I already have a model. Texturing it right now, and will get it into pof soon.
Title: 3D cockpits
Post by: phreak on September 15, 2004, 07:42:41 pm
please just something simple like this.
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 08:13:20 pm
Lol, made a really crappy stafury type cockpit. My 3d exploration just died so someone else is going to have to convert.
Title: 3D cockpits
Post by: StratComm on September 15, 2004, 08:27:11 pm
At least put up what you've got.  I'd run it through 3dexploration in a couple of minutes, in the interest of putting this topic in its grave once and for all.
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 09:45:31 pm
Fixed 3d explorer and uploading the crap in the next few minutes after I resize it (turned out to be 100 times what I want).
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 11:01:20 pm
Okay now the cob2pof prog is screwing up.
Title: hmm
Post by: TIMMAY on September 15, 2004, 11:11:58 pm
Just ripped this from X-Wing Alliance and UVMapped it quickly. There is still a couple of struts not finished but thats minor as here is your 3d cockpit in POF form.

http://sco.minos.net/test/cockpit.zip (http://sco.minos.net/test/cockpit.zip)
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 11:16:31 pm
Heres the COB file and textures. The model definitely needs to be resized.

http://www.freewebs.com/expeditions/cockpitmodel.rar
Title: 3D cockpits
Post by: Bobboau on September 15, 2004, 11:17:15 pm
here a fifteen minute cockpit.
Title: 3D cockpits
Post by: Deepblue on September 15, 2004, 11:25:14 pm
lol, everyones making one now.
Title: 3D cockpits
Post by: Bobboau on September 16, 2004, 12:00:11 am
mine's crap, I just did it becase I wanted to call Phreak's bluff
Title: 3D cockpits
Post by: Jetmech Jr. on September 16, 2004, 04:24:56 am
:lol:
Nice source of inspiration, Bob.
Title: 3D cockpits
Post by: phreak on September 16, 2004, 07:16:01 am
once i finish off this essay for skool, i'll call bob's raise.
Title: 3D cockpits
Post by: Deepblue on September 16, 2004, 08:41:20 am
Good.
Title: 3D cockpits
Post by: Deepblue on September 16, 2004, 04:39:41 pm
Finished yet?
Title: 3D cockpits
Post by: Deepblue on September 16, 2004, 10:47:00 pm
*bump* You got your the cockpits. Was Bob right?
Title: 3D cockpits
Post by: StratComm on September 16, 2004, 11:01:07 pm
Woah, hold off there.  Give Phreak a chance to play with it for a bit.
Title: 3D cockpits
Post by: phreak on September 17, 2004, 09:52:35 am
its like 1500 words +- 150.  im at about 900.  i should be done tonight, if not i have to email it to my prof my midnight saturday.

about cockpit rendering, it should be rather simple (famous last words).  and i only know how to do it in opengl.  i can probably post something in the internal to have bob or someone work on it.
Title: 3D cockpits
Post by: Deepblue on September 17, 2004, 04:21:10 pm
Please get someone to do it in D3D! Thanks for trying to tackle this at all.
Title: 3D cockpits
Post by: Bobboau on September 17, 2004, 05:38:23 pm
this isn't something that should be resticted by API implementations.
Title: 3D cockpits
Post by: phreak on September 17, 2004, 08:15:50 pm
i need the stencil buffer stuff.
Title: 3D cockpits
Post by: Bobboau on September 17, 2004, 08:30:48 pm
realy!?
Title: 3D cockpits
Post by: phreak on September 17, 2004, 08:40:14 pm
yea. it'll prevent ships from appearing through the struts.
Title: 3D cockpits
Post by: Bobboau on September 17, 2004, 08:43:56 pm
why not just render it after everything else?
Title: 3D cockpits
Post by: phreak on September 17, 2004, 09:01:43 pm
if the cockpit is big enough, then there may be a very close ship rendering through a strut of some sort, it shouldn't occur that often however.
Title: 3D cockpits
Post by: Bobboau on September 17, 2004, 09:19:08 pm
well if your going to add stencil buffer stuff make it generaic as posable.
Title: 3D cockpits
Post by: IPAndrews on September 19, 2004, 05:14:19 am
Are you guys tying the hud instrumentation to the cockpit model through named textures on the cockpit mesh? Or will the hud instrumentation hover in space?
Title: 3D cockpits
Post by: aldo_14 on September 19, 2004, 07:24:22 am
Can't you force it to render in a z-buffer layer on 'top' of everything else, i.e. sandwiched between the layer of the hud and the actual layer that represents the ingame 'scene'?
Title: 3D cockpits
Post by: Bobboau on September 19, 2004, 07:38:59 am
personaly I'd have just cleared the Z buffer _IF_ it became an issue.
Title: 3D cockpits
Post by: phreak on September 19, 2004, 11:01:49 am
since the cockpit is being rendering after all other models and explosions and stuff, clearing the zbuffer should cause many problems.
Title: 3D cockpits
Post by: Deepblue on September 20, 2004, 05:05:11 pm
*Bump*
Any work done on this yet? Or is it just being done behind closed doors.
Title: 3D cockpits
Post by: Deepblue on September 22, 2004, 03:13:42 pm
I geuss this means it's being done behind closed doors. :(
Title: 3D cockpits
Post by: Lynx on September 24, 2004, 05:01:25 am
Any news on this? Do you still need a test cockpit?
Title: 3D cockpits
Post by: vyper on September 24, 2004, 06:33:53 am
Yargh.
Title: 3D cockpits
Post by: phreak on September 24, 2004, 07:59:37 am
i've been busy this whole week.