Read with Formatting | Join TechSpot! (it's free) | Bookmark / Share this



Haven't posted in a while... programming

Pages : [1] 2

agi_shi
03-15-2007, 08:15 PM
Check my new post for "correct" visuals of portals using Ogre and my engine, The v01dEngine!
=========================================================================== =

PICTURE HEAVY UPDATE : CHECK PAGE 2
-----------------------------------------------------------------
Heya guys, how's it going? I haven't posted for quite a while here... Missed lots of threads and news and stuff... Oh well.

Reason is, I was busy with school and programming...

Just wanted to show you some stuff my team and I (1 coder + myself and 2 modelers) did, and wanted to see what people think...

Check out a video of the killer physics that the game will have...
http://video.google.com/videoplay?docid=-8515932538129850213&q=portalized&hl=en
Make sure you watch half-way through to the end - it gets interesting there =).

Screeny of portals:
http://img410.imageshack.us/img410/7352/portaliq7.png

If you didn't guess it already, this will be a mess-with-your-mind style game. Different gravity for every object, portals, and what not. Prey and Portal were the inspirational titles =).

It's all C++... 2 coders (me and one more guy) and 2 modelers. I did the starting "base" of the engine (complete scratch for the game engine). Obviously no where near done, but it's what's going to eventually expand into our game engine. To speed things up we're using Irrlicht and Newton...

Comments?

GameJunkie72792
03-15-2007, 08:47 PM
not bad looking! cant wait to see it finished!

Ad
03-15-2007, 08:47 PM

MetalX
03-16-2007, 12:29 AM
So you are writing a game engine and you're only 13 (or so I read on another thread)?!? God, and I thought I was advanced for my age.

I like the alternating gravity effects... but all those boxes started to get annoying :dead:

Looks like it could be very good. I have purchased many a game that were worse than that. I'd rather play with that demo of the game engine than I would play certain games.

agi_shi
03-16-2007, 06:39 AM
Well, 13.5... Yeah, I started programming since 11 and it's pretty fun. Using C++, industry standard.

What happened is that I wrote a "base" for the engine (basic classes and functions) while my other coder got everything set-up properly on side. By then I already wrote the whole gravity demo. After that we both started working on the portals, and we still are. Eventually all of this will become our game engine.

But - we are using pre-existing rendering and physics engines. It would suck if we had to write them by hand, especially when they are "out there" already... More specifically, Irrlicht for graphics and Newton for physics. This really makes it easier because all we have to work on is the game stuff, not how to get stuff on the screen or compute complicated physical formulas that I do not understand =/.

Hehe... Wait, you can try out the physics demo... Download here... (http://www.jeepbarnett.com/narbaculardrop/community/Portalized/Demo%201.zip)

Just unzip it and run DiffGrav.exe. It'll take your desktop res. and run at that (people have reported dual-screen support, which is awesome...)

Use 1/2/3/4/5/6 to change gravity to +x/-x/+y/-y/+z/-z. Use 7 to randomize all cube's gravity. Use space to through, and WASD to move around.

That's the earliest demo. No portals or anything in it yet =).

Edited by Moderator: Removed quote. There`s no need to quote the post directly above your own, unless you`re only replying to a specific section, in which case, you would only quote that section. ;)

GameJunkie72792
03-16-2007, 10:37 PM
im only 14, yet im fluent in HTML (not saying much) currently learning java, and css... and i build and sell all sorts of systems... i do it just because its fun, is c++ hard? ive never really looked at it...

wow that's great 13.5???? those physics are pretty awesome, hope to see a full game soon definately will play!

cfitzarl
03-17-2007, 12:30 AM
I just posted this in my Clan (and TimeParadox's ;) ) to show it off. I posted the short portal demo I saw that you made. Good Luck :D !

Tedster
03-17-2007, 12:44 AM
graphics look pretty good. What's the point of the game?

beef_jerky4104
03-17-2007, 12:46 AM
Dang thats kewl. But why actually program it when you can just make it with FPS Creator.

fpscreator.com

I'll be turning 15 on the 21st.

TimeParadoX
03-17-2007, 05:54 AM
But why actually program it when you can just make it with FPS Creator.

The reason people dont just use pre-made engines ( most of the time ) is because they want to freeform their own game 100% :D

Also this is pretty good Agi-shi, very nice Physics engine and the graphics arnt half bad either :)

If I knew what program you guys were using ( for 3d models / textures ) I'd help you out :)

agi_shi
03-17-2007, 08:42 AM
Haha...

