[vtkusers] big sphere radius not working
Bruno Oliveira
bruno.manata.oliveira at gmail.com
Wed Mar 9 07:35:22 EST 2016
Hello,
I am tryint to create a sphere with a huge raidius (3e6).
I use this code:
// Create a sphere with texture coordinates
vtkSmartPointer<vtkTexturedSphereSource> source = vtkSmartPointer<
vtkTexturedSphereSource>::New();
source->SetRadius(radius);
source->SetThetaResolution(1000);
source->SetPhiResolution(100);
this code works if I use a small raiuds (like 2), but if i set a big radius
value (like 3e6), it won't work: the rendered image is all black. Why could
this be happening?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160309/cb1ac360/attachment.html>
More information about the vtkusers
mailing list