3D parametric plotter

11th of March 2013 by liz
submit to reddit

This video from Benedek93 is a little slow to get going, but it’s well worth watching all the way through for a really tight demonstration of what you can achieve with OpenGL ES on the Pi. 

Benedek says:

Recently I’ve started going through a tutorial for modern OpenGL programming again (I can recommend it:http://arcsynthesis.org/gltut/ ), and on the way I decided to re-do that function plotter program I have showed off in one of my videos (“OpenGL Shaders and Shadow Maps”).

First I wrote it using the old, fixed-pipeline OpenGL specification so that I could run it on my laptop which didn’t support the newer versions. You can download it here and play with it on a PC: https://bitbucket.org/benedek/simple-…

At the same time I was also messing around with OpenGL on the Raspberry Pi and I was impressed seeing how smoothly you could make it draw simple but pretty 3D graphics. So I started porting that program to the RPi, adding the boilerplate code necessary to set up a GL context on it and changing the graphics code to use modern OpenGL ES.

In the end, the results were just as pretty as in my old shadow-mapping plotter program (except for the shadows), and the RPi was able to draw models smoothly at the same triangle counts as my laptop.

Here’s the download link: https://bitbucket.org/benedek/rpi-sim…

 

Buy a Pi!

buyapi

buypiswag
News Archives

Supported by


In the forums

On Twitter
  • Raspberry_Pi, 5 hours ago
    If you see Eben and me walking around at #MakerFaire today, come and grab us to get a free sticker! (Not available in shops!) Cambridge, UK
  • simonmonk2, 5 hours ago
    I am talking about @Raspberry_Pi Robot project on the Make Electronics stage - 1:30 Sat and 2pm Sun at the Bay Area @makerfaire
  • jerryjamesstone, 5 hours ago
    Today I will be speaking with @Raspberry_Pi inventor Eben Upton LIVE at @makerfaire Come join the party https://t.co/vm9Q7T7mN1 San Francisco
  • Raspberry_Pi, 14 hours ago
    A reminder: Eben and I are at #MakerFaire San Mateo this w/e - come and say hi if you want a free sticker! Cambridge, UK

Friends of Pi