Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 2 users and 202 guests online.

Online users

  • solanrix
  • Santiago

Languages

  • English English
  • French French

Browse archives

« December 2008  
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Question about effects / blend types

RogerN's picture
Submitted by RogerN on Wed, 2007-10-03 14:48. SE:V MODs

The BitmapEffects_XXX.txt files reference several different blending types which are used when drawing the effects:

Blend_Zero
Blend_One
Blend_SrcColor
Blend_InvSrcColor
etc...

How do these work? Is this information documented anywhere? I found in SE5_Modding.pdf where the various blend types are listed, but I have no idea what they do, and I can't seem to find that information.

‹ GidMod How do you determine 'balance'? ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Mod Designer

Re: Question about effects / blend types

Submitted by Fyron on Wed, 2007-10-03 16:36.

They are not really documented anywhere, unfortunately. The best suggestion I can make is find instances of each usage in BitmapEffects_System.txt and XFileClasses_Stellar.txt, change to another setting, and see what the resulting effects look like. For example, Blend_One is used for star glows, and Blend_SrcColor and Blend_InvColor are used on storm clouds. Feel free to post your discoveries here and/or add them to the Wiki.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: Question about effects / blend types

Submitted by Maanahr on Thu, 2007-10-04 08:28.

I suppose that this is pretty much the direct technical specification.
http://msdn2.microsoft.com/en-us/library/bb173417.aspx

And this article might help you understand how it kinda works.
http://blogs.msdn.com/etayrien/archive/2006/12/07/alpha-blending-part-1.aspx

» login or register to post comments
RogerN's picture

Re: Question about effects / blend types

Submitted by RogerN on Thu, 2007-10-04 08:40.

Thanks, Maanahr! I strongly suspected that it had something to do with Direct3D stuff. After reading that article everything makes sense.

I think I'll type up a non-technical translation for the wiki soon.

» login or register to post comments

Re: Question about effects / blend types

Submitted by Maanahr on Thu, 2007-10-04 08:43.

As I understand it, you can ignore any with Alpha in the name, since Space Empires uses .bmp's, which don't have an Alpha channel. That leaves Zero, One, and the Colors.
...but I might be wrong.

» login or register to post comments
Rilo57's picture

Re: Question about effects / blend types

Submitted by Rilo57 on Thu, 2007-10-04 11:53.

I played around with the different effects and couldn't see a difference. either I wasn't being observant enough (very possible), or at the size that everything is zoomed out, you can't see the difference.

SEV, more than a feeling.

» login or register to post comments
RogerN's picture

Preview tool

Submitted by RogerN on Thu, 2007-10-04 13:23.

Based on the information in that article, I created a simple tool which can preview the effects. In most cases the difference between blend types is subtle.

You can download the tool here:
http://www.vzavenue.net/~rogercnorris/SE5_Blend_Effects.zip

This tool requires the .NET framework v2.0 (if you get a message at startup about a missing DLL then you need to download .NET from Microsoft). You must have SE5 installed to use it.

What does it do? You select a source image, a destination image, and the blend effects to use. It displays the blended image. It may run a little slowly on older computers... I was optimizing for programmer efficiency instead of runtime speed Smiling

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Research By Percentage SUCKS
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • What does Environmental Resistance do?
  • OK Ship Mod
  • Space Empires V 1.74

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • Play By FTP script 0.11.1-b
  • Drone issues
  • Creating New Game -- number of opponents?
  • I Wish I Could Post Images
  • Question: How to Scrap Facilities
(c) Strategy First, Inc. All rights reserved.