Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
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: Java Fullscreen mode and various Graphics chip on: 2003-12-04 00:19:37
Thanks a lot guys, that helps.

/D
2  Java Game APIs & Engines / Java 3D / Re: Java3D in fullscreen mode on: 2003-12-03 19:37:33
Thanks for the response,

The current mixing of 3D and 2D (where Java3D gets to work in it's canvas surrounded by other AWT components) actually works quite well. No performance issues as to how fast Java3D renders.

I would be ok with keeping it like this if I could find a way to get it to display properly in a fullscreen window.
But when I try to create a fullscreen window and then add a Canvas3D to it, it doesn't render at all.

I therefore was looking at rendering into an offscreen buffer and display through an active rendering loop, this would also give us the benefit of being able to draw things on top of the 3D area.

There is not enough time or resources on this project to rewrite the entire application from scratch in full 3D, simulating any 2D components. Otherwise, I agree, that would have been the ideal choice.

Thanks for your views anyway, though.

Has anyone managed to get a decent framerate using the offscreen capabilities of a Canvas3D?

D
3  Java Game APIs & Engines / Xith3D Forums / Re: Xith3D Canvas3D in offScreen mode on: 2003-12-03 18:24:55
Does anyone know if this is possible??  :-/
4  Java Game APIs & Engines / Java 3D / Java3D in fullscreen mode on: 2003-12-03 18:23:26
Hey,

Is there anyone out there who has done work with Java3D in fullscreen exclusive mode?

I have an application which mixes 3D and 2D by displaying a Canvas3D among other AWT and Swing components. That all works fine, but I would like to move it to the fullscreen exclusive mode provided by Java 1.4.

I have tried creating the Canvas3D as an offScreen canvas and on each pass of the render loop (I'm using active rendering and would prefer to do so if possible) I call renderOffScreenBuffer() and waitForOffScreenRendering() and then I use getImage() to grab a BufferedImage which I then draw to my Graphics object from the Bufferstrategy. (phew, long sentence, but I hope you'll get my drift...)

It works, but much too slowly. I get no more than 3-4 FPS on a 2.6Ghz P4, which of course is not enough for any practical use.

Does anyone know of a better way to do this? Is there a faster way to get an image from an offscreen Canvas3D.

Any suggestions or ideas highly appreciated.
Thanks,
D
5  Java Game APIs & Engines / Java 2D / Java Fullscreen mode and various Graphics chipsets on: 2003-12-03 14:31:09
Has anyone experienced any problems with going into Fullscreen exclusive mode from Java 1.4 on any particular graphics chipsets.

Basically I would like to know if there are any chipsets that don't work with Java's fullscreen mode (and if so, which ones..)

It would be acceptable to only enter fullscreen, and not change the resolution, but we do want to enter fullscreen mode, and I don't want to avoid limiting the number of computers our program can run on as much as possible.

I'd appreciate any comments on this,
D
6  Java Game APIs & Engines / Xith3D Forums / Xith3D Canvas3D in offScreen mode on: 2003-12-02 22:25:18
Hi all,

I have just started looking at Xith3D to potentially replace Java3D in our application, which runs primarily in 2D (Java 1.4.2 Fullscreen exclusive mode with active rendering) and we need to have some parts display in 3D. Our current implementation uses the offScreen mode of the Canvas3D to render into a back buffer image which gets drawn to the screen in the main render loop.

I saw that there is a  Xith3D Canvas3D constructor which takes a boolean for offscreen mode, but I couldn't quite figure out at a quick glance if the feature is fully implemented.

So, my question is (to avoid porting all our code just to find out it won't work), can I have Xith3D render into an offscreen BufferedImage (or even better, a VolatileImage) for use in my 2D rendering loop?
And if yes, what are my chances that it will work faster than in Java3D (very slow, 2-5 FPS on a 2.6GHz P4)?

I'd appreciate any wisdom you guys could offer.
Thanks,
D
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

SHC (24 views)
2014-11-25 12:00:59

SHC (23 views)
2014-11-25 11:53:45

Norakomi (19 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

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

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

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

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

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

kovacsa (68 views)
2014-11-07 19:57:14
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!