Skip to main content
gamedev.net
🔒 Locked

Open for suggestions...

Started by Mushu Jun 2, 2004 at 3:31 AM 12 replies 450+ views
Original Post
Mushu
Mushu
Yeah - that''s basically it. Looking for more things/features to add; can''t think of any yet. Features: -Terrain randomly created using 2 superimposed sineosoidal functions - one for the x-axis and one for the z. Y values obtained by adding the two. -Light flickers like a candle, causing the lamp shade to flicker as well (inversed the normals on the mesh, pain in the) -Particle engine on the light so occasionally small sparks will rise up and float away. Still tweaking the particle texture so I was reluctant to post any pics with a particle in it. -As for the grass, there are 90,000 blades, but only 60,000 are rendered per pass (culled because of line-of-sight). The grass, by far eats up the majority of the fps. I''m tweaking the algorithm for initializing the grass because right now when you exit one of the nine "grass quads" it recalculates all nine quads. Same with the terrain, but that''s not so much a problem because it''s only 30*30 vertices. Oh, the grass itself is drawn with a line list, 10,000 blades per "grass quad", with random texture coordinates for the same texture as the ground. -And no, the grass does not move. Notice the framerate is still 30+; trying to keep it that way Err.. and by "grass quad" I mean how the grass is grouped - since I''m using VB6 my arrays are limited to, I think something a little above 20000*26 (damn...was it bits or bytes?!?) But whatever. The end result is that I have to display the grass in 9 quads:
-------------
|   |   |   |
-------------
|   | O |   |
-------------
|   |   |   |
-------------
 
O = observer. So basically when the observer moves out of the central quad it redraws all of them around the observer. I''m optimizing this so it "moves" the quads which are out of range and recalculates them where they need to be, thus reducing the time required by 60%. Should help some when moving around. So, anyway, I have all this and am looking for more things to add. I''m not much of an artist, but I was thinking of getting a starry texture to make a skybox out of or something like that. Can''t really think of anything to do with it! Any ideas at all?
Yes... VB6 is here to steal your minds fps. Very slowly.
Call .optimize(you.sig)
Toolmaker
Toolmaker
quote:
Original post by Programmer One
- Guns
- Hordes of Zombies.


- Some more zombies, maybe even raged kittens
 
Programmer One
Programmer One
quote:
Original post by AnonymousPosterChild
Grass never points up like that. Fix the pointy grass.


Maybe the grass is excited...

*wink* *wink* *nudge* *nudge*
Say no more, say no more.
nes8bit
nes8bit
yeah make the grass wavy

---------------------------------------------
insert flashy image here
Mushu
Mushu
Wavy... I guess I could try that.

Zombies would really fit nicely, though. Problems:

1) I''m no artist, so unless stick figures scare you...

2) I work at night and even if I got good artwork I''d end up scaring the shit out of myself and have to stop working on it (call me a coward!)

So... any more ideas? Please?


Yes... VB6 is here to steal your minds fps. Very slowly.
Call .optimize(you.sig)
Rob Loach
Rob Loach
I forget what the quote was but it went something along the lines of:

"Something is not done when you can't add anything more, it is done when there is nothing left to take away."

[EDIT]
My suggestion? Quit VB while you have the chance, it ruined my life.

[edited by - Rob Loach on June 2, 2004 11:08:01 AM]
Rob Loach [Website] [Projects] [
nes8bit
nes8bit
quote:
Original post by Rob Loach
I forget what the quote was but it went something along the lines of:

"Something is not done when you can''t add anything more, it is done when there is nothing left to take away."

[EDIT]
My suggestion? Quit VB while you have the chance, it ruined my life.

[edited by - Rob Loach on June 2, 2004 11:08:01 AM]


Oh don''t start. This thread will burst into 10 pages before you know it because of that.

---------------------------------------------
insert flashy image here
Rickwi22
Rickwi22
Just out of curiuosity, how does ones life get ruined by a progamming language?
jfclavette
jfclavette
[dumb anti-Microsoft rant]

Like this.
I teleported home one night; With Ron and Sid and Meg; Ron stole Meggie's heart away; And I got Sydney's leg. <> I'm blogging, emo style
Rob Loach
Rob Loach
quote:
Original post by Rickwi22
Just out of curiuosity, how does ones life get ruined by a progamming language?
I didn''t really start focusing on C++ until I was half way through high school. If I had stopped fooling around with VB earlier then I would''ve been a master. It''s all about timing some would say. But that''s just my opinion.
Rob Loach [Website] [Projects] [
Mushu
Mushu
Yeah. I feel that way about VB sometimes. But I''ve been using it for so long now that I think I''m crippled when I use C++. Oh well; don''t worry about me - my life is already ruined.

I added a sky sphere, and fixed the sparks particle system. I''ll upload a new picture later.

This would be really neat if I could add some zombies or something. Curse upon my artwork skills (non-existant)!


Yes... VB6 is here to steal your minds fps. Very slowly.
Call .optimize(you.sig)
Mushu
Mushu


Okay - so I attempted to implement the grass waviness, but I encounter some problems:

- Each "blade" of grass is composed of 2 vertexes (1 line). To achieve true waviness I need at least 2 lines; 4 vertices.

- My vertex buffers, however, are already filled (VB array limitations!) so I would have to thin the already thin grass by 50%, while still seeing the same fps preformance.

- While I could do this (and I thought about it) it does not apprear to be a viable solution!

What I instead considered was to use volumetric textures to do the grass, but even that, I think, won''t look as good. So welcome to my world - where only *Straight* grass is allowed.

Anyway, you can see that I did add the sky SPHERE (on a box you could easily see the edges because of the texture) and if you look really closely you can see the sparks coming out of the top of the lamppost (the red/orangy blips).

I''m considering adding other vegatation, like a bush or something, but am having (and have always had) problems with Alpha testing and texture blending. I''ll try to fix it, then put my bushes in.

Then I''ll work on something to shoot (like a rabbit) if I can find a mesh or something artsy online. Dah.


Yes... VB6 is here to steal your minds fps. Very slowly.
Call .optimize(you.sig)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.