2007-07-01ãã1ã¶æéã®è¨äºä¸è¦§
http://www.boost.org/libs/concept_check/concept_check.htmãã³ãã¬ã¼ãåã«å¯¾ããã¢ãµã¼ãã¼ã·ã§ã³ãæä¾ããã¨ã§æ¸ãã
試é¨çµãã£ãã®ã§ææ¥ããéçºåéã
nytrã½ã¼ã¹ã³ã¼ãä¸ã§ã°ãã°ããªã®ã§ãããããçµ±ä¸ããªãã¨ã¾ãããæªã ã«ã©ãããã°ããã®ãããããªãã1. std::vector& std::list& çå é¨å®è£ ã¸ã®åç §ãè¿ã1'. ä¸ã¨åæ§ã ãå é¨æ§é ãtypedefãã¦ããã å é¨æ§é ãå¤ãã¦ãä¿®æ£ä¸è¦ã2. getnObj(), geâ¦
ãããã解æåå¦ã®åå¼·ããªãã¨â¦ï¼
3dsmaxã®ãã«ããããªã¢ã«ã«å¯¾å¿ããã®ã§ã3dnuts.comã§å ¬éããã¦ããããªã¼ã®maxãã¡ã¤ã«ãèªã¿è¾¼ããããã«ãªã£ãã ã¹ã¼ãã¼ãµã³ããªã³ã°ONã«ããã®å¿ãããMaterialããããããä¿®æ£ããã»ããããããã
ãªãã¡ã¬ã³ã¹ã¨å®è£ ãå®å ¨ã«é£ãéã£ã¦ãããMaxScriptãªã¹ãã¼ã§showClass "RayTraceMaterial.*"ããã¦ãããããã£åããåä½ãæ¨æ¸¬ãããããªããã¹ãã«ãã¹ãã¦ãRayTraceMaterial.Transparecyããããã£ã¨ãé ·ãã
ãæªä¿®æ£ã§DISampleOneLightãæ£å¸¸åä½ãã¦ãªãã8/1ã«ä¿®æ£ãããã¨ã
å¤åã§ããã
ã©ãã«ãè¼ã£ã¦ãªãã£ãã®ã§ã fn funcasdf arga argb argc = 0 fn funcbsdf = ( funcasdf 1 2 3 ) fn funcasdf arga argb argc = ( format "testtest" )ã§æ£å¸¸åä½ããã£ã½ãã
çµå±æ¨æ¥ã¯éä¸ããä½èª¿ãå´©ãã¦ãã¾ãé²ã¾ãªãã£ããã¨ããããåºåã¹ã¯ãªããã®ãã«ããããªã¢ã«å¯¾å¿ã¾ã§ã¯ãã£ã¦ãããã
è¯è³ªããªã¼ã¢ãã«ã§multi-object materialã使ã£ã¦ããã®ãå¤ãã¦æ©ãã§ã¾ããå¤æã¹ã¯ãªããã対å¿ããããããªãã®ãâ¦
http://opensource.adobe.com/gil/index.htmlboostã«çµ±åäºå®ã®ç»åå¦çã©ã¤ãã©ãªãnytrã®ä¾åã©ã¤ãã©ãªãå¤ãããªã®ã§ãFreeImageãããã¡ãã«ç§»è¡ããããã
ãã¹ãä¸ä¼ã¿ãæã»ç«ã®ãã¹ãåå¼·ã¯ææ¥ã ãã§è¶³ããã¨æãã®ã§ãä»æ¥ä¸æ¥ã¯ããã°ã©ãã³ã°ãã¾ãã
FRGB::operator+/-ç³»ã®å®è£ ãé ·ããã¨ã«ãªã£ã¦ããã //! addition operator FRGBA operator+(const FRGBA& col) const { return FRGBA( r + col.r, g + col.g, b + col.b, a + col.a ); } αãã£ã³ãã«è¶³ãã¦ã©ãããã
è²ãå次ãã¯ãã«ã§è¨ç®ãããæ©ããªãããªï¼
ãã¹ãåå¼·(é»ç£æ°å¦ãç©çåå¦ããã¼ãªã¨è§£æãetc.) è¨ç®ç©çæçµã¬ãã¼ã(èªç±èª²é¡: å¤ä½åé¡ã¯ãã¯ãããã®ã§ãè¡çªå¤å®ãªãåä½ã·ãã¥ãããï¼ï¼ nytr: IBLãã°ä¿®æ£, ãã¢ã·ã¼ã³ä½æ, shader treeãããã¯å®è£ å¢ãã
ããããã¨ã¡ããã
æã¯å·æ¿ä¿®çãæ¼ã¯libSDL調ã¹ãå¤ã¯ãã¹ãã³ã¼ã/ãããã°ã§ææ«ãã¹ãã®åå¼·ãåºæ¥ã¦ããªã件ãææ¥ããããã°ããã°ãIBLã®ãã°ãã¨ãã¦ã²ã¨æ®µè½ãããã
çæãµã³ãã«/ç»åã¯ã¾ã¨ãã«ãªã£ããã¾ã ç´°ããã¨ããããããããEIHDRIã®ã»ããç»åãæããåºã¦ãã¾ããããã¯ãããããpdfã®è¨ç®ãå¾ã§è¦ç´ãããã¨ãæ°å¼çã«ã¯new DirectionalLight(- vWi, eL)ãæ£ããã¯ããªã®ã«ãnew DirectionalLight(vWi, eL)ã¨vâ¦
æ¨æ¥ã®Angular Mappingã®ä¿®æ£ãä¸ååã ã£ã模æ§ãããã§EIHDRIã®çµæã¯è¯ããããMIPMAPã¯ãã¾ã ç´ããã
IBLãµã³ãã©é¨ã ãnytrããåãåºãã¦ãã¹ãæ¸ãã¦ã¿ãã http://websvn.nyaxtstep.com/viewvc.cgi/nytr/trunk/test/test_iblsampling/EIHDRIãMIPMAPãã©ã¡ããããããªçµæã«ï½¥ï½¥ï½¥
ææ«ãã¹ããçµããã¾ã§(~7/31)ãéçºæéãã»ã¨ãã©ã¨ãã¾ããã
EMAngularMapping::wi2uv(FVector3(0, 0, 1))ã§ã³ã±ãã®ãä¿®æ£ãããã¨
ãã£ã±ãAngular Mapå®è£ (ã½ã¼ã¹)ãããããã£ã模æ§ãuv2wi -> wi2uvããã¨å ¥åâ åºåã«ãªã£ã¦ãã®ãä¿®æ£ãBoost::Testã§ã¦ããããã¹ãæ¸ãã¦ãããããã¯ãIBLç»åã¯è¦æ ããããã®ã§çºè¡¨ä¼ã§ã®ãã¢ã«ä½¿ãããã ããããã¯ãEIHDRIã®ã¢ã«ã´ãªãºã ããã®ã¾â¦
svnã§ã¡ãã£ã¨æã®ãªãã¸ã§ã³ã使ã£ã¦ã¿ã¦ãçµæã¯åãã ã£ããæè¿ã®å¤æ´ãå½±é¿ããããã§ã¯ãªãããããã®å®è£ ãæ¸ããã¨ãããããããã£ãã®ã§ã¯ãªããã¨çã£ã¦ãã¾ããDebugã ã¨è¨ç®ã«æéããããããã¦ãããªãReleaseã§ãããã°ãã¦ãè¨æ¶ããDebugâ¦
duck typing: func(T& container) STLå: iterator begin, end C風: T* ary, unsigned int ncount
Lightã®ã¡ã³ããéconstãªã®ã¯ä¿®æ£å¯è½ãã
ããã¯ãã¾ã£ããã¨ããããã¹ã¿ãã¯ããã¨ããmipmap-based IBL samplerã®åºåããããã âã¨ããããEIHDRIã«åãæ¿ã âè¬ã®ç·ãã¯ãããããããèãã¦ã¿ããåããã âé®è½ç©å¤å®ãªãã«ãã¦ãæ¶ããªãï¼ âæ³ç·åºåãã¦ã¿ãâãªããSEGV解決 âã¨ããããDeâ¦
ãå§ããªã®ã§ã¯ã¦ãã ãã§ãªããã£ã¡ã«ãè¼ãã¨ãhttp://www.gotw.ca/gotw/index.htm
Sceneã¯ã©ã¹ãlight, material, textureçã«å¯¾ãã¦vectorã®ãªãã¡ã¬ã³ã¹ãè¿ãã¦ããå®è£ ã¯é è½ããã¹ãã