Let's see... first, don't show the short portal video to anyone :eek: ! I upped it to show my other programmer what was done :knock: ... That's the first, ugliest implementation of the actual portal physics :unch: .... Haha.

Second - no way are we going to use FPS Creator. We can do anything WE want to if we code it ourselves. Besides, it'd be a lot faster and more optimized than in FPS Creator. Not even sure of FPS Creator's abilities either, so that, too. We were actually thinking of modding F.E.A.R./HL2, but decided to go all out and do our own game for the fun and experience of it.

Third - yes, the physics are nice =). Thanks to Newton Game Dynamics (http://www.newtondynamics.com/)... A full-blown real-time physics engine for rigid bodies. Now you're thinking, "wow, well that makes it a piece of cake"... No, not really =). Still gotta actually feed the whole library what it wants, the way it wants it, and then we gotta integrate whatever it spits out with the graphics and game logic...

Forth - haha, did someone mention it looks "good"? We're not using half the goodness of Irrlicht (http://irrlicht.sourceforge.net/)... All we're doing is loading a Quake III bsp to test our stuff on. Later we'll add custom maps, bump mapping as well as parallax mapping... Here's parallax mapping from one of the Irrlicht demos (in case you didn't know what it meant):
http://www.irrlicht3d.org/images/parallaxmapping.jpg
... shadows, real-time lighting, portal "effects", etc. etc. etc... =)

@ TimeParadoX - no specific program. Use whatever you wish. We programmers can currently import practically any format... Look at the bottom of this (http://irrlicht.sourceforge.net/features.html) page for a list. If you wanna help out contact me at nullsquared (remove this) 4+ g00g13's m4!1 (figure it out). Trying to not get spam bots onto me.

Fifth - many people say C++ is NOT for beginners... Since it was the industry standard that's what I started with, I'd recommend it if you're up to the task.

@ Tedster: The point of the game will be... to get to the end of the level =). Using portals, gravity flipping, etc. etc. to solve complex and annoying puzzles/etc.

Ad
03-17-2007, 08:42 AM

cfitzarl
03-17-2007, 01:59 PM
I'm amazed Agishi....what engine are you using for the game itself (I'm a noob at game design :unch:)? You should make a guide on the basics of game design......I want my own game *crawls in fetile position* (:haha:)!

agi_shi
03-17-2007, 07:47 PM
Game engine? We're making it from scratch... =)

Edited by Moderator: Removed quote. There`s no need to quote the post directly above your own, unless you`re only replying to a specific section, in which case you would only quote that section. ;)

cfitzarl
03-18-2007, 03:16 AM
See what I mean ;) ! I get it now.

TimeParadoX
03-18-2007, 08:25 PM
Nice agishi, I got your email nullsquared@googlemail Im so smart :)

AtK SpAdE
03-27-2007, 05:00 PM
Good to see you around agi_shi. Nice work mate!

MetalX
03-27-2007, 05:16 PM
I just posted this in my Clan (and TimeParadox's ;) ) to show it off. I posted the short portal demo I saw that you made. Good Luck :D !
What clan are you in and for what games?

cfitzarl
03-28-2007, 05:44 PM
Ahh, the question is what clan am I admin to (;))....Luks...currently going through a forum change (soon anyway)...stupid host is starting to place adverts in the forums. I've signed up for some free server space, and am going to set up a forum there (either phpbb, SMF, or VB).

agi_shi
03-28-2007, 09:13 PM
Hmm... I haven't heard from my other coder in a while, lol. Oh well, it's fun working on it alone...

I actually started the engine from scratch. A lot of stuff was hard coded and I reinvented the wheel a few times... plus it looked super-ugly and had little flexibility. Now that I'm rewriting it, a lot of cool stuff will be possible...

For example, there are physics scene nodes now, not just "objects". So you can have graphics nodes as "children" of the physics... which also means that you can attach portals to a physics node (since they are nodes now as well), and get flying portals... Hmm... shooting portals to teleport stuff? Or portals falling like pieces of paper...

Sounds cool, haha. I'm working on parallax mapping as well, and once I get everything together (still rewriting some things), I'll show a screeny of some nice per-pixel lighting and bump/parallax mapping.

The portals are giving me a headache, haha. They just don't want to work as scene nodes, and I can't figure out why... well, I did, the rendering is simply not done on them. The problem is, I can't figure out why the scene manager isn't telling them to render... :hotbounce :knock:

Might as well work on the physics node to rest my brain, haha... Haha, I noticed I said haha 4, no FIVE times =).

