Textures

Ron Inbar rinbar at netvision.net.il
Wed Sep 15 13:37:15 EDT 1999


----- Original Message -----
From: Ana Cugat <c1f6326 at hotmail.com>
To: <rinbar at netvision.net.il>; <c1f6326 at hotmail.com>;
<vtkusers at gsao.med.ge.com>
Sent: יום רביעי 15 ספטמבר 1999 13:57
Subject: Re: Textures


>
>
> Hello, thanks for your answer,
>
>
> Now the problem is that the height and width are not a power of two. Is
> there any way to fix that?
>
> Thanks again,
>
>
> Ana
>
>

I think I read somewhere that the latest versions of VTK take care of this
issue for you.  If you use an older version of VTK, you can use
vtkImageResample to resize the image to powers of 2.  You can also use
vtkImageReslice, but that is probably an overkill in this case.

Ron




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list