I would like to know how the shaders used to show which unit is selected are made. Here is an image to illustrate.        How the merge effect of the blue circles can be achieved ? I didn't found any explanation concerning this effect. I know that to project those texture I can develop a decal system but I don't know how to create the merging effect.
I would like to know how to make this effect of merged circle selection. Here are images to illustrate:     Basically I'm looking for this effect:    How the merge effect of the circles can be achieved ? I didn't found any explanation concerning this effect. I know that to project those texture I can develop a decal system but I don't know how to create the merging effect.  If possible, I'm looking for purely shaders solution.
jQuery scrolltop firefox not working How to calculate $f(x)$ in $f(f(x)) = e^x$? How would I calculate the power series of $f(x)$ if $f(f(x)) = e^x$?  Is there a faster-converging method than power series for fractional iteration/functional square roots? Server 2012 deduplication: run on Hyper-V host or guest VM? I have a Windows Server 2012 Hyper-V host with VMs on a dedicated RAID-5 volume. One VM is also running Server 2012 and is being used to serve files. The other VMs are smaller and mostly used for temporary testing scenarios.   The main file server VM has two dynamically expanding VHDX files - one for the OS and one for storage. The VHDX being used for storage has quite a few duplicated files on it.  Should I run Server 2012 deduplication on the volume containing the storage VHDX file on the host, or within the file server VM itself? I understand that running it within the VM will not decrease the size of the VHDX file on the host, but my goal is to enable as much storage capacity within the VHDX file itself. I also understand that if I run it on the host, I will have to take the VM offline to do it. Downtime isn't a concern in this instance, just the best way to do this. Let us say you are in an inertial reference frame with a circular planar disk. If you take your meter measuring rods (or perhaps tape measure) you can find the diameter and circumference of the disk. If you divide the circumference by the diameter, you will get exactly $\pi$. Now you start rotating the disk. A book I have claims that now the ratio will be different (lets call it $\pi_\circ$ to avoid ambiguity.) This has caused to reevaluate my understanding of special relativity (this is a set up to general relativity, but the problem itself only requires the special theory.) My problem is that, sure, the measuring rods (or tape) would contract on the circumference, but wouldn't the circumference contract a similar amount, therefore giving a measurement of $\pi$ in every reference frame according to your own measuring rods. Of course, this reasoning goes on to make me question how I understood all of special relativity up this point. When to use virtual destructors? I have a solid understanding of most OOP theory but the one thing that confuses me a lot is virtual destructors. I thought that the destructor always gets called no matter what and for every object in the chain. When are you meant to make them virtual and why? Regression - How do I know if my residuals are normally distributed? Performing a regression and need to find out if my residuals are normally distributed. The level 4 spell Polymorph requires concentration to maintain.  The subject retains their personality and alignment, but they have the mental statistics of the new form, which must be a beast and cannot speak or cast spells.  If a caster targets themselves with this spell, can they concentrate to maintain it, or does this depend on the mental statistics of the beast form they choose?  This situation certainly occurs in practice, since Wizards reaching level 10 in the School of Transmutation gain the Shapechanger feature.  This allows them to cast Polymorph, but only upon themselves and only to change into a beast of CR 1 or lower.  Beasts with CR 1 or less range in Intelligence from the Giant Eagle (Int 8) to the Frog (Int 1). How to close ports in Linux? I have some question in closing port, I think I got some strange things.  When I use execute  nmap --top-ports 10 192.168.1.1   it shows that 23/TCP port is open.  But when I execute  nmap --top-ports 10 localhost   it show that 23/tcp port is closed.  Which of them is true? I want to close this port on my whole system, how can I do it? How can I list the contents of a .zip folder in c#? Possible Duplicate:          In a question, I see that each time I refresh the page, the answers were placed in a different order. The question has 3 answers each with zero votes. The users' reputation was something like 6, 1200, and 7300 but these numbers didn't affect the order.  What is the criteria of the sort order of the answers? Why use pointers? $f: \mathbb{R} \to \mathbb{R}$ that takes each value in $\mathbb{R}$ twice Does there exist a continuous function $f: \mathbb{R} \to \mathbb{R}$ that takes each value in $\mathbb{R}$ exactly two times? I came to know about , it's a website that allow search for flights by country. I mean you just enter from like "Germany" and to like "Belgium" and you get best offers from all airports between the two countries. That is great. And I was able to arrange a good-price trip to Brussels.   Now I want to arrange another trip to Turkey, but Whichbudget is not helping much this time. And I can't find any other websites that allow "search by country".   Update: Not duplicate to  as his question is broad to the extent of a state. But my question is broad to the extent of a whole country + less price + "Any Time". If anyone checks , he'll understand what I'm saying. Especially that whichbudget allows "Any Time" option, not just +/-3 days.  Does anyone know more similar websites? Why my tweet is not appearing on the timeline of the person I am following? I have tried tweeting someone I follow couple of times.  My tweets appear on my profile but when I look at the other person's timeline, my tweet is not there. I am following him but he is not following me. Change the location of .bashrc Is it possible to change the location of .bashrc from /home/orhanc/.bashrc to some other directory? This may be a silly question, but I ask it still. If I have declared a shebang  #!/bin/bash    in the beginning of my_shell_script.sh, so do I always have to invoke this script using bash  [my@comp]$bash my_shell_script.sh   or can I use e.g.  [my@comp]$sh my_shell_script.sh   and my script determines the running shell using the shebang? Is it the same happening with ksh shell? I'm using AIX. ls command very slow after deletion of thousand files on a directory I have a dir under /home/myuser dir which an application stores and deletes millions of temporary files. When I do ls on this dir (now it only has a hundred files only) it is too slow (actually I do not get any output for many minutes). After some google search and doing:  ls -dl ~/mydir/   I get this  drwxrwxrwx 2 myuser myuser 160108544 Oct 12 11:31 /home/myuser/mydir/   which basically means I have to re-index directory entries for this directory (if I understood correctly). How do I do force such a re-indexing on this dir? Is there a way to view the "printable view" (.xls) in Mac Numbers (version 2.3+) rather than Excel? I am using OS X (Maverick), Numbers (V3.0) and both Safari and Firefox.  When I save a Salesforce report using the "printable view" button, it saves it as an .xls file but when I open it in Numbers I get what looks like the XML code behind it, for example the first cell in the first three rows contains:  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt; &lt;html&gt; &lt;head&gt; Ethernet Without Magnetics? How / can you connect Ethernet devices together without magnetics? How do you wire it up? What sorts of practical limitations are there on doing this?  To clarify, I'm not trying to connect two computers here. I'm thinking specifically of creating a small network of microcontrollers on a single board. Lets say the total length of a network segment is no longer than 6 inches. This would be for 10BaseT or at most 100BaseT. Can you reuse marinade used with raw chicken?