[Papervision3D] polygon-failures in display...

kay w. kay.wiegand at googlemail.com
Thu Dec 27 09:46:13 PST 2007


hi and belated Merry Christmas!

i still have this problem. :( and it makes me crazy.arg %-|

i had played with the kind and number of segments for the objects, without
success.


http://www.nabble.com/file/p14516147/error.jpg 


only one awareness: no problems with display-failures, when all is one
mesh...
you can see it in this test-swf: 
http://beta.mit.de/kwiegand/test/index1.html
http://beta.mit.de/kwiegand/test/index1.html 
(toggle wireframeview with m)


then i tryed to play with effects branch and renderlayer, but also without
success...
test-swf example with z-sort:  http://beta.mit.de/kwiegand/test/index3.html
http://beta.mit.de/kwiegand/test/index3.html 
test-swf example with index-sort: 
http://beta.mit.de/kwiegand/test/index2.html
http://beta.mit.de/kwiegand/test/index2.html 


the floor ist on layer fx1 and the other object on layer fx2 till fx5...
i have build some effectlayer---->
---------------------------------------------------------------------
		//setup viewport
		viewport = new Viewport3D( 800,600,false,true,true );
		ref.addChild( viewport );			
						
		//setup scene
		scene = new Scene3D();	
			
		//setup effectLayer
		fx1 = new EffectLayer();
		viewport.addRenderLayer(fx1);
		    
		    fx2 = new EffectLayer();
		    viewport.addRenderLayer(fx2);
		    
		    fx3 = new EffectLayer();
		    viewport.addRenderLayer(fx3);
		    
		    fx4 = new EffectLayer();
		    viewport.addRenderLayer(fx4);
		    
		    fx5 = new EffectLayer();
		    viewport.addRenderLayer(fx5);

		    
		 //Manager
		RenderLayerManager.getInstance().sortMode = RenderLayerSortMode.Z_SORT;
		//for zsort OR
		//RenderLayerManager.getInstance().sortMode =
RenderLayerSortMode.INDEX_SORT;
		// for index
---------------------------------------------------------------------

i would like to build a room and at the moment i have no trouble when i
build the room with some objects (table, pillars or racks) all with one
mesh!...

but when ich later want to change some materials or drag & drop some
objects... it is disadvantageous.

C4RL05 wrote: Best approach is to separate the scene in layers...
had idone it wrong?

how can i work around this?

so long
thx for your help
kay

-- 
View this message in context: http://www.nabble.com/polygon-failures-in-display...-tp14133271p14516147.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list