<div dir="ltr">Sorry, I did not mean to reply to you only, thanks for reporting to the list.<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I don't see why you'd need root to try the cvs version... You're<br>
probably just getting lucky in release. If you want to fix this bug,<br>
the best approach if to 1) make sure its not already fixed </blockquote><div><br>and that should be done by trying the CVS version, right?<br>I suppose I could try...<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2) use gdb to<br>
debug it 3) file a bug with a test case. Is the bug easy to repro?</blockquote><div><br>Well no, as I tried on a machine running Windows and it worked.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Could you share your code?</blockquote><div><br>Sure, but it is taken straight from the examples:<br><br>vtkBMPReader* bmpReader = vtkBMPReader::New();<br> bmpReader->SetFileName("/home/gfanelli/Private/code/c/test2/data/F0001_AN01WH_F3D.bmp");<br>
bmpReader->Update();<br> vtkTexture* atext = vtkTexture::New();<br> <br> atext->SetInputConnection(bmpReader->GetOutputPort());<br> atext->InterpolateOn();<br><br> //# Create a plane source and actor. The vtkPlanesSource generates<br>
//# texture coordinates.<br> vtkPlaneSource* plane = vtkPlaneSource::New();<br> vtkPolyDataMapper* planeMapper = vtkPolyDataMapper::New();<br> planeMapper->SetInputConnection(plane->GetOutputPort());<br>
vtkActor* planeActor = vtkActor::New();<br> planeActor->SetMapper(planeMapper);<br> planeActor->SetTexture(atext);<br> <br> //# Create the RenderWindow, Renderer and both Actors<br> vtkRenderer* ren = vtkRenderer::New();<br>
vtkRenderWindow* renWin = vtkRenderWindow::New();<br> renWin->AddRenderer(ren);<br> vtkRenderWindowInteractor* iren = vtkRenderWindowInteractor::New();<br> iren->SetRenderWindow(renWin);<br> <br> //# Add the actors to the renderer, set the background and size<br>
ren->AddActor(planeActor);<br> ren->SetBackground(0.1, 0.2, 0.4);<br> renWin->SetSize(500, 500);<br> <br> iren->Initialize();<br> renWin->Render();<br> iren->Start();<br><br> <br></div>
</div><br></div>