PDA

View Full Version : Projecting a plane onto a cylinder



amarnd
06-15-2009, 04:51 AM
Hi there!!!

I'm new to OpenGL and could someone explain how to project a plane on to a concave surface(like a quadrant of a cylinder).

Thanks,
Amar

todayman
06-15-2009, 08:11 AM
I don't think I completely understand what you want to do.

You can apply a texture ( a planar image ) to the cylinder - is this what you want?

amarnd
06-15-2009, 09:29 PM
I will try to explain what I want in detail.

I have a line in XY plane and if I want to draw it in 3D, I will project it in the XZ plane where XZ is a plain surface. Suppose if XZ is not a plain surface, and it is a quadrant of a cylinder, how to acheive the projection.