Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java 2D / Re: Maximum FPS ? on: 2011-03-18 16:46:49
Ok
2  Java Game APIs & Engines / Java 2D / Re: Page flipping and screen tearing on: 2011-03-18 16:25:53
You're right:

1  
2  
3  
4  
5  
6  
createBufferStrategy(2);
strategy = getBufferStrategy();
final BufferCapabilities capabilities = strategy.getCapabilities();
System.out.println("PageFlipping:" + capabilities.isPageFlipping());
System.out.println("MultiBufferAvailable: " + capabilities.isMultiBufferAvailable());
System.out.println("FullScreenRequired:" + capabilities.isFullScreenRequired());

1  
2  
3  
PageFlipping:false
MultiBufferAvailable: false
FullScreenRequired:false


Toine
3  Java Game APIs & Engines / Java 2D / Re: Page flipping and screen tearing on: 2011-03-18 15:27:32
Hmm... The computer I used to test has a very poor graphic card and windows is using the standard driver to work with it...

I think the problem is coming from that.

Toine
4  Java Game APIs & Engines / Java 2D / Re: Page flipping and screen tearing on: 2011-03-18 15:07:14
hmmm

when I print out the DisplayMode.getRefreshRate(), it returned "1"... Normal ?  Huh
5  Java Game APIs & Engines / Java 2D / Re: Maximum FPS ? on: 2011-03-18 14:51:37
I post another thread about "screen tearing" in this forum... Maybe it is a consequence of what you said?

Toine
6  Java Game APIs & Engines / Java 2D / Page flipping and screen tearing on: 2011-03-18 14:50:45
Hello,

I'm experimenting some graphics settings and I'm currently playing with the frame rates.

My active rendering is based on page flipping offered by java 6.

What I noticed is when I set the frame rate to 25 FTS, it is ok (but not very smooth). When I set it to 50 FTS, I noted that -sometimes- screen tering effects occured.

I believed this kind of effect was not possible using page flipping?

Do you already experience that?  Huh

Regards,
Toine
7  Java Game APIs & Engines / Java 2D / Re: Maximum FPS ? on: 2011-03-18 12:21:42
Ok, so if for instance I locked the frame rate at 50 FPS, there is no problem with that?

Toine
8  Java Game APIs & Engines / Java 2D / Maximum FPS ? on: 2011-03-18 12:03:09
Hello,

I wonder what is the maximum FPS that a human can "see" ? I read, a long time ago, it was about 25 frames per second...

However, it seems that many games offer a FPS higher...

Question: is it "useful"? do it exists a maximum than a human can get?

Thanks!
Toine
9  Java Game APIs & Engines / Java 2D / Re: "Glossy" effect? on: 2011-03-18 10:50:33
Thanks for replies  Cheesy

Hexara seems to be a good game project, congratulations! Wink

About glossy effect, I wish something like:
http://www.istockphoto.com/stock-illustration-9594205-music-and-media-icons-with-glossy-effect.php

It's a bit like a piece of "plastic" and I would like to create this effect on any images.

Toine
10  Java Game APIs & Engines / Java 2D / Re: "Glossy" effect? on: 2011-03-17 11:04:05
Hello,

Thanks for reply, you can find example by typing "glossy effect" in Google Image.

@philfrei : have you a shreable code sample to illustrate what you did?

Regards,
Toine
11  Java Game APIs & Engines / Java 2D / "Glossy" effect? on: 2011-03-16 21:02:18
Hello,

Do you know a way to create a "glossy" effect in java?

Toine
12  Java Game APIs & Engines / Java 2D / Re: BufferStrategy vs. BufferedImage on: 2011-03-16 20:54:17
Hey  Smiley

Could you just tell me why canvas is better than panel?

Cheers,
Toine
13  Java Game APIs & Engines / Java 2D / Re: 2D-sprites and screen resolution on: 2011-03-16 17:07:43
I'm wondering is this kind ox processing (image scaling) to fit with another resolution might not be uggly in some case?

Like a pixelisation effect and performance loose...

Toine
14  Java Game APIs & Engines / Java 2D / Re: BufferStrategy vs. BufferedImage on: 2011-03-16 17:05:38
Hello,

It is my first message in this forum  Shocked

The fastest way to render properly an image is to:
- use a Panel (AWT)
- use a BufferStrategy (Page Flipping)
- use compatible images

Other things to take care?  Huh

Toine
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (88 views)
2013-05-17 21:29:12

alaslipknot (96 views)
2013-05-16 21:24:48

gouessej (128 views)
2013-05-16 00:53:38

gouessej (123 views)
2013-05-16 00:17:58

theagentd (131 views)
2013-05-15 15:01:13

theagentd (119 views)
2013-05-15 15:00:54

StreetDoggy (161 views)
2013-05-14 15:56:26

kutucuk (184 views)
2013-05-12 17:10:36

kutucuk (185 views)
2013-05-12 15:36:09

UnluckyDevil (191 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.088 seconds with 21 queries.