473,511 Members | 15,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vector and particle effects

Jay
I'd like to experiment a little bit with vector graphics in python.
When I say 'vector graphics' I don't mean regular old svg-style. I
mean vector game style as in simulation of vector beam drawn graphics.
If you still don't know what I'm talking about, see Grid Wars 2
(http://gridwars.marune.de/) or Battlezone
(http://en.wikipedia.org/wiki/Battlezone).

Anyway, I need help choosing a module or modules to support this.
Would pygame support this or should I try pyopengl? Or is there a
better module for this?

Any tutorials for the basics would be GREATLY appreciated.

Sep 28 '06 #1
3 1927
Jay
Sorry for the double post. Google groups was being stubborn.
Jay wrote:
I'd like to experiment a little bit with vector graphics in python.
When I say 'vector graphics' I don't mean regular old svg-style. I
mean vector game style as in simulation of vector beam drawn graphics.
If you still don't know what I'm talking about, see Grid Wars 2
(http://gridwars.marune.de/) or Battlezone
(http://en.wikipedia.org/wiki/Battlezone).

Anyway, I need help choosing a module or modules to support this.
Would pygame support this or should I try pyopengl? Or is there a
better module for this?

Any tutorials for the basics would be GREATLY appreciated.
Sep 29 '06 #2
Jay wrote:
Sorry for the double post. Google groups was being stubborn.
Jay wrote:
>I'd like to experiment a little bit with vector graphics in python.
When I say 'vector graphics' I don't mean regular old svg-style. I
mean vector game style as in simulation of vector beam drawn graphics.
If you still don't know what I'm talking about, see Grid Wars 2
(http://gridwars.marune.de/) or Battlezone
(http://en.wikipedia.org/wiki/Battlezone).

Anyway, I need help choosing a module or modules to support this.
Would pygame support this or should I try pyopengl? Or is there a
better module for this?

Any tutorials for the basics would be GREATLY appreciated.
I'd suggest PyOpenGL because it'll be a *lot* faster. Something like
gridwars won't be possible in pygame.
Richard

Sep 29 '06 #3
Panda3D is pretty good http://www.panda3d.org/ . It is very well
documented and it comes with many examples.

There is also pygame.

Jay wrote:
I'd like to experiment a little bit with vector graphics in python.
When I say 'vector graphics' I don't mean regular old svg-style. I
mean vector game style as in simulation of vector beam drawn graphics.
If you still don't know what I'm talking about, see Grid Wars 2
(http://gridwars.marune.de/) or Battlezone
(http://en.wikipedia.org/wiki/Battlezone).

Anyway, I need help choosing a module or modules to support this.
Would pygame support this or should I try pyopengl? Or is there a
better module for this?

Any tutorials for the basics would be GREATLY appreciated.
Sep 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1599
by: Jason Heyes | last post by:
What harmful effects can using std::vector have on the performance of my program? How do I protect my program from these effects? Thanks.
2
2299
by: Fred Zwarts | last post by:
There are a few things I do not understand about the vector class in de standard C++ library. The description of the resize member function says: void resize(size_type sz);Alters the size of...
17
4133
by: Mark P | last post by:
Say I have objects of class C which are fairly large. Then consider: vector<C> vc; vc.push_back(C()); Naively this would seem to construct a temporary object C(), copy it into the space...
10
15606
by: bluekite2000 | last post by:
and why doesnt the standard vector have such conversion available?
1
383
by: Jay | last post by:
I'd like to experiment a little bit with vector graphics in python. When I say 'vector graphics' I don't mean regular old svg-style. I mean vector game style as in simulation of vector beam drawn...
9
3738
by: Jess | last post by:
Hello, I tried to clear a vector "v" using "v.clear()". If "v" contains those objects that are non-built-in (e.g. string), then "clear()" can indeed remove all contents. However, if "v"...
1
3414
gregerly
by: gregerly | last post by:
I'm a total flash / actionscript newbie. I have a question about how to create a flash background as seen here: Adobe MAX I don't expect a detailed explanation. I'm just looking for some info...
13
2859
by: smp | last post by:
Does anyone know why making a vector of pointers is so much less efficient than a vector of objects? For a simple example: int num = 20; vector<int*v_int_ptr; v_int_ptr.reserve(num); ...
29
3391
by: stephen b | last post by:
Hi all, personally I'd love to be able to do something like this: vector<intv; v.assign(1, 2, 5, 9, 8, 7) etc without having to manually add elements by doing v = 1, v = 2 .. etc. it would...
19
10728
by: Daniel Pitts | last post by:
I have std::vector<Base *bases; I'd like to do something like: std::for_each(bases.begin(), bases.end(), operator delete); Is it possible without writing an adapter? Is there a better way? Is...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5077
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.