Hello,
it is possible to render an OpenGL-Scene into a Picture-Box instead of a Form?
Thanx.
Hello,
it is possible to render an OpenGL-Scene into a Picture-Box instead of a Form?
Thanx.
Hi !
I don’t think so, you need a DIB section buffer to do that, and the picture in VB is a DDB I think, but you can always render to your own image or pbuffer and then copy it to the picture I think.
But maybe there is some VB guru out there that nows a way to do it… ?
Mikael
I would assume the answer to this question is yes, but I’m not positive.
Personally, I’ve created an ActiveX control that draws to a VB UserControl. I’ve wrapped up all of the necessary code to create/destroy the OpenGL rendering context and I can simply add this control to whatever project I need it. Maybe this would be a better approach for you as well.