Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Dark Chaos: Game Development

Author
Message
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 07:42 Edited at: 10th Dec 2008 19:58
I have been under going development of a game development program and I am finally posting some details.

Demo: Dark Chaos: Performance Demo - Water, HDR, Fog
This demo shows a few shaders I am using for Dark Chaos.

GUI: Temporary version. Will be updated very soon.
- Sliding Panel
- Buttons
- Sliders
- Event Driven

Controls:
- Move around mouse to look
- Press M to LockUnlock looking
- Adjust the values on the sliding panel

Credits:
Mod: Advanced Sprites - GUI
Evolve: Real-Time Water Shader, HDR Shader
Green Gandalf: Fog Shader

Copyright: MyFreeCopyright.com Registered & Protected

Copyright Details Dark Chaos 0.1
Copyright Details Dark Chaos 0.2
Copyright Details Dark Chaos 0.3
Copyright Details Dark Chaos 0.4
Copyright Details Game Project Demo

The FPS of this version is capped of at 60 fps.

This is one of my many demos I will release to the public. This is my first complete demo. I will release more soon!

Stick around this thread if you want to see more videos or demos!

WIP Thread

Comments? Questions? Criticism? Let me know!

Current questions:
- What would you like to see for a game development program?
- Is there any alternatives to using Skyboxes or SkySpheres that would work with reflective water?
- @Van B: Could you help me learn how TerSculpt works?

Here is the new link to the download: Takes about a minute secs to wait for download link.
Download Dark Chaos All Demos

Most current demo is attached to this post for download.

Dark Fire

My future self met up with one day to teach me what I know today.
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 07:48 Edited at: 11th Oct 2008 05:47
Here is a screenshot:


Dark Fire
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 08:01 Edited at: 10th Oct 2008 17:26
What is your FPS and Specs?
Post your fps and graphics card specs. I have other alternatives for Water, HDR, and Fog. I just need to figure out who can run this and on which card. I just want the fps just after the demo started.

The FPS is slower on vista. List your operating system!

My Specs:
FPS: 121
Graphics Card: XFX 9800 GT Black Edition
OS: Vista Ult.

Attached is the demo that doesn't have an FPS cap on it. (Sync Rate 0)

Dark Fire
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 10th Oct 2008 09:15 Edited at: 10th Oct 2008 09:29
Missing Dependency Errors


I got these errors immediately.

I found and downloaded the DLL files from a free DLL site.

Benchmark
66 FPS - 8800GT Stock Settings.
Edit: 176 FPS - 8800GT (Second Demo)

Odd Graphic Effect

A square plane appears within the water reflection effect and appears to rotate with the Camera on the X axis.


Fog Effect

Fog looks completely amazing. Wow.

Fog Opacity seems to be incompatible with Sky Box shader. (seen above)
Edit: I wasn't able to reproduce this issue in the second Demo.

Another issue is that both the FOG object and Sky Box look horrible when looking far up or far down. The sky distorts badly as the camera rotates upward, and the fog rotates very rapidly/unrealistically when looking way up into the sky and while turning the camera.


Despite the minor issues, the effects look really good. Especially the fog, when viewed from a normal angle. Very nice.

Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 09:28 Edited at: 11th Oct 2008 06:28
@Mage - I have almost no control over most of the shader related stuff. The direction and speed can be changed with the fog though.

The skybox does looks really bad. lol. It is just temporary. I don't like it either. This was just copied from another example. The skybox "cube" rotates when you move. This was the code that I just copied from another example so it will all change.

The fog was made by Green Gandalf.

I don't understand what you mean about the fog rotating to fast or something like that. Do you mean moving? You can change the speed. I just need to add that to the demo.

Finding a better skybox concept is just another thing on my list of things to do.

Also, for the "odd graphic effect" you mean the skybox is screwing up the reflection right?

The dll error is interesting. I had that error when I moved to vista. It is fixed when you reinstall everything for DB Pro. Sometimes that file just gets deleted when you mess with DB Pro files a lot.

Do you have vista or XP? This will help me determine if this error will repeat with other people.

What I am working on now:
- Better GUI
- Adding Bloom, Motion Blur, Quake, Color Screen
- Skybox Concept
- Rain
- Now...Fixing fog

One thing I just love the HDR. It makes everything look cooler.

Intended Updates:
I intend on using Bloom, HDR, and Color Screen Blue when underwater.

As development moves along I will release more details on my project. Their is a ton on shaders, effects, and programs that will be added.

Thats for the criticism. It will help me make it better! Also, thanks for all the work you did to point out what needs to be fixed. Much appreciated!

Dark Fire
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 10th Oct 2008 09:40 Edited at: 10th Oct 2008 09:42
I was still editing my message, I added a few revisions after discovering the uncapped demo.

