PDA

View Full Version : Sprites in 3d


lionfish
05-21-2010, 04:20 AM
I was wondering if there's a way of drawing sprites (in 3d), in Vizard.

Each object has its 3d location in space, but I want it to look identical, regardless of viewing angle (like in earlier games e.g. Doom/Wolfenstein 3d). We're looking to do this because we have a lot of dots to draw - and this will hopefully speed their drawing (note the dots still need to become larger/smaller depending on distance).

Another option would be to rotate planes to ensure they face the viewer.

A third option would be to manually draw the dots using a rudimentary hand-written engine.

Any suggestions welcome!

Mike.

Darkmax
05-21-2010, 05:58 AM
You can make a Texture Quad(viz.addTexQuad) in vizard and then with the command billboard will always be facing to the view.

I normaly use this for the trees in my virtual worlds, but you can use it for anything you want

lionfish
06-03-2010, 01:51 AM
Perfect! that's exactly what we need.

Thanks very much,

Mike.