Difference between revisions of "HowTo:Create Cockpit in Wings3d"

From VsWiki
Jump to: navigation, search
(added content from old wiki)
m
Line 1: Line 1:
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[HowTo:Edit HUDs|Edit HUDs]]
 
| previous=[[HowTo:Edit HUDs|Edit HUDs]]
| up=[[HowTo]]
+
| up=[[HowTos]]
 
| next=[[HowTo:Texture in Wings3d|Texture in Wings3d]]
 
| next=[[HowTo:Texture in Wings3d|Texture in Wings3d]]
 
}}
 
}}
Line 9: Line 9:
 
The xmesh export plugin for WIngs3D now has an easy cockpit export option.
 
The xmesh export plugin for WIngs3D now has an easy cockpit export option.
  
= Procedure =
+
=Procedure=
  
 
Quoted hellcatv: "just get it into an obj file with the triangles sorted and we can take it from there; but you have to make sure the triangles are sorted from back to front it's a pain...but that's way it is.
 
Quoted hellcatv: "just get it into an obj file with the triangles sorted and we can take it from there; but you have to make sure the triangles are sorted from back to front it's a pain...but that's way it is.
Line 23: Line 23:
 
other than that, the cockpit is just a plain xmesh... modify the bomber_cockpit stuff so that you can just see your new mesh in action... cockpits can only have a single xmesh"
 
other than that, the cockpit is just a plain xmesh... modify the bomber_cockpit stuff so that you can just see your new mesh in action... cockpits can only have a single xmesh"
  
= Links =
+
=Links=
== Forum ==
+
==Forum==
 
[http://vegastrike.sourceforge.net/forums/viewtopic.php?t=3712]
 
[http://vegastrike.sourceforge.net/forums/viewtopic.php?t=3712]
 
----
 
----
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[HowTo:Edit HUDs|Edit HUDs]]
 
| previous=[[HowTo:Edit HUDs|Edit HUDs]]
| up=[[HowTo]]
+
| up=[[HowTos]]
 
| next=[[HowTo:Texture in Wings3d|Texture in Wings3d]]
 
| next=[[HowTo:Texture in Wings3d|Texture in Wings3d]]
 
}}
 
}}
[[Category:HowTo|Cockpit Creation]]
+
 
 +
[[Category:HowTos|Cockpit Creation]]

Revision as of 19:44, 28 May 2005

arrow_left.png Edit HUDs arrow_up.png HowTos Texture in Wings3d arrow_right.png

FIXME CONTENT REQUIRED

The xmesh export plugin for WIngs3D now has an easy cockpit export option.

Procedure

Quoted hellcatv: "just get it into an obj file with the triangles sorted and we can take it from there; but you have to make sure the triangles are sorted from back to front it's a pain...but that's way it is.

I believe 3dsMax lets you sort triangles"

"the polygons must be sorted such that when viewed from the pilot's perspective, the polygons farthest away from his eyeball (in graphics people have 1 eyeball unless you have sterioscopic stuff going on) must be drawn before the polygons closer to his eyeball.

The reason is as follows: one of the major slow-down factors when drawing is reading from the video memory to see if something's behind something already drawn in teh video memory would require an extra checkc on that video memory. since cockpits fill a lot of space, this would cause great slowdown for laptops when the cockpit is drawn

so we don't do the check and hope the cockpit (viewed form 1 angle only) is already sorted for us...if polygons intersect then they must be split into the front and behind...

other than that, the cockpit is just a plain xmesh... modify the bomber_cockpit stuff so that you can just see your new mesh in action... cockpits can only have a single xmesh"

Links

Forum

[1]


arrow_left.png Edit HUDs arrow_up.png HowTos Texture in Wings3d arrow_right.png