English 中文(简体)
提纲/露脊带
原标题:Outline / Silhouette rendering with OpenGL
  • 时间:2012-01-12 12:58:59
  •  标签:
  • opengl

I know there are several techniques to achieve this, but none of them seems sufficient.

  • 采用bel/单过滤器,没有发现所有正确的边缘(发现不想要的边缘),速度缓慢,没有给我控制提纲。

  • 我们现在已经解决的是,使我的物体的后方首先具有坚实的颜色,比实际物体大得多。 结果确实看好,但我真的希望我的大纲能够保持宽松。

  • 我已尝试使我的物体后方有厚线。 如果提纲突然改变方向(例如,在多瑙河上)。 由于这一技术的其他问题,我尚未尝试使用第三件使照相机,显示每个透镜线的大小。

任何想法?

edit I even looked at finding the edges myself using a geometry shader, as described in http://prideout.net/blog/?p=54, but it suffers from the same gaps as the wireframe technique.

我通过拆解<代码>,得以消除带有丝网技术的造物。 GL_DEPTH_TEST,同时提纲。 不幸的是,我也失去了关于重叠物体的大纲......

My goal is to get the same effect they use on characters in the Dragons Lair 3 game. Does anyone know how they did it?

问题回答

如果你在经过实情检测后重新发现,Ive发现,你可以取得极好的结果,拥有5x5焦耳机,用于深度缓冲,并混淆了所投的物体(可能还有体面的FSAA)。 你们需要在碎块中作一些调整,以便列入模糊的大纲,但结果很好。 (以及你真切想要的问题,过去)

注意到:

(1) 过滤器和记录过滤器不同,产生不同结果

(2) 如果你在缓冲深度()上应用聚合物(),而不是照亮的形象,你最终会取得完全不同的结果,如果希望采用一个提纲轮机,则可以采用一个双轨过滤器,然后有选择性地发放通行证,那么,你最终会把手提包与标记相匹配,而且你对准绳大小有严格的控制,但以2个额外通行证的成本计算。





相关问题
OpenGL 3D Selection

I am trying to create a 3D robot that should perform certain actions when certain body parts are clicked. I have successfully (sort of) implemented picking in that if you click on any x-plane part, it ...

CVDisplayLink instead of NSTimer

I have started to implement cvDisplayLink to drive the render loop instead of nstimer, as detailed in this technical note https://developer.apple.com/library/archive/qa/qa1385/_index.html Is it ...

Can the iPhone simulator handle PVR textures?

I have a really weird problem with PVR textures on the iPhone simulator- the framerate falls through the floor on the iPhone simulator, but on the iPhone itself it works just fine. Has anyone had any ...

Calculate fps (frames per second) for iphone app

I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?

Java - Zoom / 3D Data Visualization Libraries

What are the best libraries/frameworks for doing 3D and/or Zoom interfaces in Java? I d like to be able to do some prototyping of creating new types of interfaces for navigating within data and ...

FLTK in Cygwin using Eclipse (Linking errors)

I have this assignment due that requires the usage of FLTK. The code is given to us and it should compile straight off of the bat, but I am having linking errors and do not know which other libraries ...