Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3]
  ignore  |  Print  
  Space  (Read 14797 times)
0 Members and 1 Guest are viewing this topic.
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #60 - Posted 2013-01-25 14:48:50 »

Thank you for the commentary. it is really helpful.
I kinda liked the effect, but you're right, its a little to much.
However your division gives back really bland colors, so it needs some tweaking (i will experiment with it).

Those papers you gave me are really heavy, i looked into them and i understand a bit, so i will think about that.
At the moment i dont know how to continue, because i want to be able to zoom into those planets.
Using this method with an extremely large terrain, would stuff the whole video memory with textures in seconds, so i dont think this would be smart (generating takes a lot of time, so creating / deleting an texture for evrey chunk would be to slow im afraid).

As overall planet i could still use an texture but when i zoomed in a little, the texture would become much to large if i want to keep it detailed.
Like my experiments above im trying to edit the meshes itself, so i could render the whole stuff without depthmap texture.
This way i can break up evrey mesh if i need more detail, when i zoom in m ore and more.
However im afraid i cant achive the details i have now using texture splatting.
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #61 - Posted 2013-01-27 15:18:36 »

Another update.
I have gotten rid of textures and the planet is now rendered using vertex attributes.
Looks kinda cool i guess (some kind of astroid);



Now im going to texture the planet according to the attributes, and create islands again.
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #62 - Posted 2013-02-04 12:07:39 »

After some testing i figured out my old rendering method was much nicer.
The height difference will come later (when landing on the planet).

Planet with some shaders active (terrain, atmosphere and atmospheric glow).


JGO keeps resizing my pic, full scale is nicer: http://i47.tinypic.com/294hqb9.jpg
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #63 - Posted 2013-02-05 18:26:02 »

Looking very nice!

*hoping for a Star Control 2 clone with these graphics* Cheesy

- Jonas
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #64 - Posted 2013-02-05 19:44:45 »

Looking very nice!

*hoping for a Star Control 2 clone with these graphics* Cheesy

Awsome, thats the game i remembered (i inspired my first idea on that game).
Never finished it, i got bored of it fast (some aliens kept nagging me).
I think im going to focus on exploration (full 3d), with everything random generated.
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #65 - Posted 2013-02-05 19:47:51 »

It was awesome! I drew maps and everything. So many notes! I harvested the universe Cheesy

- Jonas
Offline Varkas
« Reply #66 - Posted 2013-02-05 22:18:54 »

Planet with some shaders active (terrain, atmosphere and atmospheric glow).

The planet is very nice. If you want to be realistic, the atmosphere is much thinner, though. Earth diameter ~12000km, breathable atmosphere < 10 vertical km, atmosphere top around 100 vertical km => less than 1% of planet diameter.

Just above us is space. And just below the crust is lava. persecutioncomplex


if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #67 - Posted 2013-02-07 19:21:23 »

Thank you, i did not notice, but you're right.
I have updated the images, and also made the atmospheric glow a little more dynamic.

Also one image with wireframe (looks cool).

http://i46.tinypic.com/i57x42.jpg
Offline JohnyCilohokla

Senior Newbie


Exp: 2 years



« Reply #68 - Posted 2013-02-08 10:13:05 »

Nice work with shaders.

But the FPS Meter is a bit weird... it shows the average of the total and something else?

Anyway, if you want to you can use a simple FPSMeter that I have wrote for my games.
It returns frames in last 1000ms (just like Fraps fps meter).
Usage:
FPSMeter fpsMeter = new FPSMeter();
fpsMeter.getFrames(); // returns fps (you need to call it, at least from time to time so the the fps list doesn't get too big)
fpsMeter.frame(); // call it at the end of frame
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
import java.util.LinkedList;

public class FPSMeter {

   LinkedList<Long> fps = new LinkedList<Long>();

   public void frame() {
      fps.add(System.currentTimeMillis());
   }

   public int getFrames() {
      while (fps.peek() <= (System.currentTimeMillis() - 999)) {
         fps.poll();
      }
      return fps.size();
   }
}
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #69 - Posted 2013-02-08 11:30:29 »

Nice work with shaders.

But the FPS Meter is a bit weird... it shows the average of the total and something else?

Anyway, if you want to you can use a simple FPSMeter that I have wrote for my games.
It returns frames in last 1000ms (just like Fraps fps meter).
Usage:
FPSMeter fpsMeter = new FPSMeter();
fpsMeter.getFrames(); // returns fps (you need to call it, at least from time to time so the the fps list doesn't get too big)
fpsMeter.frame(); // call it at the end of frame

Do'nt mind the counters Smiley.
It simply tells how much ms it takes to update and render an planet.
At the right it shows how much fps that would be (the planets only consists of a few vertrices so its really fast atm, therefore it shows >1000 fps).
The other one is memory usage and zoom level.

