Go to advanced search

by tipam
Sat Jun 23, 2012 5:00 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

... place) and to render it with smoothing on. The normals are set on the vertices as per smoothing (in blender) but don't seem to have any effect in pi3d (again need to set something probably). The light does seem to work with UV textures loaded from files though, for some reason, with a light added ...
by paddyg
Thu Jun 21, 2012 3:15 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

... place) and to render it with smoothing on. The normals are set on the vertices as per smoothing (in blender) but don't seem to have any effect in pi3d (again need to set something probably). The light does seem to work with UV textures loaded from files though, for some reason, with a light added ...
by paddyg
Wed Jun 20, 2012 11:30 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

yet more http://youtu.be/Z1pysY_qbEQ I have tried to offload the calculation of the pip locations to the graphics functions. It seems more jerky as if it's actually taking longer but at least it puts things in the right place! I will upload the latest version here. Still need to figure out the rotat...
by Gibble
Wed Jun 20, 2012 9:50 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

Nice work. Following all of this with interest. Just getting my head around modelling a bit more, then will have a further play with pi3d and the work you chaps have done.
by paddyg
Tue Jun 19, 2012 9:27 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

video here http://youtu.be/gqx9WZop2Js I've re-worked the loadModule class so that it copes with <Group> and <VertexPool> and assigns materials as well as textures. As it stands all it does with materials is allocate the diffr,diffg,diffb to the colours in the couple of lines commented out under the...
by chrislale
Sun Jun 17, 2012 8:14 pm
Forum: General discussion
Topic: 3D
Replies: 30
Views: 8847

Re: 3D

matthewtb wrote:Wait a few months and Pi3D will be available for download... :geek: :mrgreen:
Yes, looks interesting. Presumably it won't help with Kivy though?
by matthewtb
Sun Jun 17, 2012 7:53 pm
Forum: General discussion
Topic: 3D
Replies: 30
Views: 8847

Re: 3D

Wait a few months and Pi3D will be available for download... :geek: :mrgreen:
by HiggleBottom
Sun Jun 17, 2012 1:43 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

Ah. Thanks anyway!
by rurwin
Sun Jun 17, 2012 1:17 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

No, not unless it virtualises the videocore, which it can't. Good catch.
by Gibble
Sun Jun 17, 2012 11:38 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

Just thinking, will the GL stuff work in a VM anyway ?
by rurwin
Sun Jun 17, 2012 11:01 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

Have you done an rpi-update? IIUC that installs the libraries.
by HiggleBottom
Sun Jun 17, 2012 10:34 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

I get this error when running the Bouncing Balls demo on a Debian Squeeze VM:
OSError: libbcm_host.so: cannot open shared object file: No such file or directory.
Please help :cry:
by paddyg
Sun Jun 17, 2012 9:14 am
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

You can probably find other egg files or produce them from blender with the chicken add on. I haven't tried it with any others so there could well be issues. (Will be issues) I have added a couple more egg files to the zip. The panda-model doesn't work, probably because of the various assumptions a...
by paddyg
Sat Jun 16, 2012 7:28 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

As mentioned above I did a quick blender random blob which actually ended up with several thousand vertices and polygons then made it float around with 15 of the burgees zooming out of the screen. It's still got the background going transparent bug but Tim says he has fixed that. http://youtu.be/8FV...
by paddyg
Sat Jun 16, 2012 5:17 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

... Here's what seems to be a functioning version of loadModel(). http://www.eldwick.org.uk/files/loadmodel.zip It's a zip file including the modified pi3d, a test .py and a couple of egg files one with a jpeg UV and one with png. You can probably find other egg files or produce them from blender with ...
by paddyg
Fri Jun 15, 2012 4:57 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

... and texture per object with fairly minimal functionality. Seems to parse the egg data ok, I will put full code up once I have joined it in to the Pi3D stuff. ### ######################################################################## class vertex(): def __init__(self, coords_in, UVcoords_in, ...
by Gibble
Fri Jun 15, 2012 12:05 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

Just want to say a big thanks for the work on this. I've been having a play :). Maybe worth a note in the Graphics programming forum section as well ? Just for info, I've switched to using Shorts rather than Bytes on the 3d draw and created an eglshorts like eglbytes, as my object wasn't displaying ...
by tipam
Thu Jun 14, 2012 11:09 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

liz wrote:Thanks Paddy!
Thanks Paddy again!
by liz
Thu Jun 14, 2012 10:18 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

Thanks Paddy!
by paddyg
Thu Jun 14, 2012 9:56 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Re: Pi3D

... so I will put it here. It's some tidying up of the cloud demonstration (still see-through background but nicer clouds) # Clouds 3D example using pi3d module # =================================== # Copyright (c) 2012 - Tim Skillman # # This example does not reflect the finished pi3d module in ...
by liz
Thu Jun 14, 2012 5:10 pm
Forum: Python
Topic: Pi3D
Replies: 244
Views: 41413

Pi3D

http://www.raspberrypi.org/archives/1408

Tim Skillman and our old friend Peter de Rivaz have come up with a Python module which will let you muck around with 3d models, 2d sprites and more in Python on the Pi. Click the link above for more, and for a download.
by Gibble
Wed Jun 13, 2012 8:01 am
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 11741

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 ...
by tipam
Sat Jun 09, 2012 12:34 am
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 11741

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 ...
by tipam
Thu Jun 07, 2012 9:43 pm
Forum: Python
Topic: Python and opengl es on raspberry pi linux - status?
Replies: 23
Views: 11741

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

... 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,width,height) #Create objects ...

Go to advanced search