Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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.

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?

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

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.
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,
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.
Pages: [1]
ivj94 (583 views)
2018-03-24 14:47:39

ivj94 (48 views)
2018-03-24 14:46:31

ivj94 (374 views)
2018-03-24 14:43:53

Solater (62 views)
2018-03-17 05:04:08

nelsongames (109 views)
2018-03-05 17:56:34

Gornova (151 views)
2018-03-02 22:15:33

buddyBro (693 views)
2018-02-28 16:59:18

buddyBro (92 views)
2018-02-28 16:45:17

xxMrPHDxx (493 views)
2017-12-31 17:17:51

xxMrPHDxx (733 views)
2017-12-31 17:15:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!