void CloudsIntroSequence::selfDrawOverlay(){

#ifndef OCULUS_RIFT
	drawIntroNodes();
#endif
    
}
Example #2
0
void CloudsIntroSequence::selfDraw(){
  
	glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
	glEnable(GL_LINE_SMOOTH);
	glEnable(GL_VERTEX_PROGRAM_POINT_SIZE_ARB);	// allows per-point size
	glEnable(GL_POINT_SMOOTH);
	glDisable(GL_DEPTH_TEST);
	
	ofEnableBlendMode(OF_BLENDMODE_ADD);
	
	drawCloudsType();
#ifdef OCULUS_RIFT
	drawIntroNodes();
#endif
	drawTunnel();
	drawPortals();
	drawHelperType();
}
Example #3
0
void CloudsIntroSequence::selfDrawOverlay(){

#if defined(MOUSE_INPUT)
	
	ofPushStyle();
//	string helpHoverText = GetTranslationForString("CLICK TO BEGIN");
	string helpHoverText = GetTranslationForString("");
	float helperTextOpacity = clickToBeginAlpha;
	ofSetColor(255,helperTextOpacity*255);
	helperFont.setLetterSpacing(titleTypeTracking*.7);
	float centerX = ofGetWidth()/2  - helperFont.stringWidth(helpHoverText)/2;
	float centerY = ofGetHeight()/2 - helperFont.stringHeight(helpHoverText)/2;
	helperFont.drawString(helpHoverText, centerX, centerY + helperFont.stringHeight(helpHoverText)*10);
	ofPopStyle();
#elif defined(OCULUS_RIFT)
	//no overlay
#else
	//standard mode and kinect mode
	drawIntroNodes();
#endif
    
}