Programming

축표시 생성하기

AmoebaBlog 2011. 7. 31. 03:17


오! 구버전에서는 각 축마다는 색상지원이 안됐던것 같은데,

몇버전 부터인지는 모르겠지만 각 축마다 색깔을 다르게 할 수가 있다!
 

ZBufferTriedronSetup()
TriedronDisplay()


V3d_View 클래스에서 위의 함수들이 지원된다!

myView->ZBufferTriedronSetup(Quantity_NOC_RED,Quantity_NOC_GREEN,Quantity_NOC_BLUE1,0.5,0.025,6);
	myView->TriedronDisplay(Aspect_TOTP_LEFT_LOWER,Quantity_NOC_BLACK,0.2,V3d_ZBUFFER);	

위처럼 함수를 OnInitUpdate 쪽에 써주면!


와! 멋있다!