GPU Based Little Renderer Working

    My 7300go in my laptop computer do not support interger type, so if I pass the ID of geometry instance to float framebuffer, when I read back the framebuffer, everying is dirty ! I have to convert them to BYTE type with Normal's 4th element. But at the same time it only support 255 object instance. It cost about 1 minute, single multithread, without OpenMP, without Vertex Buffer Object.


Future Feature : GPU Accelerated Shading & RayTracing, Carton Rendering
posted @ 2007-12-08 21:06 Bo Schwarzstein 阅读(126) 评论(2)  编辑 收藏 所属分类: 无庸技术

  回复  引用  查看    
#1楼 2007-12-13 14:29 | Len3d      
"when I read back the framebuffer, everying is dirty !"

why would everthing get dirty?
it's quite common to express integers in float...

255 object instances are quite insufficient...

the picture is perfect, but 1 minute is too long for such a simple scene...

  回复  引用    
#2楼 2008-02-01 16:56 | forrest_ss [未注册用户]
法线着色的,不过还是一个ray caster吧和我那个未完成的差不多,我想做个photon mapping的