一、使用 QuadrantRenderEngine…
新版的 PV3D 可以使用 QuadrantRenderEngine 代替原來的 BasicRenderEngine
renderer = new QuadrantRenderEngine(QuadrantRenderEngine.ALL_FILTERS);
但是效能很差,可能還需要細部的參數設定。
二、自己手動作 ViewportLayer…
viewport.containerSprite.sortMode = ViewportLayerSortMode.INDEX_SORT;
objViewportLayer = new ViewportLayer(viewport, null);
objViewportLayer.layerIndex = 1;
viewport.containerSprite.addLayer(objViewportLayer);
objViewportLayer.addDisplayObject3D(YOUR_OBJECT, true);
同一層的物件依然存在破圖的問題,並且,上層物件絕對會遮蓋住下層物件,所以在分配上要自己作好控制,效能很好。
三、在近距離的情況下,多邊形會被省略不畫而導致的缺面…
renderer.clipping = new FrustumClipping(FrustumClipping.BOTTOM);
2009年11月23日 星期一
訂閱:
張貼留言 (Atom)
VirtualBox 空間減肥
sdelete64 -z c: VBoxManage modifymedium disk "/Users/fellow/VirtualBox VMs/Win10/Win10.vdi" --compact *.vdi 路徑可以在 VirtualBox 儲...
-
https://github.com/ljean/modbus-tk/ install pip… sudo apt-get install python-pip install... download modbus_tk-x.x.x.tar.gz tar zxvf...
-
set0 bit 位元設0 set1 bit 位元設1 tog bit 位元0/1切換 swapc bit 位元與c切換 =================== call addr 呼叫副程式 goto addr 跳躍到標籤 icall [index] 呼叫指標指到的副程式 ig...
-
ARis... ARis 是日本一間公司出品的產品,應用了 ARToolKit 技術。 展示影片在這… http://www.youtube.com/watch?v=yCCx7zANsGE YouTube上可以找到更多類似的影片。 這邊是我用 FLARToolK...
沒有留言:
張貼留言