This is just an simulator for me, to test the generation and mechanics of planets.
The game is going to use a whole different loop and display.

Current look of the tool:
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #70 - Posted 2013-02-08 15:36:44 »

This is beautiful! I was just about to write about the atmosphere thing, but you've fixed it beautifully!

- Jonas
Offline Varkas
« Reply #71 - Posted 2013-02-15 13:01:09 »

Very nice indeed. A small idea: make the land less specular than the water, that uses to look better.

if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #72 - Posted 2013-02-15 14:19:43 »

Very nice indeed. A small idea: make the land less specular than the water, that uses to look better.


Thank you, but i already implemented this, guess i need to tweak some values.
Its hard to get it right, because everything looks cool, and im not sure whats better.
New version (more glow, and 8x more intense)




Offline Varkas
« Reply #73 - Posted 2013-02-15 14:38:37 »

Few people are used to see planets from space, so whatever looks cool and believable will be good Smiley

if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #74 - Posted 2013-02-26 12:18:51 »

Created an sun (animated) + using Godrays

(Still need to learn a lot about recording).
<a href="http://www.youtube.com/v/RtkNm9STtK4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/RtkNm9STtK4?version=3&amp;hl=en_US&amp;start=</a>

Image for full quality:


As you can see, its really fast, it almost looks like the fbo speeds up stuff.
Offline Sammidysam
« Reply #75 - Posted 2013-02-27 23:16:54 »

Whoa!  That's amazing!  I'm amazed that it's 3D too.  Nice job!
Offline sunburn

Senior Newbie


Projects: 1



« Reply #76 - Posted 2013-03-03 09:53:47 »


It really seems great !

Unfortunetaly I have a black screen and an IllegalState exception :

java.lang.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.ARBShaderObjects.glDeleteObjectARB(ARBShaderObjects.
java:67)
        at g.b.a.a(Unknown Source)
        at g.b.a.<init>(Unknown Source)
        at j.f.<init>(Unknown Source)
        at j.g.<init>(Unknown Source)
        at Game.a.<init>(Unknown Source)
        at Game.e.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.ARBShaderObjects.glDeleteObjectARB(ARBShaderObjects.
java:67)
        at g.b.a.a(Unknown Source)
        at g.b.a.<init>(Unknown Source)
        at j.f.<init>(Unknown Source)
        at j.g.<init>(Unknown Source)
        at Game.a.<init>(Unknown Source)
        at Game.e.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.ARBShaderObjects.glDeleteObjectARB(ARBShaderObjects.
java:67)
        at g.b.a.a(Unknown Source)
        at g.b.a.<init>(Unknown Source)
        at j.e.<init>(Unknown Source)
        at j.g.<init>(Unknown Source)
        at Game.a.<init>(Unknown Source)
        at Game.e.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.ARBShaderObjects.glDeleteObjectARB(ARBShaderObjects.
java:67)
        at g.b.a.a(Unknown Source)
        at g.b.a.<init>(Unknown Source)
        at j.e.<init>(Unknown Source)
        at j.g.<init>(Unknown Source)
        at Game.a.<init>(Unknown Source)
        at Game.e.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-4" java.lang.IllegalStateException: Function is not
supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.ARBBufferObject.glBindBufferARB(ARBBufferObject.java
:43)
        at g.c.a.a(Unknown Source)
        at j.a.a.c(Unknown Source)
        at j.g.d(Unknown Source)
        at Game.a.b(Unknown Source)
        at Game.e.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Offline RobinB

JGO Ninja


Medals: 44
Projects: 1
Exp: 3 years


Spacegame in progress


« Reply #77 - Posted 2013-03-05 19:28:12 »

Hello,

Thank you for trying, however the game is kinda dead atm.
Im posting my progress for new ideas and to show schreenshots for comments.
Maybe i continue the game later with the progress i have made on the planets.

It seems like your computer does not support shaders or something, mind posting your graphics card?
I will solve this problem if the game makes it to another version.
Pages: 1 2 [3]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (27 views)
2014-11-22 12:13:56

xFryIx (69 views)
2014-11-13 12:34:49

digdugdiggy (48 views)
2014-11-12 21:11:50

digdugdiggy (42 views)
2014-11-12 21:10:15

digdugdiggy (36 views)
2014-11-12 21:09:33

kovacsa (60 views)
2014-11-07 19:57:14

TehJavaDev (64 views)
2014-11-03 22:04:50

BurntPizza (62 views)
2014-11-03 18:54:52

moogie (77 views)
2014-11-03 06:22:04

CopyableCougar4 (77 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!