View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006291VTK(No Category)public2008-01-31 10:512016-08-12 09:54
ReporterJerome Robert 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006291: [Regression in CVS head] Very slow with 100 vtkActor
DescriptionWith current CVS head, the rendering is very slow when we have more than 50 actors. It's a regression as with ParaView-3-2-1 tag it was good.
Additional InformationThis java program run smoothly with ParaView-3-2-1 tag but is nearly frozen with current head.

public class BugManyActor
{
    /** Create a cone actor */
    private static vtkActor createDummyActor()
    {
        vtkConeSource cone = new vtkConeSource();
        cone.SetHeight(3.0);
        cone.SetRadius(1.0);
        cone.SetResolution(30);
        vtkPolyDataMapper map = new vtkPolyDataMapper();
        map.SetInput(cone.GetOutput());
        vtkActor coneActor = new vtkActor();
        coneActor.SetMapper(map);
        return coneActor;
    }

    private static void addDummyCones(int n, int m, vtkRenderer renderer)
    {
        for (int i = 0; i < n; i++)
            for (int j = 0; j < m; j++)
            {
                vtkActor actor = createDummyActor();
                actor.SetPosition(4 * i, 4 * j, 0);
                renderer.AddActor(actor);
            }
    }

    public static void main(String[] args) throws Exception
    {
        System.loadLibrary("vtkRenderingJava");
        
        vtkRenderer ren1 = new vtkRenderer();
        addDummyCones(33, 33, ren1);

        vtkRenderWindow renWin = new vtkRenderWindow();
        renWin.AddRenderer(ren1);
        ren1.ResetCamera();

        vtkRenderWindowInteractor iren = new vtkRenderWindowInteractor();
        iren.SetRenderWindow(renWin);

        vtkInteractorStyleTrackballCamera style =
            new vtkInteractorStyleTrackballCamera();
        iren.SetInteractorStyle(style);
        iren.Initialize();
        iren.Start();
    }
}
TagsNo tags attached.
Project
Type
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0011028)
Julian Ibarz (reporter)
2008-04-02 05:00

Hi,

Is there a begin of a solution that has been founded for this bug or is the bug always unknown ?

Thanks.
(0012136)
Julian Ibarz (reporter)
2008-05-28 06:54

The problem doesn't exist in the last cvs version, I think it has been solved. May be the report status should be update ?
(0036950)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

- Issue History
Date Modified Username Field Change
2008-01-31 10:51 Jerome Robert New Issue
2008-02-06 09:31 Jeff Baumes Status backlog => tabled
2008-02-06 09:31 Jeff Baumes Assigned To => Utkarsh Ayachit
2008-04-02 05:00 Julian Ibarz Note Added: 0011028
2008-05-28 06:54 Julian Ibarz Note Added: 0012136
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036950
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker