V3D_View::ToPixMap() is not able to draw image of Ais_TexturedShape

I'm using V3D_View::ToPixMap() and Aspect_PixMap::Dump() functions to save all Ais_TexturedShapes to bitmap file but it is not displaying image of Ais_TexturedShape in bitmap file.
I'm using OCC6.5.3. Please help to resolve this issue

Thanks & Regards,

EricThompson's picture

Are your textured shapes drawing correctly on the screen, just not to the bitmap file?

Does Dump() create a valid bitmap file?

gauravbanda's picture

Yes, it is drawing correctly on the screen and Dump() is creating a valid bitmap file. Only images of textured shape are missing in the file.