• Hey Guest. Check out your NeoGAF Wrapped 2025 results here!

CTRL+V - randomly post whats in your clipboard! (Poss NSFW)

Status
Not open for further replies.
no u


The people that post in image tags isn't it obvious you guys deliberately posting an image instead of actually pressing CTRL+V a hitting post.
 
void display(void)
{
DWORD start = GetTickCount();
vector<int> xCoor;
vector<int> yCoor;
vector<Colour> val;
int SSAA = 2; //Anti-Aliasing value - set at 1 does nothing
int i, j;
Colour col;
Colour colTwo;
Colour result;
TheCamera.setResolution(Nx*SSAA,Ny*SSAA);
SecondCamera.setResolution(Nx*SSAA,Ny*SSAA);
/* clear the window, set it to the background colour */
#pragma omp parallel for firstprivate(j) private(col,colTwo,result) //work-share split up job to threads
for(i=0;i<SSAA*Nx;i=i+SSAA){
for(j=0;j<SSAA*Ny;j=j+SSAA){
for (int AAx=-SSAA+1;AAx<SSAA;AAx++){
for (int AAy=-SSAA+1;AAy<SSAA;AAy++){
Ray ray = TheCamera.ray(i+AAx,j+AAy);
Ray rayTwo = SecondCamera.ray(i+AAx,j+AAy);
if (TheScene.intersect(NULL, ray, col, 1)&&(TheScene.intersect(NULL, rayTwo, colTwo, 1))){
col.blue() = 0;
col.green() = col.green() * (float)0.5;
colTwo.red() = 0;
colTwo.green() = colTwo.green()*(float)0.5;
col = col+colTwo;
col.check();
result = result + col;
}
}
}
#pragma omp critical //only one thread at time
{
//save results
result = result*(1/pow(SSAA,3));
result.check();
xCoor.push_back((int)(i/SSAA));
yCoor.push_back((int)(j/SSAA));
val.push_back(result);
}
result.reset(0,0,0);
}
}//leave multithreading
for(int w=0;w<(int)xCoor.size();w++){
set_pixel(xCoor[w],yCoor[w],val[w]); //read saved results and set pixel colour
}
/* force any unfinished OpenGL commands to be done */
glFlush();
DWORD end = GetTickCount();
cout << "Finished\n" << (end-start) <<"\n";

}
 
Commissioner Bud Selig is prepared to levy a lifetime suspension on New York Yankees third baseman Alex Rodriguez, while suspending about eight others before the weekend, two people with knowledge of the negotiations told USA TODAY Sports.

The people were unauthorized to speak publicly because no announcement is expected until Thursday or Friday.

BRENNAN: Crackdown shows tide has turned on MLB dopers

Rodriguez, according to his attorney, David Cornwell, will appeal any suspension, regardless of the severity. The other players are expected to receive 50-game bans, and most are considering accepting the discipline without appealing, according to one of the people.
 
eadfcce106e63bbd71d8643a461eac64.jpg
 
<TextBlock VerticalAlignment="Center"
Foreground="{StaticResource Skin_LabelForegroundBrush}"
Text="Check here if this Trailer is already registerd in the ACE Portal." />
 
cd $ALISBASEDIR
echo "=========== Backing up $WAR ===========================";sleep 1
echo "OLD $WAR "`ls -l war/$WAR`
NOW=`date +"%Y%b%d-%H%M%S"`
cp -p war/$WAR war/$WAR'.'$NOW

cd src
echo "=========== Using current $WAR ===========================";sleep 1
#jar xvf $ALISVERSIONDIR/$WAR

echo "=========== Configuring $WAR ===========================";sleep 1
cp -p ../alisconfig.xml .
ls -l alisconfig.xml

echo "=========== Repackaging $WAR ===========================";sleep 3
jar cv0fm ../war/$WAR META-INF/MANIFEST.MF .
cd $ALISBASEDIR
chmod o+r war/$WAR
#echo "PATCHED $WAR "`ls -l war/$WAR`

#read ANSWER?"Patch LIVE $WAR ?"
#if [ "$ANSWER" == "y" ]
#then
#cp -p $LIVEALISDIR/$WAR $LIVEALISDIR/$WAR.$NOW
#cp war/$WAR $LIVEALISDIR
#echo "NEWLY PATCHED $WAR "`ls -l war/$WAR`
#echo "LIVE $WAR "`ls -l $LIVEALISDIR/$WAR`


i dont even remember why this is here.
 
Status
Not open for further replies.
Top Bottom