This is topic My goal for tonight in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=046028

Posted by King of Men (Member # 6684) on :
 
is to get display lists and CPU culling working as an optimisation. I will let you know how it goes.
 
Posted by Phanto (Member # 5897) on :
 
good luck! love ya
 
Posted by Storm Saxon (Member # 3101) on :
 
*wrings hands*
*bites lips*
*dances from foot to foot*

HOW IS IT GOING, KOM?!?
 
Posted by King of Men (Member # 6684) on :
 
Right, that's display lists working, at least as an optimisation. Got a full order of magnitude out of that, so I'm pretty pleased, actually. Something weird with the display, though, I think I've got off-by-ones leading to gaps. Let's see...
 
Posted by cmc (Member # 9549) on :
 
Care to explain the specifics?
 
Posted by Storm Saxon (Member # 3101) on :
 
Dammit, King of Men! We need to get this ship out of here! How long until the warp drive is back up?
 
Posted by King of Men (Member # 6684) on :
 
Haud yer horses, mon - I'm an engineer and no a miracle-worker. Ye canna change the laws of physics!
 
Posted by beautifulgirl57 (Member # 9877) on :
 
Good luck with that.
 
Posted by King of Men (Member # 6684) on :
 
Hmm. Off-by-ones, right enough. But now I've got another similar problem with holes in my terrain map, showing up only at certain view angles. Worked very nicely as an optimisation, though. I guess I'll do CPU culling tomorrow, I may not even need it.
 
Posted by King of Men (Member # 6684) on :
 
If anyone would like to see the current status of my project, here's some screenies:
Without the bug

With the bug.

Ok, ok, I only started on this heightmap thing yesterday. Have patience. For now, I'm off to bed. Have to be at work at 0800 tomorrow. [Frown] [Cry] [Sleep]
 
Posted by ricree101 (Member # 7749) on :
 
What is it?
 
Posted by Bob_Scopatz (Member # 1227) on :
 
KoM, I can't believe you posted pics of such highly classified material on the internet!

[Eek!]
 
Posted by Telperion the Silver (Member # 6074) on :
 
[Big Grin]
 
Posted by King of Men (Member # 6684) on :
 
No worries, Bob, it's part of a deliberate disinformation campaign.

It turns out that you can fix the bug by not demanding accuracy from the poor depth buffer over ten orders of magnitude. Excellent! Now then, I think the CPU culling can wait a bit; let's see about those textures.
 
Posted by Icarus (Member # 3162) on :
 
My goal is to get all the papers from October graded. [Embarrassed]
 
Posted by Tante Shvester (Member # 8202) on :
 
quote:
Originally posted by King of Men:
Haud yer horses, mon - I'm an engineer and no a miracle-worker. Ye canna change the laws of physics!

Sometimes you just crack me the heck up!
 
Posted by B34N (Member # 9597) on :
 
mmmmmm, 3D rendering! Looks very unix to me but I only became familiar with the Linux flavor today and know not of the mysteries of grandpappy UNIX yet. Noob thing to say but am I even close??? [Confused]
 
Posted by Icarus (Member # 3162) on :
 
"A Unix system! I know this!"
 
Posted by King of Men (Member # 6684) on :
 
No, no, Windows. I manage to load up a texture, but it seems to be treated as a plain white surface. Curious. Let me see if I can get up a simple square.
 
Posted by B34N (Member # 9597) on :
 
[ROFL]
 
Posted by King of Men (Member # 6684) on :
 
Ah so, the problem is in the alpha value of my jpg file. That'll teach me to use formats I don't really understand. Let's try it with bitmaps.
 
Posted by HollowEarth (Member # 2586) on :
 
What are your working on?

And AFAIK jpgs don't carry an alpha value. I think jpeg2000 has it, but their really more of a joke than anything else. Off hand the only thing that carries a full alpha channel is a png.
 
Posted by King of Men (Member # 6684) on :
 
Actually, it turns out the problem was in the way I was converting from Java to OpenGL values. But it showed up as the alpha going to 0, and hence no texture showing.

Today I got texture binding to work. Tomorrow, I need to figure out what's causing the glitches in my heightmap, and also how to use more than one texture. But I won't have time to work on it. Saturday then.
 
Posted by Alcon (Member # 6645) on :
 
Sorry KOM, but this reminded me of my little brother's project, and I've gotta brag on him. He's a 15 year old sophomore in high school working on a 3d game engine. Check out what he's got:

http://www.solgaming.com/Resources/Picture11.jpg
http://www.solgaming.com/Resources/Picture3.jpg
http://www.solgaming.com/Resources/Picture8.jpg
 
Posted by King of Men (Member # 6684) on :
 
Hey, that's really pretty cool. Bet it took him more than the three days I've been working on mine, though. [Smile]
 
Posted by BlackBlade (Member # 8376) on :
 
quote:
Originally posted by Icarus:
"A Unix system! I know this!"

I hated the fact they had the girl say that in the movie when it was the boy in the book who was computer literate.
 
Posted by Alcon (Member # 6645) on :
 
quote:
Hey, that's really pretty cool. Bet it took him more than the three days I've been working on mine, though.
Yeah, it's taken him more like 2 or 3 years. But hey, he had to learn the language first and get a little practice with it under his belt before he really got going [Wink]
 
Posted by B34N (Member # 9597) on :
 
quote:
Originally posted by BlackBlade:
quote:
Originally posted by Icarus:
"A Unix system! I know this!"

I hated the fact they had the girl say that in the movie when it was the boy in the book who was computer literate.
what movie are you talking about. the only one that comes to mind that might be the one you are talking about is WAR games with Matthew Broderic. Is that the one or is it another?
 
Posted by Alcon (Member # 6645) on :
 
Jurassic Park. The quote is by Lex Murphy. Incidentally I just discovered that the actor who played Lex Murphy in Jurassic Park graduated from Skidmore about 5 years before I got here. That was a bit of a surprise.
 
Posted by King of Men (Member # 6684) on :
 
Ah so. The little glitches of sky showing through the ground in the interfaces between sectors, if the sector has a non-zero height at the border, is caused by Java counting y as going down the screen, while OpenGL counts it going up. Right-ho, no worries. For my next trick, I think I'll be adding texture information at the vertex level for smooth blending; then (probably not today) I'll have non-trivial heightmaps.
 
Posted by King of Men (Member # 6684) on :
 
Actually the heightmaps are very easy, so I did that first. Terrain maps were pretty easy too, but need some fine-tuning so I don't get binary values. So now I can start adding some nice controls to move around my landscape.
 
Posted by Icarus (Member # 3162) on :
 
My goal for tonight is to learn how to call a java applet on someone else's domain with an html wrapper, assuming that's possible.

Since it's already quarter to three, it doesn't look like it's going to happen.
 
Posted by Icarus (Member # 3162) on :
 
But it did!!
 
Posted by Euripides (Member # 9315) on :
 
Alcon, not to steal KoM's rightfully earned thunder, but your brother is a prodigy. Be nice to him - maybe he will buy you a house later in life [Smile]

But I don't know you too well. Maybe you're as talented as he is.
 
Posted by Tinros (Member # 8328) on :
 
quote:
Originally posted by King of Men:
Haud yer horses, mon - I'm an engineer and no a miracle-worker. Ye canna change the laws of physics!

This reminds me of this Order of the Stick shirt, in which V says:

"I am somewhat preoccupied telling the laws of physics to SHUT UP and SIT DOWN."
 
Posted by Alcon (Member # 6645) on :
 
quote:
But I don't know you too well. Maybe you're as talented as he is.
He's better than I was at his age, but then I gave him a head start. Taught him what I knew soon as he was ready to learn it. I never really got into graphics either, I went the MUD route instead. But yeah, he's pretty darn smart and I'm really proud of him [Smile]
 
Posted by Euripides (Member # 9315) on :
 
That's wonderful Alcon. I know I wish I had a brother who could teach me Unix programming. How much older are you, if you don't mind me asking?

That's one very elaborate MUD!
 
Posted by King of Men (Member # 6684) on :
 
Right then. Having gotten the graphics to a moderately reasonable stage, my next step is to put in something to shoot at. Which led to me writing the code 'final class Enemy'. Death to the oppressors of the people!
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2