<p dir="ltr">Hi Ryan,</p>
<p dir="ltr">I never used bgl. As I understand the docs it's a wrapper on top of opengl 2, so you should find similar codes if you search for "opengl 2 render to texture" and not specifically for Blender. In particular I saw that the function glCopyTexImage2D is available, which is a good starting point.</p>
<p dir="ltr">Good luck,<br>
Jo</p>
<div class="gmail_quote">On May 15, 2015 3:29 PM, "Ryan Southall" <<a href="mailto:R.Southall@brighton.ac.uk">R.Southall@brighton.ac.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
I am using the bgl to write some data into the viewport. Is there any way<br>
that I can render out this data to an image so that I can overlay the data<br>
onto a rendered animation, or, even better, render this data out directly<br>
with the animation?<br>
Thanks<br>
Ryan<br>
<br>
--<br>
Dr Ryan Southall<br>
Senior Lecturer<br>
School of Art, Design & Media<br>
University of Brighton<br>
<br>
___________________________________________________________<br>
This email has been scanned by MessageLabs' Email Security<br>
System on behalf of the University of Brighton.<br>
For more information see <a href="http://www.brighton.ac.uk/is/spam/" target="_blank">http://www.brighton.ac.uk/is/spam/</a><br>
___________________________________________________________<br>
_______________________________________________<br>
Bf-python mailing list<br>
<a href="mailto:Bf-python@blender.org">Bf-python@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-python" target="_blank">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
</blockquote></div>