Text archives Help
- From: Li-Ta Lo <ollie@lanl.gov>
- To: manta@sci.utah.edu
- Subject: [Manta] triangleSceneViewer v.s. objviewer.py
- Date: Fri, 15 Feb 2008 10:41:07 -0700
- Organization: Los Alamos National Lab
Hi,
I believe that both triangleSceneViewer and objviewer.py should use the
same .obj loader and rendering algorithms but why is there some "noise"
in the objviewer.py output? Is this related to the T_EPSILON? Please see
the attached screen shot.
BTW, there is minor bug in objviewer.py
[ollie@exponential SwigInterface]$ svn diff objviewer.py
Index: objviewer.py
===================================================================
--- objviewer.py (revision 2066)
+++ objviewer.py (working copy)
@@ -64,7 +64,8 @@
# Create a bvh.
bvh = manta_new( DynBVH() )
- bvh.rebuild( obj )
+ bvh.setGroup(obj)
+ bvh.rebuild()
# scene.setObject(world)
scene.setObject( bvh )
Ollie
Attachment:
trianglescene.png
Description: PNG image
Attachment:
objview.png
Description: PNG image
- [Manta] triangleSceneViewer v.s. objviewer.py, Li-Ta Lo, 02/15/2008
Archive powered by MHonArc 2.6.16.