Page 1 of 1
Creating a double sided polygon?
Posted: Mon Aug 28, 2006 3:43 pm
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?
RE: Creating a double sided polygon?
Posted: Mon Aug 28, 2006 3:47 pm
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.
RE: Creating a double sided polygon?
Posted: Mon Aug 28, 2006 3:50 pm
by Rends
No,
i need that so the other side is also shown in Game.
RE: Creating a double sided polygon?
Posted: Mon Aug 28, 2006 4:16 pm
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.
Posted: Mon Aug 28, 2006 4:20 pm
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.
Posted: Mon Aug 28, 2006 4:26 pm
by t551
Wouldn't that cause z-fighting, though?
Posted: Mon Aug 28, 2006 4:28 pm
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
Posted: Mon Aug 28, 2006 4:30 pm
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.
Posted: Mon Aug 28, 2006 4:31 pm
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.
Posted: Mon Aug 28, 2006 4:33 pm
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.
Posted: Mon Aug 28, 2006 4:44 pm
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
Posted: Mon Aug 28, 2006 4:49 pm
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?
Posted: Mon Aug 28, 2006 5:17 pm
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
Posted: Tue Aug 29, 2006 9:53 am
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...
Posted: Tue Aug 29, 2006 4:18 pm
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.
Posted: Wed Aug 30, 2006 12:09 am
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.
Posted: Wed Aug 30, 2006 10:56 pm
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.
Posted: Thu Aug 31, 2006 1:02 am
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.