Quote: "The skybox does looks really bad. lol. It is just temporary. I don't like it either. This was just copied from another example."

I was going to mention that I knew it was copied from evolved demos, just as a temporary solution, but decided not to bother mentioning it.
We're on the same page there.

Quote: "Do you have vista or XP? This will help me determine if this error will repeat with other people."
Windows XP SP2

Quote: "Also, for the "odd graphic effect" you mean the skybox is screwing up the reflection right?"

I don't know what it is, I just wanted to make you aware of it, to be helpful.

Quote: "One thing I just love the HDR. It makes everything look cooler."
Yeah i use it too. Only thing is the blur effect, I can't seem to get it to align well to objects in screen. Objects to the far sides of the screen always seem to have the blur stretched too far to the sides of the screen.

Quote: "Thats for the criticism. It will help me make it better! "
Good definitely out weighs the bad in the demo, by far.

Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 09:50 Edited at: 15th Oct 2008 02:33
@Mage - What do you mean with the Fog exactly? Is it just moving to fast? That can be adjusted. Just need to add it to the demo.

Also, I can't see what you mean with the 'odd graphic effect' it looks fine. I trust evolve to make a great shader. I will check if he added any updates though.

Quote: "Yeah i use it too. Only thing is the blur effect, I can't seem to get it to align well to objects in screen. Objects to the far sides of the screen always seem to have the blur stretched too far to the sides of the screen."


Yeah, I tried to recreate it my-self. I just gave up realizing it takes to much 'fine tuning' of code that you basically had to keep the code as is. I ended up making functions that use a ton of globals. I know that globals are bad..but I will get rid of globals later.

Note: The skybox isn't a shader!

Thanks for the feedback.

Dark Fire
PowerSoft
21
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 10th Oct 2008 14:08
Looks good but could this go into WiP instead?

Regards,

Software and Web Application Design.
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 17:28
@PowerSoft - It could. I am using this mainly for getting feedback about the demo's preformance. I will make a thead to post the finished demos later.

Dark Fire
PowerSoft
21
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 10th Oct 2008 17:44
No its not a problem, and I don't want mods to think I'm trying to do their job for them either. Just the quality of what you showed makes it look a but better than some of the "Hello World" applications we see on WiP.

Software and Web Application Design.
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 10th Oct 2008 19:48
Quote: "Also, I can't see what you mean with the 'odd graphic effect' it looks fine. I trust evolve to make a great shader. I will check if he added any updates though."


That white square that appears in the reflection. I think you suggested that it was from the skybox. It's in the picture above.

Quote: "@Mage - What do you mean with the Fog exactly? Is it just moving to fast? That can be adjusted. Just need to add it to the demo."


Make the scene partly cloudy like in my screenshots, look straight up and turn the camera left and right.

KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 10th Oct 2008 20:56
I've always had better luck with a skysphere rather than a box.

Just a thought.

Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Oct 2008 21:43 Edited at: 11th Oct 2008 05:55
@KISTech - Even a sky sphere looks bad. There must be an alternative to this.

Checkout the new thread! (Link at top of thread)

Picture attached of new update 0.2.

Dark Fire
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 11th Oct 2008 08:03
Is there an alternative to using SkyBoxes or SkySpheres that will work with water that has reflections?

Thanks for your feedback.

Dark Fire
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 11th Oct 2008 10:32 Edited at: 11th Oct 2008 10:33
Quote: "I've always had better luck with a skysphere rather than a box."

I use a skysphere, a shader I found somewhere, and 6144x1024 Textures.
The texture takes 24mb of ram, but really helps the scene.

I still don't know if the severe distortion (when looking far up and down) is because of the box, or the shader/effect, or just simply the texture being used.

Also that odd glitch "the big white square" in the water reflection, seems to be present in other peoples screen shots too.

Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 11th Oct 2008 20:44 Edited at: 11th Oct 2008 21:25
Quote: "Also that odd glitch "the big white square" in the water reflection, seems to be present in other peoples screen shots too."


@Mage - If you are referring to the small box I created and added it to the water then it is not a glitch. It is just to show how HDR creates a "blur width" around an object. I just keep the cube to show that. I will apply an effect to the object it later.

Note: These demo's are a work in progress. There will be somethings in it that are not complete.

Refer to the: WIP Thread

@Van B: Could you help me learn how TerSculpt works? I am working on creating something close to it I am just having trouble learning how you did a couple of things.

Thanks for your input.

Dark Fire
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 11th Oct 2008 22:05 Edited at: 11th Oct 2008 22:09
Quote: "@Mage - If you are referring to the small box I created and added it to the water then it is not a glitch."