One more thing - if any of you know how to use SVN and wanna take a look at the source, you can anonymously check out with SVN at http://OpenSVN.csie.org/Portalized. You can also simply click on the link to view it as a standard html page if you wanna just take a peek at what the source looks like. It's all C++, and uses Newton and Irrlicht. If you wanna go as far as compiling it, you'll need the mentioned libs as well as a data folder which you can get *from me* :knock:. (email)

EDIT:
Oh, and while I'm posting, I might as well say that I down clocked everything. I'm not much of a gamer now and lower temps are better. CPU got to 19C once and gfx card to 27C... What a toasty card!

Boogityboo04
03-28-2007, 09:59 PM
Wow... That game is actually already kinda addicting :)

I like messing with the physics engine, you can just hold down the space bar and shoot out hundreds of blocks.

I'm going to email this to my programmer friend. He thought he was all special because he wrote a racing game in Direct X at 13 :D
CPU got to 19C once and gfx card to 27C... What a toasty card!
Wait, *goes and checks temps* my sucky 7600GT is at 59C at a stock speeds (idle) :( I need a better case [/random]

EDIT: BTW, do you create all the textures yourselves?

agi_shi
03-29-2007, 03:18 PM
Wow... That game is actually already kinda addicting :)

I like messing with the physics engine, you can just hold down the space bar and shoot out hundreds of blocks.

Haha! Wow, I don't really find that way too interesting, but if you do, that's great! :knock:

I'm going to email this to my programmer friend. He thought he was all special because he wrote a racing game in Direct X at 13 :D

That's pretty good. We're using Irrlicht for graphics which means we'll be able to use DX8, DX9, two software renderers (speed/quality) and GL. So it'll run any any available platform.

Wait, *goes and checks temps* my sucky 7600GT is at 59C at a stock speeds (idle) :( I need a better case [/random]

Wow... Bad fan, haha =).

EDIT: BTW, do you create all the textures yourselves?
Not the world that the demo is in. That's a QuakeIII map that we used for testing purposes. The cube is from Portal, but my modelers did it from scratch (no ripping or anything). Now we're creating all of our worlds by ourselves, so no more QuakeIII =). It was just easy to test stuff in there.

agi_shi
04-03-2007, 07:42 PM
http://img413.imageshack.us/img413/3075/newlevel1dy9.jpg
http://img413.imageshack.us/img413/5622/newlevel2ps0.jpg

Sorry for the bigness, but I lost the thumbnails and theres no html here =(.

EDIT: Linkified.

agi_shi
05-20-2007, 12:31 PM
Kk, I've made the switch to Ogre...

Same level, running under Ogre, with a customized emissive/parallax/specular/diffuse shader:

http://img444.imageshack.us/img444/1674/screenshot1vp0.png

http://img441.imageshack.us/img441/8546/screenshot1dk4.png

http://img49.imageshack.us/img49/2930/screenshot2hc3.png

http://img134.imageshack.us/img134/1898/screenshot3sr3.png

http://img49.imageshack.us/img49/8156/screenshot4lf3.png

http://img511.imageshack.us/img511/39/screenshot1rc4.png

w00t... (remind you of a certain game ... ? =) )

agi_shi
05-20-2007, 12:35 PM
More clear parallax mapping and specular-ness:
http://img524.imageshack.us/img524/5126/screenshot1kt4.png

What happens is that the (...did you guess it?...) F.E.A.R. textures don't have height in the normal maps... which sort of throws off my parallax shader.

cfitzarl
05-20-2007, 02:20 PM
That looks amazing :eek: !

agi_shi
05-20-2007, 03:04 PM
That looks amazing :eek: !
Thanks ;) Now imagine it with portals... :)

If the F.E.A.R. textures got mapped to the map right (which they didn't, because all I did was change the filename), I don't think it would've been "too" easy to distinguish v01dEngine from F.E.A.R.'s engine (screenshot-wise)... Well, you know, without the HUD and a bunch of fancy shadows (which I WILL add, just not right now...) and flames and electricity and guns and medkits and all the other stuff ;).

But... yeah, definitely looks a lot better than that first screeny in the thread.

cfitzarl
05-20-2007, 03:51 PM
You need to release some beta maps for us :D !

agi_shi
05-20-2007, 04:04 PM
You need to release some beta maps for us :D !
:grinthumb

I have to get the physics rolling first. Then a beta "map" which you can navigate in (move + jump is all I'm thinking right now). Then portals.

Then other stuff.

;)

Also, this WILL fall back to a non-shader material if you can't handle it. But, of course, it'll be ugly. Really ugly.

