Need a namespace for billboards

This is a discussion on Need a namespace for billboards within the Game Programming forums, part of the General Programming Boards category; I'm in the process of cleaning up my engine code. It has gotten quite messy due to hacking in this ...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598

    Need a namespace for billboards

    I'm in the process of cleaning up my engine code. It has gotten quite messy due to hacking in this or that and now I want to clean all that up.

    What is a good namespace for billboards? I've started using my classes to only spit out vertices. Later on then another class can use these classes to create the vertices they need yet they are not tied down to a specific vertex type. So if you need a billboard with 4 textures and a shader you can do that but you will not have to gen the vertices for the billboard and the base vertex data for the billboard is not associated with or tied down to a specific type of vertex buffer.

    So what are billboards? They don't really fit into primitives.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Do you have other graphical utilities that are similar in scope? Skyboxes, for example? Put the billboards with those.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Yes but I don't have a name for those either hehe.


    Maybe Util??

    They are not really utilities as much as they are helper objects.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Constructs? Parts?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Entities? Environment?
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  6. #6
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    FlatThings::

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    118
    Quote Originally Posted by Perspective View Post
    FlatThings::
    Heh... That's my favorite!

    FlyingIsFun1217

  8. #8
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    Delegates? Underlings?

    Components? GUIShape?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  9. #9
    Registered User
    Join Date
    Sep 2005
    Posts
    196
    how about billboard_objects::

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Underlings. Hehe. Don't think so.

    I went with Util but I don't like it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. extern namespace?
    By Brafil in forum C++ Programming
    Replies: 2
    Last Post: 01-10-2009, 08:06 AM
  2. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 04:11 PM
  3. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 09:39 AM
  5. data validation & namespace
    By tiange in forum C++ Programming
    Replies: 4
    Last Post: 07-05-2005, 03:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21