It's a bit more complicated than that as you need to bind textures, normal maps and other parameters depending on the requirements of your vertex and fragment shaders. This requires several other calls that pass this information on.toxibunny wrote:This is awesome news! I'm busy with other stuff at the moment, but adding a function to allow your own shader code shouldn't be too difficult, should it? You basically just pass it in as a string..?
ConferenceHall demo available at http://www.skillmanmedia.com/pi3d/ConferenceHall.ziptipam wrote:... the more people play with Pi3D, the better we can improve and make fixes!!
I've been playing with baked texture environments which make the RPi look pretty powerful! ...
... glad you like it ... more on the horizon as I've done several of them over the years. I just hope to instil some inspiration and the fact that something so small (and cheap) can create great things!JamesR wrote:Actually, it really is amazing stuff when you try to run something like gimp on the pi. The reality is that the minor drawbacks always need consideration where the provision is made for omething hat good.
... the stairs will work at some point - I've got a very simple (and fast) collision detection method that will enable you to run around multi-level environments and bump into things etc.. may be in early January??JamesR wrote:Its great. Looks fantastic.
As for feedback, I can tell you the stairs don't work.
Actually, if it boiled down to it there is a slight laginess in the forward movement. Ultimately I'm wondering if there can be more code improvement or you would have to consider slowing the camera movement down or reducing the quality. Or live with it. Its very close to smooth.
... I did try to save in OBJ but the OBJ loader came up with a load of errors whereas EGG worked first time. I think it's because Max7 spews out textures/materials that aren't used whereas the Panda EGG exporter tidies things up nicely.paddyg wrote:Have you tried saving any of these big models to obj?
You also need python-imaging-tkStep 3.
Install the Python Imaging Library by opening a terminal and entering:
apt-get install python-imaging
Code: Select all
display = pi3d.display(0,0,1280,1024)
Feel free to grab it. And thanks for the nice words. Can I also put in a request for the changes I made to pi3dcommon -- to allow the mouse buttons to be used separately? It's so much easier moving forward with the left mouse button and stopping when you take your finger off, rather than filling up the keyboard buffer with W-keys.paddyg wrote:The buildingfromimage class should be in the standard library!