I am referring to the screenshot above that I posted with Red Text. A square appears in the water reflection that rotates along it's X Axis along with the camera's X axis rotation. I am not talking about the black menu.

If it's there on purpose no biggie. I'm just reporting the issue to be helpful. It looks like (as someone previously mentioned) it might be from the skybox.

Your water shader does multiple camera passes each frame, and the skybox effect might not be happening on each of them. I had the similar trouble when I was using Evolved's water. The reflection would reflect a sky with clear corners. Clearly you aren't having nearly that much trouble, as the effect is near perfect.

Keep up the good work, combining HDR and Water shaders must have been hell.

Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 11th Oct 2008 23:15
@Mage - The box I am refering to is the 3D cube..should have made that clear. I kinda know what you are talking about now with the picture you posted with red text. It has to do with the "blue" reflection almost is shaped as a box. (Reflected from the skybox)

Quote: "Keep up the good work, combining HDR and Water shaders must have been hell"


It was bloom that was hell, HDR wasn't that bad. Note: I did just use the function....bloom I needed to create a function.

There must be something you can do besides using a skybox or sky sphere...the problem is that the backdrop is reflected.

Thanks you were a big help!

Dark Fire
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 15th Oct 2008 02:38 Edited at: 15th Oct 2008 02:40
@Mage - Check out my new version and tell me if you think the sky sphere worked out any better then the skybox.

Dark Chaos 0.4

Have any: Questions? Comments? Criticism?

Dark Fire
sindore
21
Years of Service
User Offline
Joined: 2nd Jul 2004
Location: Bedfordshire, UK
Posted: 15th Oct 2008 04:25
I love this shader it looks so good, if I had the money I buy the right to use this in my games, but I`m pore lol.

I`m so glad that this is working well from you, and hope that you can take it even as far as you can.

soul sucking devils, twisted body of the damed, slivering slim drips from every poor, sin licking at your ears, and the smell stinging your eyes, and if you don't like it, get out of my kitchen!
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 15th Oct 2008 04:32
@sindore - You don't have to pay for the right to use them. Just search the forums.

Quote: "Credits:
Evolve: Real-Time Water Shader, HDR Shader
Green Gandalf: Fog Shader"


Evolve made the water and the HDR shader. The HDR shader can be found in the 2006 - Free Shaders Pack. Which can be found here.

The real-time water shader by evolve has to be searched for. I found that somewhere. I don't remember where.

Green Gandalf has a thread showing off the fog shader. (Used for clouds) Can be found here.

Let me know if you have any more questions.

Thanks,

Dark Fire
Rampage
18
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 15th Oct 2008 07:26
Looks wicked.

[url=][/url][href]http://www.rampagemod.webs.com[\href]
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 16th Oct 2008 02:00 Edited at: 16th Oct 2008 02:02
I am having problems with evolves water (2.0) in the 2006 shader pack downloaded from the Ultimate Shader Thread. It seems not to refresh for some reason.

Thanks,

Dark Fire
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 19th Nov 2008 18:12
I have been trying to figure out how to position triangles to make up an object.

I go though the vertexdata like so:



When I group vertexs in three's it doesn't seem to work. I don't end up getting the same shape.

I started with a cube to make is simple and couldn't get it to work out correctly.

I don't know if it has to do with the order I am reading the verexes or what. It seems that the order has something to do with it.

Thanks,

Dark Fire

My future self met up with one day to teach me what I know today.
Mugen Wizardry
User Banned
Posted: 19th Nov 2008 18:27
Dark Fire, PLEASE release this source. or at least the water & clouds code.

~M.W~
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 26th Nov 2008 03:00
@Mugen Wizardry - No can do. The source will be released along with my game development product.

Dark Fire

My future self met up with one day to teach me what I know today.
Dark Fire
17
Years of Service
User Offline
Joined: 23rd Jun 2008
Location: In the code you write
Posted: 10th Dec 2008 19:56 Edited at: 12th Dec 2008 03:38
Another Demo: Game Project

Screenshots:



Controls:
- Mouse Moves the Camera
- WASD Keys for movement
- Left Click: Fires Gun
- Right Click: Scope

Download

The scope + graphics are temp. I plan on changing them.

Comments? Questions? Criticism? Let me know!

Dark Fire

My future self met up with one day to teach me what I know today.
jason p sage
19
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 12th Dec 2008 10:56
Quote: "Dark Fire, PLEASE release this source. or at least the water & clouds code."
followed by...

Quote: "No can do. The source will be released along with my game development product.
"


gave me a good laugh...

--Jason (Thanx)

Login to post a reply

Server time is: 2026-06-11 11:38:15
Your offset time is: 2026-06-11 11:38:15