[vtkusers] Dark scaled actors on Linux

Jérôme Coloos jerome.coloos at samcef.com
Fri Feb 2 10:46:36 EST 2001


Hi,


I have some problems when I tried to resize actors in order to make them
viewable (not extremely deformed)

for example :

  vtkConeSource *cone = vtkConeSource::New();
    cone->SetRadius(1);
    cone->SetHeight(1000);
  vtkDataSetMapper *mapper = vtkDataSetMapper::New();
    mapper->SetInput(cone->GetOutput());

  vtkActor *actor = vtkActor::New();
    actor->SetMapper(mapper);
    actor->SetScale(0.001,1,1);

On AIX and on IRIX, there's no problem.
But on Linux (with Opengl), the result is all black.

Any idea is welcome. Thanks


__________________________________________
   ___    Jérôme COLOOS
 @/   \@  Tel : 32-4/361.69.69
  \° °/   Fax : 32-4/361.69.80
 ==\ /==  mailto:jerome.coloos at samcef.com
    °     http://www.samcef.com
SAMTECH s.a.
Parc Scientifique du Sart-Tilman
rue des Chasseurs-Ardennais, 8
B-4031 Angleur-LIEGE
___________________________________________





More information about the vtkusers mailing list