How to make a Grid viewable from both sides. [Solved]

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
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

How to make a Grid viewable from both sides. [Solved]

Post by Cerfon Rournes »

Alright, I edited a grid primaitive, textured, and exported. However, It can only be seen from one side. If you try to see It from the other side, It turns invisible...
How would I fix this? I did search for an answer.
Thanks for the help!
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: How to make a Grid viewable from both sides.

Post by AceMastermind »

You need to flag it for double sided transparency in the msh file:
[color=#FF8040]Inside Edit Flags[/color] wrote:Transparency ... options are found 5th place over from ATRB (after "B")
  • Hex/Name
    ...
    08 = Double sided transparency
    ...
    ...
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: How to make a Grid viewable from both sides.

Post by Cerfon Rournes »

AceMastermind wrote:You need to flag it for double sided transparency in the msh file:
[color=#FF8040]Inside Edit Flags[/color] wrote:Transparency ... options are found 5th place over from ATRB (after "B")
  • Hex/Name
    ...
    08 = Double sided transparency
    ...
    ...
But, If I do that, won't It be transparent on both sides? I want it (Non-transparent) On both sides.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: How to make a Grid viewable from both sides.

Post by THEWULFMAN »

Cerfon Rournes wrote:But, If I do that, won't It be transparent on both sides? I want it (Non-transparent) On both sides.
Listen to the expert(acemastermind, not me). Just test it out, you will see that the end result is what you want.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: How to make a Grid viewable from both sides.

Post by DarthD.U.C.K. »

if you give something doublesided tranparency it has to be rendered from both sides and that is what you want.
you should give it hardedged doublesided tranaparency (18) so that you dont get any of the displaybugy when seeing something transparent in front of them.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: How to make a Grid viewable from both sides.

Post by Cerfon Rournes »

Thanks Ace, It worked. :)
@Darth D.U.C.K: Thanks for the tip!
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: How to make a Grid viewable from both sides.

Post by AceMastermind »

Cerfon Rournes wrote:But, If I do that, won't It be transparent on both sides? I want it (Non-transparent) On both sides.
The alpha channel in your image is what drives the transparency. The double sided flag in the msh disables backface culling and allows transparency to work, but an alpha channel is optional. You don't need any transparency for the double sided flag to work; even if you have no alpha channel in the image your polygons will still be double sided(rendered on both sides) if this is enabled in the msh.
DarthD.U.C.K. wrote:...
you should give it hardedged doublesided tranaparency (18) so that you dont get any of the displaybugy when seeing something transparent in front of them.
If there is no alpha channel in the image assigned to the grid(or it isn't being used) then I don't think it matters which double sided flag is used.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: How to make a Grid viewable from both sides.

Post by Cerfon Rournes »

Hidden/Spoiler:
[quote="DarthD.U.C.K."]...
you should give it hardedged doublesided tranaparency (18) so that you dont get any of the displaybugy when seeing something transparent in front of them.[/quote]
If there is no alpha channel in the image assigned to the grid(or it isn't being used) then I don't think it matters which double sided flag is used.
Actually, Darth D.U.C.K was right Ace. If you used a lightsaber five feet away from the msh, It looked like the lightsaber was going through It. Thus,
DarthD.U.C.K. wrote:...
you should give it hardedged doublesided tranaparency (18) so that you dont get any of the displaybugy when seeing something transparent in front of them.
And that fixed the buggy problem. :D
Post Reply