WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Sprites in 3d (https://forum.worldviz.com/showthread.php?t=2745)

lionfish 05-21-2010 04:20 AM

Sprites in 3d
 
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.


All times are GMT -7. The time now is 09:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC