Show Posts
|
|
Pages: [1] 2 3 4
|
|
2
|
Java Game APIs & Engines / Tools Discussion / Looking for an open source 3D format
|
on: 2007-02-28 20:49:42
|
Hi all. Having problems with my 3DS loader, I'm considering moving to another format. According to severeal people, 3ds doesn't handle bones which is harmful given my 3D designers use bones... I'm looking for an open source format that handles bones animations and can manage many vertices and triangles (much more than md2). Waiting for your opinions and arguments 
|
|
|
|
|
5
|
Java Game APIs & Engines / JOGL Development / Making a 3ds loader, need help with transforms...
|
on: 2007-02-26 20:32:43
|
|
Hi all.
I'm developping my own .3ds loader and I'm facing some problems... First, I have troubles with rotations, I don't know how to apply rotations to the vertices : I can read a vector and an angle in the file, but I'm pretty sure I need a point that belongs to the axis definded by the vector, if so, could you tell me where I could read such a point?
Second, once I've read all the transforms in the file, I don't know in which order I should apply them, I mean for example, I don't know if for the current keyframe, I should do 3 rotations, then 5 translations, then 2 rotations and then a scale, or start with 5 translations, then 2 rotations, etc.
I know I'm re-inventing the wheel, but I really don't know how to solve these problems...
Thanks guys, see ya!
|
|
|
|
|
8
|
Java Game APIs & Engines / JOGL Development / How to calculate vertex normals.
|
on: 2006-12-07 22:00:48
|
Hi all. I'd like to know how to calculate vertices normals : I have a list of vertices and a list of faces. I googled and found that I have to calculate face normals at first. I don't know to do this, and then don't know how to get vertex normals from face normals... I hope you like maths...  Thanks for your help!
|
|
|
|
|
9
|
Game Development / Shared Code / Re: Open Source 3DS loader???
|
on: 2006-11-06 22:47:06
|
|
Thanks for your help.
I started my own loader, so far I can load models exported from blender.
I'm facing a problem : blender seems to export the topology (the faces) of my model, I can find in these files the 0x4120 tag but this tag isn't present in regular 3ds files...
The question is simple: how can I get the topology in files exported from 3dsmax?
Thanks
|
|
|
|
|
13
|
Java Game APIs & Engines / Xith3D Forums / Re: Good Xith game
|
on: 2006-08-15 15:48:47
|
Also maybe I can find some videos of my current game, if you're interested.
You can do wonderful things with Xith3D, or with Java3D or with jME, it's entirely up to you and which to choose is a question of taste and habits (and performance, although this is easily fixed, and as I'm talking in the way of being fixed).
If you prefer to ask questions in french, feel free.
@MagicSpark : - Is my english that bad? ;-) - If you don't mind, I'd like to see some videos of your current game - Which tool should I should talking about performance? - Which tool should I choose talking about support and future? Thanks
|
|
|
|
|
15
|
Java Game APIs & Engines / Xith3D Forums / Good Xith game
|
on: 2006-08-13 12:19:51
|
|
Hi. I'm considering using Xith 3d, but available demos aren't enough to me for choosing...
Could you guys give me links to your games using Xith 3D (physics, graphics and sound)?
thanks
|
|
|
|
|
17
|
Java Game APIs & Engines / Java Sound & OpenAL / Re: ALC_INVALID_CONTEXT
|
on: 2006-07-12 12:02:49
|
That works now, thanks to your help Ken, as you said, I was missusing IntBuffer. I'm facing another problem now... Playing an ogg file takes 100% of my CPU. I just ported the code from Game Dev (lesson  , is there any way to improve the use of the CPU? Thanks again.
|
|
|
|
|
18
|
Java Game APIs & Engines / Java Sound & OpenAL / Re: ALC_INVALID_CONTEXT
|
on: 2006-07-12 09:33:05
|
|
I just tried lesson 3 & lesson 5 source code, I have arguments problems, some AL methods seems OK while others don't. Does this indicate any version conflict? This would be quite surprinsing given I'm pretty sure I downloaded the latest version...
|
|
|
|
|
20
|
Java Game APIs & Engines / Java Sound & OpenAL / Re: ALC_INVALID_CONTEXT
|
on: 2006-07-11 14:48:18
|
Here's the source code : 1 2 3 4 5 6 7 8 9 10 11 12 13
| ALut.alutInit(); al = ALFactory.getAL(); if (alc.alcGetError(device) != ALC.ALC_NO_ERROR) return AL.AL_FALSE;
ois = new OggInputStream(new File(path).toURL().openStream()); al.alGenBuffers(2, IntBuffer.wrap(buffers)); check(); al.alGenSources(1, IntBuffer.allocate(source)); check(); al.alSource3f(source, AL.AL_POSITION, 0.0f, 0.0f, 0.0f); check(); |
The check method : 1 2 3 4 5
| private void check() { int error = al.alGetError(); if (error != AL.AL_NO_ERROR) throw new ALException("OpenAL error was raised."); } |
The latest call to check() causes an ALException with 40961 in error which is related to the ALC_INVALID_DEVICE or AL_INVALIDE_NAME constant... Any idea? Thanks guys
|
|
|
|
|
22
|
Java Game APIs & Engines / Java Sound & OpenAL / ALC_INVALID_CONTEXT
|
on: 2006-07-11 09:36:19
|
|
Hi all. As I'm trying to port the lesson 8 from the openAL tutorial, and I'm getting the error code ALC_INVALID_CONTEXT from alGetError() just after calling alSource3f(...). If I Call alGetError() before alSource3f() I get ALC_INVALID_DEVICE. I don't know how to solve that problem. Another clue : when I call AudioSystem3D.openDevice("DirectSound3D"), I get a NullPointerException.
All of this is quite surprising given the lesson 1 works pretty good...
Thanks for your answers.
|
|
|
|
|
24
|
Discussions / General Discussions / Re: Your opinion about DirectX10 and OpenGL?
|
on: 2006-07-04 10:03:31
|
|
For Linux and Mac users, Open GL is the best issue for games, apart from emulation. Let's wait the DX improvements that will come around with Windows Vista.
Don't forget that Open GL is a free API while Direct X is aimed to make money... This point brings me to the question : "why should I pay for something equivalent I can get for free?"
|
|
|
|
|
30
|
Java Game APIs & Engines / Java Sound & OpenAL / Re: Joal and Ogg Vorbis
|
on: 2006-06-22 13:04:24
|
|
Thanks for your answer.
I've already looked at this 8th C++ lesson, I've also considered porting it to Java, but the C++ code refers to "OggVorbis_File oggStream; // stream handle". I don't know what it refers to using Java, if someone has any idea, this would be very helpful ;-) Should I use Tom's OggInputStream?
If I find out any solution I will release the source code :-) Thanks again
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|