[Papervision3D] [Papervision 2.0] Cube - interactive textures drawing problem

Piotr Kościerzyński piotr.koscierzynski at gmail.com
Wed Jan 2 07:49:25 PST 2008


Hi,

I created a cube in papervision 2.0. I've succesfully loaded an external
animated movieclip and attached it to each side of the cube.

Everything works fine, except "front" and "right" face of the cube. Textures
on those faces are flickering or are squeezed to half of cube face width.

When texture isn't animated there is no problem.

I noticed that the error vanished when you set texture parameter
"doubleSided" to "true".

I set those parameters and the cube renders correctly:

    	
var loader:Loader = Loader(event.target.loader);
var movie:MovieClip = loader.content as MovieClip;
 		
portfolioMaterial = new MovieMaterial(movie, false, true, false);
portfolioMaterial.interactive = true;
portfolioMaterial.doubleSided = true;

I wonder if setting "doubleSided" to "true" isn't a waste of CPU power,
because I don't really need to see the inside faces of the cube?

Can this be fixed?

Regards,
Piotr
-- 
View this message in context: http://www.nabble.com/-Papervision-2.0--Cube---interactive-textures-drawing-problem-tp14580517p14580517.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list