BTW, all credit goes to my modelers for that map - I'm just the programmer :D. And... yeah, I'll give Sierra credit for the nice F.E.A.R. textures ;) Ogre, too, for a good example of a normal map.

EDIT: The visual part is a mess right now. The physics are a lot more tidied, and put in v01dEngine. Currently have and working on v01dEngine::Physics::Simulation, v01dEngine::Physics::Object, and v01dEngine::Physics::SimulationUpdater. Why "simulation updater"? So you can customize time. No more boring, linear time. One frame it's slowmo, the next it's fastmo :D

kitty500cat
05-20-2007, 04:25 PM
pardon my noobness, but...what's a portal?

cfitzarl
05-20-2007, 04:42 PM
Well, a portal can mean 2 things:

Forum Portal = Front Page
Portal = Weird thing you can walk through and be in some other location :grinthumb !

agi_shi
05-21-2007, 04:54 PM
... and here comes my parallax/normal per-pixel shader that is an all-in-one solution...

http://img489.imageshack.us/img489/5930/screenshot2kf3.png

http://img167.imageshack.us/img167/9633/screenshot1vn0.png

http://img503.imageshack.us/img503/1029/screenshot1sa0.png

And it looks even better in motion...

Credits go to the Ogre parallax shader writers, as my "all-in-one-solution" is based off of theirs. It's, just, you know, a lot more feature-ful (specular maps, now emissive maps, diffuse maps, normal maps, height maps, ambient light, etc.).

mopar man
05-21-2007, 11:19 PM
Looks Great! If only I had the time......(To download the demo, and to learn more c++)

agi_shi
05-22-2007, 06:26 AM
Looks Great! If only I had the time......(To download the demo, and to learn more c++)
We don't have a demo of anything new (that is, parallax mapping and what not) ;)... Either way, thanks!

Tom Mask
05-22-2007, 07:05 AM
My GOD! O_________O

you programmed THAT!?!??!
You, my friend, have earned my respects as a programmer!

That is some hardcore stuff! How long did it take you to program the base and what compiler (if any) do you use?

You've got the makings of greatness in you! can't wait to see your name on the next popular game ^_^

agi_shi
05-22-2007, 04:08 PM
My GOD! O_________O

you programmed THAT!?!??!
You, my friend, have earned my respects as a programmer!

That is some hardcore stuff! How long did it take you to program the base and what compiler (if any) do you use?

You've got the makings of greatness in you! can't wait to see your name on the next popular game ^_^
Wow wow wow my friend, don't get all jumpy ;)

I'm using an already mature 3D rendering engine called Ogre ;) - I'd ... die if I had to write a 3D engine myself - remember, Ogre is made from a pretty large community. And the level itself + the textures is by my modelers (one made it, the other converted it)...

I'm just the programmer that uses the 3D rendering engine and the models to make it into a full-blown game. Obviously you can't just say "here's some models, turn it into a cool game with portals and gravity and stuff" to the rendering engine =).

BTW, this is called "Portalized". Mess-with-your-mind style.

Tom Mask
05-22-2007, 06:24 PM
Sorry 9_9;

Being a C++ programmer isn't something easy to do. I'm very very impressed you've gotten so far with it :)
I know some C++, but not enough to actually render my own games. (guess they have gaming engines for that purpose huh?) Thats not what I'm into exactly.

I guess you get alot of praise for doing so well at your age huh? :D

agi_shi
05-22-2007, 07:07 PM
Sorry 9_9;

Being a C++ programmer isn't something easy to do. I'm very very impressed you've gotten so far with it :)
I know some C++, but not enough to actually render my own games. (guess they have gaming engines for that purpose huh?) Thats not what I'm into exactly.

Yeah, there are also game engines out there that we could use... but we're making our own game engine. Just using a community engine (Ogre) for graphics as it's quite mature and supports a crap-load of features.

I guess you get alot of praise for doing so well at your age huh? :D
No, not really. I'm just the average 14YO wanna-be "super-1337" programmer. My mom tells me to study more in school as "my grades are dropping" (wow, I went from a 98 to a 96, my grades REALLY dropped! ;)) and when I'm programming she tells me that it "doesn't matter" because "there's a lot of time to do so ahead of you and in college".

...

Yeah, not the best support.

Tom Mask
05-22-2007, 09:06 PM
hehe... as long as it's an A by the end of the quarter, she shouldn't really care ^^;

But still, thats pretty awesome that you're doing what you love, whether or not you're 14. You can never be too early to learn that kind of stuff :D

