|
-
Feb 24th, 2007, 12:14 PM
#1
Thread Starter
Hyperactive Member
Point sprites Vs Vertices
All the objects in my game are a collection of six vertices, I have had them it the format so I can quicky render them as a TRIANGLELIST.
Alternatively since all objects have textures and are represented as textures would it not be easier to use a point sprite per object or stick with the style I am doing. The only trouble with point sprites is that I will have to resize them for different sized objects and they would not have any solid form.
Which would be easier, Point Sprites or Vertices?
-
Mar 3rd, 2007, 01:20 AM
#2
Junior Member
Re: Point sprites Vs Vertices
Woah woah woah, wait a second, are you saying you are drawing 2d objects with 6 verticies? First off, you should probably do that with a TRIANGLESTRIP so you only have to define 4 points.
http://directx4vb.vbgamer.com/
Have you used Point Sprites before? I personally find them a huge pain in the butt - correct me if I am wrong, but from what I have found, you have to use the whole texture, sizing can be a bit of a hassle, can't do rotations, can only specify a single light value. I only really like them for particle engines. Using a triangle strip should suffice just fine, though.
-
Mar 3rd, 2007, 04:09 PM
#3
Thread Starter
Hyperactive Member
Re: Point sprites Vs Vertices
Ah, funky
I guess you could use triangle strips with Vertexbuffers. Believe or not I have visited the site you quoted. In fact that is the very same site I learned about directx from. I always assummed that triangle strips were used similarly to triangle fans and therefore useless when combined with vertexbuffers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|