Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (715)
Games in Android Showcase (214)
games submitted by our members
Games in WIP (788)
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 / Xith3D Forums / Re: Lights and ASE importing on: 2005-07-13 11:22:14
If it loads textures it also loads materials of some sort - if you want to change them its finetuning of some sort and you can do it later, because I don't think it'll changes the current behavior. If I were you I'd try to add a new directional light to your root node. Set any direction for the light and you should see a difference!

Had a similar problem once, and the only thing to do was to add materials my self. I am of cause not sure if it has changed since.

You're not the first to ask.  Material's are a 3dsmax only thing I am afraid.  Xith3D uses OpenGL which supports textures and shaders, so you will have to make do with them.
2  Java Game APIs & Engines / Xith3D Forums / Re: Lights and ASE importing on: 2005-07-13 10:06:25
Is the ASE exporter exporting lights ? I'm not sure.

I don't think so.
I think the problem is, that xith doesn't load materials from ASE, so in xith you'll need to add materials to your ase objects, and then place lightsources.
3  Java Game APIs & Engines / Xith3D Forums / Re: Capture to jpg on: 2005-06-09 19:55:24

For anyone interested, a small part of the report concerning the program
4  Java Game APIs & Engines / Xith3D Forums / Re: .OBJ Animation on: 2005-06-09 14:14:38

Look at the ase transformgroup and asetest code... It's a pretty simple example, but it explains the basic of transformgroups
5  Java Game APIs & Engines / Xith3D Forums / Re: Capture to jpg on: 2005-06-08 13:35:49
Hi. 11 is a great score. It’s equal to an A :-) Still can't believe it.

The source code is a mess because I only had two months to create it program, but I’ll upload the part of the report that describes the program in a day or so.

A summery: A webcam gets an image and detects red colour (the user of the program will wear a red light). This is mapped to a grid and this grid is used to control the view. If the views position matches a given variable (vector), the render is stopped and a new frame is created in which an mpeg2 movie is played. The motion detection is then used to move forward and backwards in the movie and when the movie ends, the frame is closed and the render is started again. It’s supposed to be an interactive movie. There were some bugs in the end because caused by JMF. For some reason it has problems moving in a movie precisely enough for my needs. Something about the setMediaTime() doesn’t really move to the precise timeframe. 
6  Java Game APIs & Engines / Xith3D Forums / Re: Capture to jpg on: 2005-06-07 18:55:23
Thanks for the quick reply. You are the greatest!

Btw. I got an 11. for a project involving xith3d and jmf (3d, video and motion detection). I owe much of this to you people who made xith so intuitive!
7  Java Game APIs & Engines / Xith3D Forums / Capture to jpg on: 2005-06-06 20:56:48
Hi. I need to add a function where the user can press a key and take a screen dump, saved as an image (e.g. jpg). Is this possible and how?
8  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-16 15:14:31

An interesting point was raised about very high framerates in the lwjgl forums.  When your frame rate is that fast, any extra calculation is likely to drastically cut your frame rate.  Perhaps a less squewed measure is the amount of nanoseconds the new feature adds to the rendering frame.


Ok, and as it states all should be fine until the framerate drops below 60. Great.
9  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-15 07:32:06
There is an error with either xith3d or the new x600 mobility graphics card.  

I tried the "game" on a friend's computer, and it doesn't show fog?!?  He has a Ati x600 mobility SSE2 graphics card with 128mb ram! When he runs some of the new games (which runs FAST! in comparison to my mobility 9000) there is fog. Is there a problem with xith?

- edit -
Isn't there an error in the Javadoc under Options?

It says: "Whether or not OpenGL's second exponential fog algorithm (GL_EXP2) should be used instead of GL_EXP2 in the rendering of exponential fog."
- edit -
10  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-12 21:25:22
Hi. I have added a fps counter and I was very surprised by the result.

When I just run the level (without sky, fog or light), I get approximately 180fps.
By adding the sky to the scene I get 160fps
Adding fog gives me 130fps
Adding ambient light gives me: 120fps
Adding directorial light gives me 90 fps!

Can it really be true that fog and directorial light takes so many resources or am I doing something wrong? If not, is there anything I can do to increase the performance?
11  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-12 10:48:01
Eh? OpenGL supports materials, or are ASE Materials very different things?

