[Tutor] Point in polygon intro please~!

2006-10-07 Thread Michael Shulman
Hello, I'm very new to both python and OpenGL, but I'm catching on pretty quick, and trying to make a little game. I'm stuck on being able to do this point-in-polygon test though. Everyone seems to say that I should create a ray and see how many sides of a polygon it intersects, (even vs odd)

[Tutor] cylinder texture map?

2006-10-12 Thread Michael Shulman
Hello, You guys gave fantastic advice for my last question about point in polygon testing, thanks. New question; I'd like to make a scrolling background for a game I'm working on. I was thinking, since it's all in orthographic view, that a horizontal cylinder which rotates with a texture woul

[Tutor] move forward in arbitrary direction

2006-10-27 Thread Michael Shulman
Hello, I have what should be a basic math question, but I keep messing it up. How do I code an equation so that when I have an object facing an arbitrary vector, pressing a key will make it move forwards in that direction? (I understand all the key-based setup, it's just the equation for moving

[Tutor] changing a variable over simple network (with pyOpenGL)

2006-12-06 Thread Michael Shulman
Hello, I am trying to write a very simple py-opengl program pair causing a variable in each program to be changed by the other. I am able to open a command window in which I manually assign a value to the variable, but I cannot seem to implement the udp/ip information I wish to send into a f