My newest creation
Post Reply
Quote
Re: My newest creation
Posted by Forceflow on Fri May 6th at 10:12am 2005


You got the source of that terrain generator, Reno ?
I'm into C++ / OpenGL programming myself too, and I'm interested to take a look at the code, for learning sake.
[addsig]




Quote
Re: My newest creation
Posted by ReNo on Fri May 6th at 11:24am 2005


Sure, and feel free to give me a shout if you wanna ask about any of it I'm not much of a programmer, but I'm getting more into it at the moment.

http://www.snarkpit.net/pits/reno/random/terrain_source.zip

I also uploaded the source to the Direct3D game I posted previously, so if you are interested you can take a look at that too.

http://www.snarkpit.net/pits/reno/random/Source.zip [addsig]




Quote
Re: My newest creation
Posted by OtZman on Fri May 6th at 12:43pm 2005


Seems like I can't start terrain_gen.exe:

"This application has failed to start because glut32.dll was not found. Re-installing the application may fix this problem."
[addsig]




Quote
Re: My newest creation
Posted by ReNo on Fri May 6th at 12:52pm 2005


God, making programs is more hassle than its worth, you never know if its gonna work on other's PC's :S I wouldn't have expected it, but I guess that means you may need to have GLUT installed, which is an OpenGL library that aids in the creation of OpenGL programs. Not sure what to do about it just now - has anybody else tried it out, or could they to find out if it works?
[addsig]




Quote
Re: My newest creation
Posted by Orpheus on Fri May 6th at 12:57pm 2005


Of all the mapping concepts involved with HL, terrain gives me the most trouble. If you could (or anyone really) come up with a reliable mesh between this program and Hammer, I would be very grateful. I would even consider naming my next born cat or dog after you. smiley [addsig]



Quote
Re: My newest creation
Posted by Agent Smith on Fri May 6th at 2:43pm 2005


? quote:
Albeit small, it shows pretty creative thinking...infact, I haven't played a similar game. Those closest thing I can think of is Luigi's Mansion for GameCube.


There was a Japanese game that came out a year or two back that was vaguely similar, in which you played a girl with a camera and the only way to see and kill ghosts was with that camera. It was pretty boring though, I actually found VoD to be more fun.
[addsig]




Quote
Re: My newest creation
Posted by ReNo on Fri May 6th at 3:16pm 2005


Pfff, how dare you criticise Project Zero/Fatal Frame, even if you were complimenting me in the process But yeah, as Agent said, the game is far from original I pretty much ripped the concept right outta that game, because to put it bluntly, it is pure sex.

I uploaded the missing glut32.dll that was causing people trouble. Its only 65k, so will only take a few seconds to download if you are interested. Unzip it do your windows/system32 folder and hopefully the app should run.

http://www.snarkpit.net/pits/reno/random/glut32.zip
[addsig]




Quote
Re: My newest creation
Posted by Edge Damodred on Fri May 6th at 9:14pm 2005


Very nicely done on the terrain generator Reno, especially given the timeframe for it. Just a few questions. Are you planning to add any spatial partioning to it(Quad/Octree)? Also are there any LOD algorithms used while rendering? (I'd look through the source code but my computer that could handle this isn't working right now, using an old AMD K6 450 right now, with a vid card that hates both OGL and DX)

And yes working with GLUT is a pain in the ass if you don't have it installed. Once you know how to setup a basic window with OGL, make an app shell so you can avoid GLUT and get better performance out of it.

[addsig]




Quote
Re: My newest creation
Posted by ReNo on Fri May 6th at 10:36pm 2005


Thanks mate, and long time no see smiley I might work on this some more in time, but for the time being I've got other things on my plate to work on unfortunately. There is no partitioning involved, but it might be a nice thing to add. We've done theory work on Octrees and Quad trees but I've never implemented them before, so its something I really ought to try. No LOD'ing either I'm afraid.

I've got a framework OpenGL application that I wrote a while back that doesn't use GLUT, but it was a bit of a mess and I chose to start from an example program we were provided with instead (which happened to use GLUT). I may well strip out all of the GLUT functionality and tie my own window handling class into it, but again, other things to think about right now. I'll definately do that in the future though - I had no idea it would cause compatablity issues for end users.
[addsig]




Quote
Re: My newest creation
Posted by Edge Damodred on Sat May 7th at 1:24am 2005


If you're interested in exporting out the mesh for other editors to use, www.gamedev.net would be a good place to start looking. I remember somewhere on that site there was a link to another site that had a lot of documentation on file structures of many file formats. I've used the site to write custom texture loaders, .3ds, Q3BSP, MD2 and MD3 file importers. Ticked me off later when I found www.gametutorials.com and found tutorials on all the stuff I needed. They went much more indepth in showing me how to actually animate the files though.

Wow, my original message just got there, I wrote it almost 4 hours ago...

[addsig]




Quote
Re: My newest creation
Posted by Edge Damodred on Sat May 7th at 1:35am 2005


Well I got Lep's message a week or two ago reminding me about the address change and I'd thought I'd stop by.

I actually have an Octree class ready to go...it just needs some vertices:D. Right now it just loads in vertices stored from a raw data file. Also it still needs to split polygons that lie on more than one side of a partitioning plane.

I'm comptemplating mixing it with my bsp loader and foregoing the PVS system it uses now so I can use Radiant for terrain maps that have lightmaps generated for it. Also it will force me to back and clean up my collision code which is a train wreck right now, I can only make objects not climb walls if the wall surface is axis aligned. Even then I still get the occasional falling through the world bug happening.

[addsig]




Quote
Re: My newest creation
Posted by StickFigs on Mon May 16th at 10:02pm 2005


Can you make this terrain generator output an height map so we CAN use it for source?




Post Reply