Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (526)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
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.

http://192.18.37.44/forums/index.php?topic=8024.0

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
http://www.harme.dk/engine/inside.pdf

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
http://xith.org/demo/org.xith3d.gsg.php

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
Quote


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.

Will.


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
Quote
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
Quote
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

Quote
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


Quote
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.

Quote
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?

Quote
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

Source: http://www.harme.dk/testlevel.zip





- 03-10-2005
Added simple material and light

-03-12-2005
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
Hi.

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
net.java.games.jogl.GLException: Method "glActiveTextureARB" not available
       at net.java.games.jogl.impl.windows.WindowsGLImpl.glActiveTextureARB(Win
dowsGLImpl.java:94)
       at com.xith3d.render.jogl.TextureShaderPeer.shade(TextureShaderPeer.java
:668)
       at com.xith3d.render.CanvasPeerBase.setState(CanvasPeerBase.java:121)
       at com.xith3d.render.CanvasPeerBase.render(CanvasPeerBase.java:99)
       at com.xith3d.render.jogl.CanvasPeerImpl.drawBin(CanvasPeerImpl.java:678
)
       at com.xith3d.render.jogl.CanvasPeerImpl.display(CanvasPeerImpl.java:849
)
       at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.ja
va:74)
       at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:239)
       at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
       at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
       at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:950)

       at com.xith3d.scenegraph.View.renderOnce(View.java:732)
       at com.xith3d.scenegraph.View.renderOnce(View.java:665)
       at com.xithtk.loaders.quake3.Quake3Renderer.runRenderer(Quake3Renderer.j
ava:348)
       at com.xithtk.loaders.quake3.Quake3Renderer.init(Quake3Renderer.java:306
)
       at com.xithtk.loaders.quake3.Quake3Renderer.main(Quake3Renderer.java:373
)


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]
 

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

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (73 views)
2014-11-26 15:22:04

toopeicgaming1999 (63 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

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

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

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

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

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

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

digdugdiggy (57 views)
2014-11-12 21:11:50
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!