What other languages do you know? :) its nice to know there's someone actually younger then I am who loves what I do too! X3

agi_shi
05-22-2007, 09:45 PM
hehe... as long as it's an A by the end of the quarter, she shouldn't really care ^^;

But still, thats pretty awesome that you're doing what you love, whether or not you're 14. You can never be too early to learn that kind of stuff :D

What other languages do you know? :) its nice to know there's someone actually younger then I am who loves what I do too! X3

... does... C count :D

Nothing else, really. I can read/write Ogre .material scripts... And partial Lua.

agi_shi
05-29-2007, 02:53 PM
And... emissive mapping!!! (as well as ambient lighting, too, now)

http://img399.imageshack.us/img399/3443/screenshot1ik8.png

-normal/height } m
-emissive`````} a
-specular`````} p
-diffuse``` ```} s

w00t...

And for the linux/MacOS guys:

http://img267.imageshack.us/img267/8209/screenshot1qj4.png

w00t OpenGL!!!

And everything runs the same. Reason is because of the high-level CG shader language I'm using ;) (kudos to the creaters, NVidia I think they were)...

agi_shi
05-29-2007, 02:59 PM
You can see the stuff more clearly here:

http://img160.imageshack.us/img160/2870/screenshot1zl1.jpg

Notice how the emissive mapping "obeys" the parallax mapping?

Tom Mask
05-29-2007, 06:10 PM
you used a simple .jpg copy / paste over and over on the wall patterns right?

thats really cool :) what's does? like DOS program?

agi_shi
05-29-2007, 06:28 PM
you used a simple .jpg copy / paste over and over on the wall patterns right?

thats really cool :) what's does? like DOS program?
Does as in ... does. You know...

Like:

Does that taste good?

So basically I said "does C count?", but since I wanted some pauses in there, it turned out "... does ... C count?" :D

As for the textures, Peab (one of the modelers) made them. Like I said, 2 modelers, 2 programmers (me = lead programmer) - I'm just the programmer :D

Well, I DO do some graphics stuff. I had to edit the material for the whole scene to use my different shader and so on. But the actual texture and geometry itself is by my modeler.

agi_shi
06-05-2007, 05:55 PM
I completely re-wrote the parallax shader from the ground up according to this (http://www.cs.cmu.edu/afs/cs/academic/class/15462/web.06s/asst/project3/parallax_mapping.pdf) doc:

http://img511.imageshack.us/img511/5938/screenshot2ab0.png

http://img518.imageshack.us/img518/7043/screenshot1em0.png

http://img522.imageshack.us/img522/476/screenshot1lf1.png

http://img519.imageshack.us/img519/1358/screenshot1bf2.png

http://img519.imageshack.us/img519/7797/screenshot3pf0.png

Last thing I got to do for this shader is spotlight support.

akaivan
06-05-2007, 07:18 PM
great job man, keep it up and maybe you will be making the next battlefield 3 :D

Phantasm66
06-05-2007, 07:31 PM
Quake 7 here we come!

agi_shi
06-08-2007, 07:42 PM
Video 1 (http://www.jeepbarnett.com/narbaculardrop/community/Portalized/parallax_demo.avi)

Video 2 (http://www.jeepbarnett.com/narbaculardrop/community/Portalized/parallax_demo2.avi)

If you don't want to waste time, just watch Video 2 - Spotlights. If you got time to watch details and stuff, watch both of them, 1 first, 2 second.

(shows bumpy parallax, multi-lights with multi-passes, spotlight, tangent generation per-vertex)

agi_shi
06-09-2007, 03:18 PM
http://img508.imageshack.us/img508/4572/screenshot1ru0.jpg
http://img508.imageshack.us/img508/1562/screenshot2sd7.jpg

1st = bump map mode
2nd = 3x parallax mode

cfitzarl
06-09-2007, 07:25 PM
Graphics look amazing :grinthumb ! Good Luck....you need to to a mass Demo for all of us here to play :D !

agi_shi
06-09-2007, 07:47 PM
Thanks! BTW, the purple... "spot" you see is actually a blue spotlight. It simply combines with the red and makes that purple "spot". Technically, my shader supports infinite lights... although, the processing power it'd need for say... 100 lights ... is, well...

If anyone has a spare 8800ultra to donate for my ... *cough* uhm, developing needs...

:D :p :blush:

cfitzarl
06-09-2007, 09:10 PM
How far are you in the develpement? Is there a plot for the game :suspicou ? You should post it on SourceForge :D !

 Top Technology News

 Software Downloads

Copyright © 1998-2008 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.