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

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 180 invités en ligne.

Utilisateurs en ligne

  • Shrike

Languages

  • English English
  • French French

Parcourir les 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        
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Question about effects / blend types

Image de RogerN
Soumis par RogerN le Mer, 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'? ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Mod Designer

Re: Question about effects / blend types

Soumis par Fyron le Mer, 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

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Question about effects / blend types

Soumis par Maanahr le Jeu, 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

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de RogerN

Re: Question about effects / blend types

Soumis par RogerN le Jeu, 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.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Question about effects / blend types

Soumis par Maanahr le Jeu, 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.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Rilo57

Re: Question about effects / blend types

Soumis par Rilo57 le Jeu, 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.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de RogerN

Preview tool

Soumis par RogerN le Jeu, 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

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

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

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • Is the Patch Process Dead, and Other Thoughts...
  • Babylon 5 Wars SEV Mod Update
  • Known SE5 v1.74 Bugs
  • Space Empires V 1.74

Depuis toujours :

  • 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

Dernier accès :

  • Add Empire Option to filter out ship movement display
  • Mining Asteroids
  • Are there any MODS that work with the Balance Mod
  • Cloaking a planet?
  • Dual monitor crash
(c) Strategy First, Inc. All rights reserved.