Creating a double sided polygon?

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Creating a double sided polygon?

Post by Rends »

Believe it or not. Sat told me the how to do a year ago but i simply forget it.

so how to create a double sided polygon?
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: Creating a double sided polygon?

Post by Rekubot »

Do you mean so that when one side of it is selected, the other side isn't? I'm guessing that would only be used for texturing purposes.
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

RE: Creating a double sided polygon?

Post by Rends »

No,
i need that so the other side is also shown in Game.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Creating a double sided polygon?

Post by t551 »

Isn't it one of the SWBF2 render types? Squipple's edit flags grid has render type 2 as "double-sided polygon?" so try that.
RC-1290

Post by RC-1290 »

on the previous models I made I make a new polygon since usually on walls and stuff, it looks weird if the doesn't have any depth. This is just a workaround tough.

One way I know to get a "double sided"one would be to duplicate the polygon ( ctrl-d) and than invert the new selected polygon.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

Wouldn't that cause z-fighting, though?
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Post by Rends »

Hm, i´m pretty sure Saturn told me a different way and not the edit flags one.
I need flags to make the polygons transparent.

Duplicating isn´t what i want because you create unnessesary Polygons wich will drop FRs
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

To make a polygon transparent, you select the polygon, and then in edit flags you set transparency to one, and then give the texture an alpha channel that is pure black.

For partial transparency, you can set the alpha channel to be grey, and if the area that you want to be transparent isn't defined by the shape of the poygons, you can mess around with the alpha channel to make, say, a transparent circle in a triangle.
Last edited by t551 on Mon Aug 28, 2006 4:31 pm, edited 1 time in total.
RC-1290

Post by RC-1290 »

A double sided polygon would be have the same effect since it's actually two polygons.

[Edit] I googled a bit, at the moment I found a site where they use a shader to texture two sides...too bad there is no further explaination.
Last edited by RC-1290 on Mon Aug 28, 2006 4:36 pm, edited 1 time in total.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

A double sided polygon does not have to be two polygons, if it is done by the game, it is just one polygon being displayed on both sides, e.g. only one set of vertices as opposed to two.
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Post by Rends »

Wait guys, the question is not about transparency wich i already know but making a polygon visbile from both sides.

I don´t want to waste the flags option wich i can need for the transparency
And i don´t want to duplicate and invert normal the polygon because of the extra polys.

Rends
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

Wait... Transparency is a separate Edit Flags option, not one of the render types, isn't it? Also, isn't it possible to run the edit flags script multiple times on the same polygons?
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Post by Rends »

yes transparency flag is a seperate option. I´m not sure to run edit flags multiple times.

I´m quit sure that Sat told me a way to make double sided polygons away from the edit flags option but in XSI itself.

Rends
DooFi

Post by DooFi »

I think what rends wants to know is how to get normals on BOTH sides of a plane. That was my problem too, when i made a gungan personal shield. Didnt find any solution yet though. Infact i didnt work with XSI very much either...
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

You set transparency type to 2, and if you don't want it transparent set the alpha channel to full white. That's the only thing I know. It just displays the texture that is on the other side, though.
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by squipple »

I've tried to figure this out as well rends, and I don't know what does it. The edit flags option is SUPPOSED to, but it doesn't....unless I'm missing some option somewhere.

The problem you may run into even if you CAN get textures on both sides, is if you can get collision on both sides. I know that some of the objects in Naboo (one of the buildings) has walls that have double sided polys, but only collision on one side, so you can walk right through the walls if coming from the other side. It's nothing you can get to (without wall hacking) in-game, but I've seen modders attempt to use those buildings and having those issues with them.
Lord-Bandu

Post by Lord-Bandu »

To my knowledge the only way to do this is to set it to be transparant but edit the alpha channel so that it doesnt have any transparant parts ( black or white ... for shipped textures black means its opaque and white transparant..but when i do custom textures white is opaque and black is transparant...dunno why) .

To make it have collision on both sides the only way to do it is use 2 polys.
User avatar
minilogoguy18
Master Bounty Hunter
Master Bounty Hunter
Posts: 1512
Joined: Wed Nov 09, 2005 11:12 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by minilogoguy18 »

well one thing i did with the b-wings landing gear doors to make it double sided was just copy the poly, merge the mesh and materials and then invert the poly and the game auto welds vertices that are right ontop of another and voila, double sided poly that the game made for me.
Post Reply