Poll: What do you prefer?
This poll is closed.
Full RGB control, UPDATE: possibly an extra translucency control
92.86%
13 92.86%
Less possible colors, a little control over translucency
7.14%
1 7.14%
Total 14 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MagnaBeamColor
#6
Well, the poll is obsolete now due to TSHyper's proposal, which I have been working on for the last hour.
I modified the blending routine, you can now give it an RGB value and specify an alpha value between 0 and 1 (percentage if you want).

What I need to find out now is what alpha value the original had, the color should be 176, 0, 208 (calculated from the original blending code).
This new code should also allow me to code IsHouseColor for magnetic beams.

What I want to ask you about is performance.
I tried 12 magnetrons fire at the same time and got a FPS drop, is this normal?

My code uses the x87 floating point intruction set so it should be fast, I hope it's not that that causes the performance drop.
[Image: jsfml.png]
Reply


Messages In This Thread
MagnaBeamColor - by pd - 22.10.2007, 00:28:50
RE: Feature discussion: MagnaBeamColor - by pd - 22.10.2007, 09:03:02
RE: Feature discussion: MagnaBeamColor - by Blade - 23.10.2007, 00:53:07
RE: Feature discussion: MagnaBeamColor - by pd - 23.10.2007, 08:44:57
RE: Feature discussion: MagnaBeamColor - by pd - 23.10.2007, 11:15:33
RE: Feature discussion: MagnaBeamColor - by pd - 29.11.2007, 11:21:55
RE: Feature discussion: MagnaBeamColor - by Blade - 29.11.2007, 15:11:01
RE: Feature discussion: MagnaBeamColor - by pd - 29.11.2007, 21:02:50
RE: MagnaBeamColor - by Beowulf - 07.10.2008, 09:07:34



Users browsing this thread: 1 Guest(s)