2 Replies - 3527 Views - Last Post: 12 December 2012 - 06:24 AM

#1 rex64  Icon User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 168
  • Joined: 31-January 12

2D Sprite in a 3D World

Posted 11 December 2012 - 06:13 PM

I am attempting to add a 2D Sprite into a 3D World. I did some research, and found Point Sprite, but it looks like it was discontinued. What do you recommend? I do not even know if point sprite is what I want. I would like to be able to have 3D objects, but to also be able to mix in 2D sprites. I would like the sprite to face the user (should always be flat I think) and be scaled to match with the 3D objects.


Point Sprite:
http://blogs.msdn.co...studio-4-0.aspx

Is This A Good Question/Topic? 0
  • +

Replies To: 2D Sprite in a 3D World

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9568
  • View blog
  • Posts: 36,222
  • Joined: 12-June 08

Re: 2D Sprite in a 3D World

Posted 11 December 2012 - 07:43 PM

So something like this?

http://www.riemers.n...int_sprites.php
Was This Post Helpful? 0
  • +
  • -

#3 Kilorn  Icon User is offline

  • XNArchitect
  • member icon



Reputation: 1356
  • View blog
  • Posts: 3,528
  • Joined: 03-May 10

Re: 2D Sprite in a 3D World

Posted 12 December 2012 - 06:24 AM

Since you want the 2d sprite to always face the camera, I'd suggest you look into billboarding. Riemer's even has a section on it in his advanced tutorial series. Billboarding is basically just dropping in 2D graphics in a 3D environment and ensuring that they always face the direction of the camera. It's easy to tell when something is just a billboard, but it can save a lot of time and effort making 3D models for something that just doesn't really need to be 3D.

EDIT: Here's a link to the Riemer tutorial that I mentioned.

This post has been edited by Kilorn: 12 December 2012 - 06:25 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1