I was also wondering about that. Also, if there is no support for ase materials, what does the AseMaterial class do?

I have changed the zip to include all libraries and dll's needed. Could someone test if it works?
12  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-11 19:10:23
I have updated the code to include simple material and lightning support. This is taken from one of the examples in the xith package, and works ok. I would however like to use the material information included in the ase file. Is it possible to do this, and how? I can't seem to find an example on this. The only thing I can find is the AseMaterial() method, but I'm a little unclear on how to implement it?
13  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-11 07:53:13
The file has now been changed to zip, and I have added a small readme and also included vecmath.jar

When it crashes, the entire computer freezes up and I am not able to do anything (not even ctrl+alt+del). Then after a while, I get an error that something has happened to the graphics driver, and the screen switches to 640x480, 16 colours, and then the computer reboots Smiley I can't see a errormessage because of this, and I can't seem to pipe it out?
14  Java Game APIs & Engines / Xith3D Forums / Re: Game development on: 2005-03-10 07:03:18
Win2k/MatroxG400 (OGL 1.1.3 aug 31 2004)/Celeron500Mhz/256MB RAM

As you can see, my machine is from the stone aged. Still, your both demos launched so thats a good thing. Most 3d demos dont want to run my machine anymore.

It's nice that it runs on you computer. I have still only tested it on the Mobility 9000 graphics card which really stinks Smiley The demo of cause do not demaind anything specific right now, so this could also be the reason it works on your computer Smiley

Few issues:
1) readme.txt
attach always a short readme.txt file describing the demo/app and xith3d, jogl and/or lwjgl versions you have used. There are so many versions avail and sometimes app just want to have that one specific version to work properly.

Your right. I'll add a readme text explaning the use and version numbers

2) launch.bat
This is a launch bat example I used. I dont have a global envvars for jogl and xith folders. I always create a this batch to launch applications. I sort of create a "java system32" path on the fly.

I'll try to look at this, but I'm not sure it will be just yet. I'll need to reinstall my system first to be sure where to put the different files so they work, because as I have installed xith3d (jogl ect.) they are copied to so many directories that it will be impossible for me to know if it will work.

3) demos
Well, slow very slow. But dont worry, its only my machine. Demo did not have a fps counter so cannot exactly say how slow a frame renderer run.

I hope that others will try to run it and give me some feedback. It's nice that it didn't crash on your computer, but I still think there is something wrong with the rendering method.
Shouldn't you test to see that the render is finished before rendering the next frame?

4) unzipping
Had problems with .jar file. I use Powerarchiver and it did not work. I managed to unzip it with 7-Zip File Manager.

I packed the files with winrar, so I don't understand the rars don't work perfectly, but maybe I should use zip's instead?
15  Java Game APIs & Engines / Xith3D Forums / Game development on: 2005-03-09 21:12:03
Hi. I'm starting to learn how to use xith3d, and my own experience is that there are very few examples for newbie's like me on how to create 3d games.
My intention is to post my own code as it develops. I hope this is ok. This way I and others can also get some feedback on what to do / not to do.

The code as it is now uses the ASE loader to load the world. I have added a very simple keyboard control that changes the view.
One of the current problems with the "game" is that it will crash on a slow computer. I think this might have something to do with the handling of threads, but I am working on this now.

I successfully loaded a level with 200000+ polygons on a p4 2.4 GHz with an ATI Radeon Mobility 9000 graphics card with 64mb memory. I think this is quite nice but I removed some of the demanding objects for this example because it will totally crash a computer if it is not fast enough to run the code.
If it should crash, try changing the sleep thread in the while loop to e.g. 40.

If you have any comments they are of cause very welcome  Smiley


- 03-10-2005
Added simple material and light

Added Fog
16  Java Game APIs & Engines / Xith3D Forums / Re: Feel like a fool - Install trouble on: 2005-03-09 16:08:45
I can not reinstall right now. We are working pretty hard on our exam project, and I do not want to risk that xith won't work because of the install trouble.

It works for development right now because I have copied the files to almost every directory I could think of :-)

I appreciate you folks are willing to help and I hope that you still will when I get a chance to reinstall the system.
17  Java Game APIs & Engines / Xith3D Forums / Re: Feel like a fool - Install trouble on: 2005-03-07 08:40:54
Hi. As it is now, I have copied the xith files to a lot of different directories in order to get it to work.

I will reinstall my system tomorrow and try to copy the files to the directories that Prop explains. Then I'll write you with the errors I get.
18  Java Game APIs & Engines / Xith3D Forums / Re: Feel like a fool - Install trouble on: 2005-03-02 12:13:34

Prop.class shows this:

Native Library path(s): C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:\
WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\ant\bin;C:\Program Files
\Common Files\Autodesk Shared\;C:\Program Files\backburner 2\
Java Library path(s): C:\Program Files\Java\jre1.5.0_01\lib\ext

This works, however not if I download the demos and run them outside the xith library. Also I can't get the quake demo to work. It returns this error:

OpenGL Extensions = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture Method "glActiveTextureARB" not available
       at com.xith3d.render.jogl.TextureShaderPeer.shade(
       at com.xith3d.render.CanvasPeerBase.setState(
       at com.xith3d.render.CanvasPeerBase.render(
       at com.xith3d.render.jogl.CanvasPeerImpl.drawBin(
       at com.xith3d.render.jogl.CanvasPeerImpl.display(
       at com.xith3d.render.jogl.CanvasPeerImpl.render(

       at com.xith3d.scenegraph.View.renderOnce(
       at com.xith3d.scenegraph.View.renderOnce(
       at com.xithtk.loaders.quake3.Quake3Renderer.runRenderer(Quake3Renderer.j
       at com.xithtk.loaders.quake3.Quake3Renderer.init(
       at com.xithtk.loaders.quake3.Quake3Renderer.main(

Also it says it runs on opengl version 1.1 where the demos that comes with xith runs with version 1.3.4830 WinXP Release

I don't know if this explains it. If not, just ask, and I will try to explain it in further details. I'll do almost anything to get this to work :-)
19  Java Game APIs & Engines / Xith3D Forums / Re: Feel like a fool - Install trouble on: 2005-02-28 20:07:06
I know this is a trivial question, but can't anyone help me?
20  Java Game APIs & Engines / Xith3D Forums / Feel like a fool - Install trouble on: 2005-02-17 19:36:43
Hi. I feel like a fool, but I simply can't install xith correct. The demos work, but I e.g. can't run anything without pointing directly to the jars.

I have followed the install guide, but I find it rather confusing because e.g. my native and library paths don't seem to be the same as the guide specifies.

Does anyone want to guide me through an install on XP with Java JDK 1.5? Just describe where to copy the different files add something to system variables (if needed) and so on.
It would also be nice with a specific command line on how to compile and run the code with the above install. Just to get anything right this time.

-- Java is placed here:
C:\Program Files\Java\jdk1.5.0_01
C:\Program Files\Java\jre1.5.0_01
21  Java Game APIs & Engines / Xith3D Forums / Re: Video and xith on: 2005-02-14 14:55:40
Putting the xith canvas into a panel wouldn't slow down the performance. If not, the idea sounds great. Actually we did the same thing in 2D.

The idea about showing video inside the 3D world is also interesting for further projects. Can anyone post some code examples? E.g. the one with using QuickTime and Jogl?
22  Java Game APIs & Engines / Xith3D Forums / Video and xith on: 2005-02-13 17:15:09
Hi. We are trying to create an interactive movie for a school project. We will need both 3D and video, however we have no experience in doing 3D in java, so we would like to know if it is possible to use e.g. Xith3D to do the 3D part, and then when video is needed, run it in the same window as the 3D (stop the 3D stuff and run video on top of it). We have done something similar with Java2D, but as I understand it, there is a big difference with the way Xith handles e.g. threads and so on.
Pages: [1]
CopyableCougar4 (169 views)
2017-03-24 15:39:42

theagentd (152 views)
2017-03-24 15:32:08

Rule (209 views)
2017-03-19 12:43:22

Rule (196 views)
2017-03-19 12:42:17

Rule (199 views)
2017-03-19 12:36:21

theagentd (216 views)
2017-03-16 05:07:07

theagentd (212 views)
2017-03-15 22:37:06

theagentd (163 views)
2017-03-15 22:32:18

theagentd (157 views)
2017-03-15 22:31:11

ral0r2 (163 views)
2017-03-03 11:52:41
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

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51 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!