google-code-export / papervision3d

Automatically exported from code.google.com/p/papervision3d
1 stars 1 forks source link

MovieMaterial leaks memory while intersecting with other material - quadrantRenderEngine - rev920 #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Ideally open attached file or create basicView stage with independent 
camera and two objects: colorMaterial cube and interactive movieMaterial 
plane. 
2. Ensure that the both objects are positioned on the same Z-depth
3. Move camera to below coordinates that should force renderEngine 
overlapping 
4. Notice that the memory usage increases at constant speed without 
reaching limit. 
Coordinates: 
x,y,z,target.y,zoom
451, 234, -892, 140, 75

What is the expected output? What do you see instead?
Memory usage should remain consistent and related to amount of triagnles 
rendered

What version of the product are you using? On what operating system?
Tested in both Windows and Mac Adobe Flash Player 10, Papervision 3d 2.1 
rev920 11Aug2009 and 2.0 

Please provide any additional information below.
This issue does not occur if any of the objects are moved on z-axis in 
order to avoid overlapping. 

QuadrantRenderEngine(1) has been used.
viewport.containerSprite.sortMode has not been set.

Original issue reported on code.google.com by 1985M...@googlemail.com on 12 Oct 2009 at 4:47

Attachments:

GoogleCodeExporter commented 9 years ago
Camera hint: Top right of the viewport container projecting 3/4 view.

Original comment by 1985M...@googlemail.com on 12 Oct 2009 at 4:54

GoogleCodeExporter commented 9 years ago
I have found the possible cause for this issue, I have described it in more 
detail 
here: http://forum.papervision3d.org/viewtopic.php?
f=15&t=1701&sid=6f841fd560388f099f9f00a03df051e3

Basically, a Dictionary that isn't using weak referencing in the BitmapMaterial 
class.

Original comment by steven.h...@gmail.com on 28 Jan 2010 at 7:34

GoogleCodeExporter commented 9 years ago
This issue still exists for Rev 934.
Attaching a simple test case.

Original comment by ichize...@gmail.com on 16 Feb 2010 at 10:56

Attachments: