Go to advanced search

by tipam
Sat Jul 21, 2012 9:16 am
Forum: Python
Topic: Pi3D ES 2.0
Replies: 97
Views: 18410

Re: Pi3D ES 2.0

Keep up the good work! Btw, does it support normal and spec map? ... I'm hoping to implement an easy way of passing shader parameters so you can program them to have multiple textures, normal maps, matrices and so on. Pi3D2 will probably start off with some built in shaders that are commonly used p...
by tipam
Sat Jul 21, 2012 5:59 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Not too sure if people are still watching this, but Pi3D has been updated with improved Texture handling (deletes textures on exit and automatically detects alpha). Also works for latest Raspbian Wheezy as there were a couple of bugs. Get the latest update from http://www.github.com/tipam/pi3d . Tim.
by tipam
Tue Jul 17, 2012 8:44 pm
Forum: Python
Topic: Pi3D ES 2.0
Replies: 97
Views: 18410

Pi3D ES 2.0

Pi3D ES 2.0 (or Pi3D2 for short) ======================== A new version of Pi3D is underway that works with OpenGL ES 2.0 only. That means shaders and potentially much better graphics! As usual, Pi3D2 has been designed to make programming ES2.0 very simply using just a few lines of code. There will...
by tipam
Mon Jul 09, 2012 9:11 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Hi Jesse ... I must admit I haven't uploaded any heirarchical examples, but you can do this with the pi3d.matrix function. I'll upload an Earth2.py which should demonstrate how this is done with the moon orbiting at an angle with satellites orbiting the moon (see below). I'll also make an amend to p...
by tipam
Fri Jul 06, 2012 5:56 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

If you haven't downloaded the latest update yet - GOOD! ... I've just updated again with fixes on lighting, normals, matrices and model loading. There is now a Shapes.py example to give you an idea of the shapes available. Tim..
by tipam
Fri Jul 06, 2012 1:14 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Pi3D RELEASE 2 NOW UPLOADED!! Go to http://www.github.com/tipam/pi3d for the latest release of Pi3D plus several demos that use the new features!! Here's a very brief outline of what's been added ... - Lots of built-in shapes: Sphere (hemi), Cone, Cylinder, Extrude, Tube, Lathe ... - Paddy Gaunt's ...
by tipam
Wed Jul 04, 2012 7:52 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

When will be the source code be up? Pictures are nice, but source code one can play with would be nicer ^_^ Neeearly there! Just tieing up last loose ends for this version so there aren't huge changes with the interfaces next time - there will be a lot more stuff to play with! Friday I should get i...
by tipam
Tue Jul 03, 2012 12:38 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Another update ... Pi3D now has Paddy's Panda3D file loader and several more things have been added including some gaming ability. I'm working on a small shoot-em-up and made a few other demo's like 'ForestWalk' which runs in full screen at a good frame rate ... http://www.skillmanmedia.com/pi3d/ima...
by tipam
Fri Jun 29, 2012 12:57 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Tim, looks good. Here are some pics of the latest iteration of loadModel. Here's a link to the files (large because of the 128 water pictures, sorry!) below pics is a copy of the readme in case you're interested but can't be bothered to load all the pics. http://www.eldwick.org.uk/files/rasp1.jpg h...
by tipam
Thu Jun 28, 2012 9:45 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Another update (inbetween work!) ... Added environment cube ... http://www.skillmanmedia.com/pi3d/images/envcube.jpg Also working on bitmap fonts ... I've written a util that will convert fonts from your PC/Mac into a single image and export the Python code to read it ... http://www.skillmanmedia.co...
by tipam
Mon Jun 25, 2012 11:23 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

The way to make it all load fast seems to be to take out the python wrapper eglchars() completely. I haven't tested this exhaustively but it seems to work on a couple of things I've just tried so it should form the basis of 'a better method'. I use the ctypes.c_char_p() so only have to send a point...
by tipam
Mon Jun 25, 2012 11:21 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

.tostring("raw",RGBs) actually it's the eglchars() method that takes all the time. I tried saving the images as 'raw' strings but it seemed to take the same time and this is why. If at first you don't succeed try, try again (and don't give up!) ... I finally found a way that *instantly* loads the t...
by tipam
Mon Jun 25, 2012 9:11 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Hmm - I wonder if there's a way of passing pointers rather than copying strings?
by tipam
Sat Jun 23, 2012 8:34 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

If anyone would like to find solutions for the following - it would help me speed up devs a bit! 1) Grab 'window' context so that keys and mouse events are directed to Pi3D only 2) A better solution to key press events than curses! ... I get a lot of keyboard buffer lag and annoying feedback in the ...
by tipam
Sat Jun 23, 2012 6:38 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

Thought I would add a few pics here of Pi3D progress ... 1. Lots of pre-built shapes; sphere, cone, cylinder, truncated-cone, torus, spiral, extrude, tube, cuboid, lathe (create a vase, jet engine, proper wheels and whatever you like!) I'll probably include a few other objects such as a building wit...
by tipam
Sat Jun 23, 2012 5:00 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

I will upload the latest version here) http://www.eldwick.org.uk/files/evenmoreloadmodel.zip has the latest version (again incremental to Tim's stuff and previous zips of mine, see above) I have added a light (tried a camera but couldn't get it to do anything) which goes on and off each time you pr...
by tipam
Thu Jun 14, 2012 11:09 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 48334

Re: Pi3D

liz wrote:Thanks Paddy!
Thanks Paddy again!
by tipam
Sat Jun 09, 2012 12:39 am
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 12364

Re: Python and opengl es on raspberry pi linux - status?

I've been having a fiddle with Python and OpenGLES 2.0 from the code linked above (I know neither). I've managed to get basic stuff like a cube displaying with a basic texture, and perspective, rotation, translation matrices working. I'm sure there's lots of bugs in my stuff though, as I'm not conf...
by tipam
Sat Jun 09, 2012 12:34 am
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 12364

Re: Python and opengl es on raspberry pi linux - status?

Made some code for the 'pi3d' module to demonstrate simple 3D programming. It includes all the support files provided by Peter de Rivaz so it should just up and run in Python. You can get it from http://www.github.com/tipam/pi3d boxtest.py demonstrates the simple programming bit and implements the p...
by tipam
Fri Jun 08, 2012 1:00 am
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 12364

Re: Python and opengl es on raspberry pi linux - status?

I do have a boost python wrapper for the desktop version of my OpenGL library http://nccastaff.bournemouth.ac.uk/jmacey/GraphicsLib/index.html I'm in the process of porting it to the pi at the moment using C++ but will at some stage build the python version as well. All it would then need is some p...
by tipam
Thu Jun 07, 2012 9:43 pm
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 12364

Re: Python and opengl es on raspberry pi linux - status?

Try here: https://github.com/peterderivaz/pyopengles I've got to say that this code has great potential - I'm hoping to explore it a little further and create a Python class 'pi3d' that provides simple 3D functions for kids to understand(!) such as ... #initialize display pi3d.setupDisplay(x,y,widt...
by tipam
Wed Jun 06, 2012 9:50 am
Forum: General discussion
Topic: Hardware 3D in a window demo
Replies: 36
Views: 18256

Re: Hardware 3D in a window demo

Sorry, I'm a noob at this ... I've been trying to compile this example but I haven't got the 'eglext_brcm.h' file - where do I get this from? I've got all the includes from the hello_triangle example.
Any help appreciated! Thanks.
by tipam
Tue Jun 05, 2012 12:38 am
Forum: Troubleshooting
Topic: Newbie User cannot get Audio out
Replies: 14
Views: 32551

Re: Newbie User cannot get Audio out

I've been trying the above but can't get sound at all. Doing a sudo modprobe snd_bcm2835 (before startx) reports ... FATAL: Module snd_bcm2835 not found. Is there something I can download to fix this? I've installed alsa-base and alsa_utils but this makes no difference. I'm using Debian6-17-02-2012 ...
by tipam
Sat Jun 02, 2012 6:01 pm
Forum: Beginners
Topic: Composite problems
Replies: 11
Views: 9466

Re: Composite problems

Hi - I've had the same problems with composite but found you need to play with the overscan values in the config.txt file. I have;

overscan_left=40
overscan_right=20
overscan_top=20
overscan_bottom=20

Which fits my desktop nicely
by tipam
Sat Jan 21, 2012 3:12 pm
Forum: General discussion
Topic: conditions for RP logo usage
Replies: 8
Views: 4171

Re: conditions for RP logo usage

OK, I'll link to http://www.raspberrypi.org - no problem.  I'll also put a note at the bottom of each page saying 'this website is not officially endorsed by RaspberryPi.org and has no affiliation with them'

Thanks for your help

Go to advanced search