创建树渲染引擎 [英] creating tree rendering engine
本文介绍了创建树渲染引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在实现树渲染引擎.
目前,我能够加载具有多个实例的单个.x文件..
但是现在我想实现剔除和LOD来优化性能,以便可以渲染100棵或更多棵树
没有获得任何有关剔除和LOD的正确信息.
请给我一些指导.....
hi i am implementing tree rendering engine.
currently i am able to load single .x file with multiple instances..
but now i want to implement culling and LOD for optimizing the performance so that i can render 100 or more trees
not getting any proper info for culling and LOD.
plz give me some direction .....
推荐答案
您应该查看 ^ ]
从经验来看,树(如果您是树栖类)则更好地处理为广告牌 [ ^ ],尤其是在一定距离
You should look at progressive meshes[^]
From experience, trees (if you mean the arboreal kind) are much better handled as billboards[^], especially at a distance
这篇关于创建树渲染引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文