Normal Object Glowing Effect?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Normal Object Glowing Effect?

Post by Lozza »

I used search and couldn't find what I want.

How do you add glow/bloom to an object or msh?

I wanted to know since I saw this~
Hidden/Spoiler:
Image
~Taken By Xavious....i think~

Anyway.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Normal Object Glowing Effect?

Post by FragMe! »

AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Normal Object Glowing Effect?

Post by AQT »

Or:
AceMastermind wrote:List of unknown hex found 5 places after ATRB in various msh files:
  • Hex/My best guess
    ...
    02 = Glow alternative? (Yes, it works)
    ...
http://www.gametoast.com/forums/viewtop ... 20#p279620
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Normal Object Glowing Effect?

Post by AceMastermind »

If you follow what squipple's topic said remember that he documented what he felt was the way it worked at the time he posted, both of his methods are identical but he adds unnecessary steps to both.

squipple's method #1 with unnecessary steps removed:
  • Hit 'u' to go into poly select mode and select the polys you'd like to glow.
    Go to File -> Pandemic Tools -> Edit Flags.
    Glow is 11, so I set Render Types to 11
    Also in the case of glow, the Texture 1 field refers to a map for the glow (where it will glow). The lighter parts of the image will glow more intensely than the darker, and the glow color is also dependant on the color of this texture.
    I used a 128x128 tga that is just solid white for this example. There's no 'explore' dialog for the texture fields, so you just have to type it in manually.
    Once you're done with the settings, hit OK
    Once you've got your model into ZeroEditor, you'll notice that the polygons selected for glow are now in black & white.
squipple's method#2 with unnecessary steps removed:
  • Now, to add glow, it's the same steps.
    Select the polygons you wish to apply the glow to (shortcut key u)
    File -> Pandemic Tools -> Edit Flags
    Choose 11 under Render Type
    Select a glow map in the Texture 1 field (in this case I just used a 128x128 white tga to apply glow to the entire surface)
    Hit OK.
See the similarities in the methods with the unneeded steps removed? They are the same instructions and that is why it worked both ways and what is posted above is all that needs to be done. Also, I believe RepSharpshooter programmed his MeshTool to follow the same unneeded steps that squipple posted in his Edit Flags topic but it still works because the correct steps were still included.
Vertex lighting has nothing to do with "glow" and there's no need to add any lights in ZE either but at the time he tested this stuff out he thought that it was needed and I mention this HERE with an example you can download.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Normal Object Glowing Effect?

Post by SW_elite »

Since I model in 3DS, is there any way you know of to get similar results?
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: Normal Object Glowing Effect?

Post by DarthD.U.C.K. »

use repsharpshooters meshtool on the msh (you cant edit or create "flags" in 3ds or the free versions of XSI so you have to do that directly with the msh
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Normal Object Glowing Effect?

Post by SW_elite »

Is there any tutorial for editing flag directly from the msh?
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: Normal Object Glowing Effect?

Post by DarthD.U.C.K. »

DarthD.U.C.K. wrote:use repsharpshooters meshtool on the msh (you cant edit or create "flags" in 3ds or the free versions of XSI so you have to do that directly with the msh
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Normal Object Glowing Effect?

Post by SW_elite »

Well that didnt help... Thats what brought up the question in the first place :roll:
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: Normal Object Glowing Effect?

Post by DarthD.U.C.K. »

then you either didnt understand the posts in this topic or the instructions in the meshtool-thread

what do you want to do actually?
adding glow/envmp/bumpmapandspecmap -> use the meshtool
give another flag beside envmp, bumpmap and glow -> read the post aqt linked
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Normal Object Glowing Effect?

Post by SW_elite »

Ok, thanks!
Post Reply