New sun for project XSpace

This is a discussion on New sun for project XSpace within the Game Programming forums, part of the General Programming Boards category; Here is my most recent update from my ongoing space game project. I had to update some of my graphics ...

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

    New sun for project XSpace

    Here is my most recent update from my ongoing space game project.

    I had to update some of my graphics tools in order to produce better images.

    Also with my new knowledge of MFC I'm fairly sure a 3D editor for the game to create levels and missions is not too far off in the distant future.

  2. #2
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Nice work Bubba, be sure to keep us updated.

    Now have you implemented a scripting engine for the actual game?
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Nope

    Still working on the graphics engine. It will be some time in the future before its a game. Graphics engine is the vital part and since I have a dev team of 1 it takes awhile.

    Also my asteroids clone is really close to being done - had to re-write some classes to support sprites. ID3DXSprite did not give me enough control over the sprites.
    Last edited by VirtualAce; 02-21-2005 at 11:39 PM.

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,208
    That sun looks awesome!

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    580
    Looks pretty similar to the other screenies you posted, but still looks nice. I got the same effect working a while ago but haven't played with it at all.

  6. #6
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Yeah the background has not been changed at all, but it wouldn't do the new graphic justice if I just posted the bitmap for it. My new Paint Shop Pro program generates these flares and glares for me much better than previous versions.

    I really need some models to stick in my world. Ideally I want everything loaded from disk, including the planets and simple primitives. Generating them on the fly when a level is loaded is not efficient.

    I'm also going to dump the orbiting planet idea. This will allow me to use lightmapping on the planets instead of real time lighting. After all the same effect can be done with lightmapping so there really is no need to do DOT3 lighting just so I can make the planets orbit. The earth orbits the sun once ~365.25 days. So you would have to play my game for at least 20 days (in game time, not real time) for you to even notice the planet moving. Simply a waste in my opinion. In fact my entire plan is to totally disable the default Direct3D lighting and transformation and move totally to pixel shaders. I'm not sure this is possible given that most cards out there do not support PS 2.0+. 1.4 has a lot of power, but no branching and I might run into some issues with that and more.
    Last edited by VirtualAce; 02-22-2005 at 11:24 PM.

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    580
    Uhh, instead of implementing DOT3 lighting in a shader why not use direct3d's built in vertex lighting functionality? The reason I say this is that lightmapping is typically slower than the built in lighting functionality, at least with OpenGL. It sort of makes sense when you think about it because while lightmapping involves very few calculations, it does involve binding another texture, and doing a texture lookup. If you don't believe me, fire up quake3, and try it with lightmapping and vertex lighting. At least for me, vertex lighting configuration always runs significantly faster. And I doubt it's just my implementation of OpenGL.

  8. #8
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    /me notices that plantes are spherical...

    Bubba, if you want orbiting planets and you want to use lightmapping, you can (slowly) rotate your light maps texture coordiantes to cause the shadowed side of the texture to move around the planet as it orbits. Just an idea.

  9. #9
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    There is a problem with that method. Since I'm texturing the sphere's based on vertex u,v coords and the models are not infintely resolute when it comes to the number of faces on the sphere you will notice the texture popping over polygon boundaries if you attempt to just rotate it using u,v coords. This works very good for flat planes or nearly flat, but it does not look good when used on low poly spheres.

  10. #10
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    ahh, yes. thats true. I guess a hack fix would be to rotate the entire planet so the shadow faces away from that light source but thats kinda

    btw: what kind of models are you looking for? have you tried blender? Its an open source 3d modeling program and is very good. It definately takes some getting used to as its controls are not like some other modelers but it is capable of professional quality models/animations.

  11. #11
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    wauw it looks gr8 will you post the first playable game to let us know how it got ?
    PLay MystWind beta , within two years

  12. #12
    ---
    Join Date
    May 2004
    Posts
    1,379
    MystWind. I don't think that will be for a while. Why don't you go back a few pages on this board to see some of his other screenshots?

  13. #13
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Actually I'm in dire need of some 3D modellers to create my spaceships. I have all of the design documents done for the ships and how they will react, but I do not have a lot of concept art for them because...I suck at drawing.

    Sound effects are no problem since I've purchased Sony's Sound Forge 7.0, but music is a big problem right now. All I need are sparse tracks of ambient background music for 5 important game states:

    1. Relaxed - exploration game state
    2. Relaxed2 - exploration game state - more ambience, livelier than 1
    3. Discovery game state - player has found something of interest - upbeat, gives the feeling of something non-normal has happened in the game
    4. Alerted game state - enemy is approaching or has been alerted
    5. Frantic game state - player is amidst a major battle with enemy ship(s)

    And then of course I need transitions to and from each game state.
    Last edited by VirtualAce; 02-26-2005 at 01:26 AM.

  14. #14
    ---
    Join Date
    May 2004
    Posts
    1,379
    I would be more than happy to write some music for you
    I'll try one of the ambient ones. I don't know how long it will take me, but I'll keep you updated. There is also a strong possibility that I will give up altogether because I can be a bit of a perfectionist. If that does happen I'll pm you.

    [edit]
    What I will do is send you some small samples so you can tell me if you like it
    Last edited by sand_man; 02-26-2005 at 02:43 AM.

  15. #15
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Sounds good

    Ambient shouldn't be too long...just about 2 or 3 minutes and my random music player will play it at different times in the game

    Having music all the time is annoying in space games.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simulating The Sun In The Sky
    By SMurf in forum Game Programming
    Replies: 1
    Last Post: 06-04-2007, 10:30 AM
  2. Survival Football, ongoing! (GENERIC EXCITED TITLE)
    By PJYelton in forum A Brief History of Cprogramming.com
    Replies: 179
    Last Post: 12-14-2004, 09:19 AM
  3. Sun bursts and glows.
    By VirtualAce in forum Game Programming
    Replies: 11
    Last Post: 04-16-2004, 05:38 PM
  4. Sun Eruption....could this be armageddon??
    By Golden Bunny in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-08-2002, 07:21 AM
  5. HaHa Sun takes Microsoft to court
    By Megatron in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 03-09-2002, 08:21 PM

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