Making trees

Sage
Posts: 1,232
Joined: 2002.10
Post: #31
10% inspiration, 90% perspiration.

Looks awesome, keep it up. Smile
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #32
Praise from Caesar!

...in my comment about you and OSC being gurus, I certainly didn't mean to imply you guys don't work hard Rasp

Anyway, thanks for the support. I'm busting my butt on this!
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #33
Some updates -- I've implemented crappy, crappy water. I played OSC's Outnumbered and it made me realize just how much I want a water system for my game. SO I went and did it.

The thing is, my powerbook has the worst graphics card in the industry -- the 5200 Fx Go, and as such, I chose to limit myself entirely to the fixed-function pipeline. Sure, it'd be nice to have fragment shaders, but they are SO SLOW on my machine that it just isn't worth it.

Anyway, given the limitation, I think it looks pretty good. I do some complicated per-vertex coloring to get sky color reflection, as well as transparency modulation based on distance from the ground and the obliqueness of the camera angle. I even did splashes that track objects that intersect the wave function.

[Image: Screenshots-2005-12-06-18.png]

[Image: Screenshots-2005-12-06-20.png]

[Image: Screenshots-2005-12-06-27.png]

[Image: Screenshots-2005-12-07-16.png]

[Image: Screenshots-2005-12-07-17.png]

[Image: Screenshots-2005-12-07-19.png]
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #34
Looks fantastic, sounds really inventive too. Most impressive.
What is the SPS in the top right if you dont mind me asking?

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #35
SPS = "Steps Per Second" -- I try to keep the world's state updated at 120 hz, dropping frames if necessary.
Quote this message in a reply
Member
Posts: 89
Joined: 2005.06
Post: #36
<chant> Build... Build... Build... Build </chant>

Looks cool as usual.
Quote this message in a reply
Moderator
Posts: 771
Joined: 2003.04
Post: #37
Looks great, I imagine it looks even better in motion. That said, have you considered "fake" reflections? (ie drawing the geometry upside down and blending it with the water surface)
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #38
FWIW, Outnumbered doesn't use any shaders or anything like that. I use two features beyond OpenGL 1.1 -- VBOs, without which performance is too low, and a cube map for the skybox (more convenient than using 6 separate textures, but totally unnecessary).
Quote this message in a reply
Moderator
Posts: 1,140
Joined: 2005.07
Post: #39
PowerMacX Wrote:Looks great, I imagine it looks even better in motion. That said, have you considered "fake" reflections? (ie drawing the geometry upside down and blending it with the water surface)
I would have recommended that as well, but I saw it was already running at 14 fps, and he didn't want to try out shaders because they would be too slow. I think drawing everything twice would push it over the edge.
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #40
akb825 Wrote:I would have recommended that as well, but I saw it was already running at 14 fps, and he didn't want to try out shaders because they would be too slow. I think drawing everything twice would push it over the edge.

Exactly!

That said, in release mode with all settings at max ( including 2-pass lighting for shadows ) I get about 20 ( in the worst case, 25 or so on average ), and with all settings at minimum, I get about 40-50.

Anyway, I wouldn't be happy with the inverted-z reflection if it didn't purturb with the wave function -- and to do that correctly I'd have to render to texture and at the minimum I'd have to run a vertex program to perturb the texture coordinates by the vertex normal.

My goal is to get reasonable performance on *my* machine -- which is a 1.3 ghz 12" powerbook with a 5200. That means I have to keep it simple. I'd love reflections, but it ain't gonna happen...
Quote this message in a reply
Member
Posts: 196
Joined: 2003.10
Post: #41
Just Phenomenal. I just love getting news on your engine - it's fantastic looking!
Quote this message in a reply
staigerman
Unregistered
 
Post: #42
I find that Carrara Studio 3 and more recent versions have a great Plant generator. I have a tutorial of some sorts in here:

http://www.thebest3d.com/carrara/plants

The first part is based on Carrara Studio 3, which comes on a hybrid CD for Windows and Mac. Even though it's about 2.5 years old (the latest is Carrara 5), it runs on Tiger 10.4, I know a film maker kid who's got it on his G5 iMac.

Carrara's plant objects are simple to use yet also immensely versatile, with tremendous options for the creation of the shapes and geometries, and then even more for the mapping and application of shaders. With that in mind, you can create awesome sprites and images with alpha channel masking for use in your games.

I would also recommend Project Dogwaffle, for its ability to make grass and other foliage, but it's a PCwin application. However, if you have Virtual PC on your Mac, I would love to hear if you can use the freeware version.

http://www.thebest3d.com/dogwaffle/free

Here are samples that are by game developers or oriented towards game dev:

http://www.thebest3d.com/dogwaffle/dotm/burt
http://www.thebest3d.com/dogwaffle/dotm/thegamesworks
http://www.thebest3d.com/dogwaffle/whats...s_new.html

particle brushes can now render the alpha mask simultaneously.

Then, you may have Painter, or other imaging/painting programs. Some of them have support for animated brushes, aka hoses (Gimp) or tubes (PSP). DigArts makes the Jungle DVD for game artists, as well as textures for low-poly mountains and other backgrounds. You might find it a good collection to create various types of shrubbery.

http://www.gardenhose.com
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #43
Re: staigerman
The vegetation brushes look excellent. I will have to look into them more closely. I'm reasonably happy with my geometry generator, but frankly, my vegetation textures suck ass right now...
Quote this message in a reply
staigerman
Unregistered
 
Post: #44
TomorrowPlusX Wrote:Re: staigerman
The vegetation brushes look excellent. I will have to look into them more closely. I'm reasonably happy with my geometry generator, but frankly, my vegetation textures suck ass right now...

Which ones you mean, those generated by Project Dogwaffle's particle brushes?
Quote this message in a reply
Moderator
Posts: 385
Joined: 2002.08
Post: #45
It's great to see new screens of your engine. Very inspiring.

One thought about all games with water: where the water meets the ground. Is there anything you can do about that? Either by making the ground automatically take on texture modifications that make the ground "damp" (maybe just reducing the brightness of the textures that were just uncovered recently from the water), or even possibly make a little crashing against the wall?

The waves that appear when you intersect water with the object is similar to waves crashing against the land, I think.

KB Productions, Car Care for iPhone/iPod Touch
@karlbecker_com
All too often, art is simply the loss of practicality.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  3d trees for game spinner 5 7,352 Oct 25, 2006 06:34 AM
Last Post: spinner