Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (671)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
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] 2
1  Java Game APIs & Engines / Xith3D Forums / Re: Good Geometry editors for Xith3D? on: 2005-04-27 22:59:11
definitely give fragmotion a shot
2  Java Game APIs & Engines / Xith3D Forums / Re: How does views work in XIth3d ? on: 2005-01-24 13:33:57
not sure why...
for a workaround, just set the views transform to the objects transformgroup that you want it to follow
3  Java Game APIs & Engines / Xith3D Forums / Re: SkyBox mini-tutorial and utility class on: 2005-01-17 12:50:14
i think that bug has more to do with the view being in an uncomprising position than with the skybox.
4  Java Game APIs & Engines / Xith3D Forums / Re: Collision projectile on: 2005-01-11 18:00:14
interesting idea but wont you have issues when trying to pick an object beneath another?
5  Java Game APIs & Engines / Xith3D Forums / Geosphere? on: 2005-01-10 13:41:47
Can anyone please tell me where the new primitives package is? Thanks
6  Java Game APIs & Engines / Xith3D Forums / Collision Confusion on: 2005-01-05 20:20:46
Hello all
I'm a little confused about xith's innate collision system. The balls and cubes demo doesnt work and breaks but the quake 3 bsp demo does. So if it works in one scenario...why exactly is it unsupported?
7  Java Game APIs & Engines / Xith3D Forums / Re: slide on collision on: 2004-12-14 13:04:48
This article should help out...

Also, take a look at
8  Java Game APIs & Engines / Xith3D Forums / Re: Link+SharedGroup on: 2004-12-14 12:31:57
You should create a new MD2ModelInstance instead of using shared node

copy = md2Model.getInstance();
9  Java Game APIs & Engines / Xith3D Forums / Re: Snap to Grid on: 2004-12-13 20:14:27
Yeah, a good system/gui is tough. There's also other elements like object-to-object collisions -- snapping around other objects. I guess it depends on how well you want the system to be...
10  Java Game APIs & Engines / Xith3D Forums / Collada DAE Loader on: 2004-12-13 16:00:40
I'm currently writing a loader for the Collada format for Xith (and one more for some other tool).
For more info on Collada and .DAE, go to
11  Java Game APIs & Engines / Xith3D Forums / Re: Filter Effects on: 2004-12-10 20:11:24
tinkering about, you can tint the screen with various colors using a slightly transparent plane as a foreground node in front of the view...not sophisticated I guess .... and not effective for B&W....  more to come
12  Java Game APIs & Engines / Xith3D Forums / Re: Foreground node prejiduced against coord syste on: 2004-12-10 19:38:33
on the topic of foreground nodes... shapes in my foreground node are intersecting with other geometries not in the foreground node... is this the norm? i was under the assumption that foreground nodes were drawn over everything else. Can someone please clarify? Thanks  Embarrassed
13  Java Game APIs & Engines / Xith3D Forums / Re: Misc FAQ on: 2004-12-09 12:04:44
Thanks. I was able to add the questions to the FAQ.
14  Java Game APIs & Engines / Xith3D Forums / Re: Misc FAQ on: 2004-12-08 21:32:50
I sent a PM. My username is the same: LaLiLuLeLo
15  Java Game APIs & Engines / Xith3D Forums / Misc FAQ on: 2004-12-08 19:37:37
Here are some questions/answers I'm compiling. I'm not sure if the xith FAQ would be a better place to put it since it would just clog up the FAQ section, so I am putting them here for now. Hope it helps.

1. How do you set whole mesh transparencies? (I want to make my monsters fade away when they die!)

You'll need to set Transparency Attributes on the mesh's appearance and the material's color target.
To make objects fade away, just change the transparency value during your render loop.

      ta = new TransparencyAttributes(TransparencyAttributes.BLENDED, 0.1f );

2. How do you use alpha maps? (How do I use a saw I created that uses textures instead of polygons to show the teeth details?)

This is one way of doing it. You will need to load a texture file that supports the alpha channel. The best format for this is PNG. Load the texture as an alpha texture and set it to the object's appearance. Then, set transparency attributes to the appearance.

          ta = new TransparencyAttributes(TransparencyAttributes.BLENDED, 0.0f );

3. How do you render everything as wireframe?

Set the RenderOptions' wireframe option to true for the canvas peer.

        ro = new RenderOptions();
        ro.setOption(Option.ENABLE_WIREFRAME_MODE, true);

4. How do you render just one particular model as wireframe?

Get the model's appearance and set its appearance's polygon attributes.

        Appearance temp = sh.getAppearance();
        PolygonAttributes pa = new PolygonAttributes(
                PolygonAttributes.POLYGON_LINE, PolygonAttributes.CULL_NONE, 0f);

5. How do you display an image icon over a character?

Use a Billboard and an appearance to create a new shape which can be made a child of the
character's branchgroup. Apply the image as a texture to the appearance. A Billboard ensures
that the image is always pointing to the camera.

6. What is a Vertex Shader? How do you use a Vertex Shader in Xith?

A Vertex Shader or Vertex Program is essentially a graphics processing function that lets you change properties of a vertex such as position and color. This can allow you to do deformation, morphing and many other interesting effects. This processing is done by the hardware alleviating the burden on the CPU. To use one in xith, you'll need to open your vertex shader and parse it into a String. Then use that string and set it as the appearance's vertex program.

      appearance.setVertexProgram(new VertexProgram(strVertexShader));
16  Java Game APIs & Engines / Xith3D Forums / Re: Snap to Grid on: 2004-12-08 12:35:52
for the grid just create (or import) a plane and make it wireframe using PolygonAttributes
Appearance temp =  grid.getAppearance();
PolygonAttributes pa = new PolygonAttributes(PolygonAttributes.POLYGON_LINE,PolygonAttributes.CULL_NONE, 0f );

i'm not sure about snapping ... will let you know shortly
17  Java Game APIs & Engines / Xith3D Forums / Re: How do I load .MD3 object files? on: 2004-12-07 14:18:06
There's also an MD3 compiler that will let you compile MD2, 3DS and ASE objects.
You can find the link on this page
18  Java Game APIs & Engines / Xith3D Forums / Re: Adding two Canvas3d's to a View doesn't work on: 2004-12-06 15:59:17
I use Windows XP, ATI Radeon 9800 Pro
19  Java Game APIs & Engines / Xith3D Forums / Re: Adding two Canvas3d's to a View doesn't work on: 2004-12-06 14:10:07
hello arne ... thanks for the tips, I tried it out but only one view renders and the other doesn't and sometimes, the other renders and the first doesn't. Have you run into this? This is the code

               RenderPeer rp = new RenderPeerImpl(); 
               CanvasPeer cp = rp.makeCanvas(null,440, 480, 32, false);
               Canvas3D canvas = new Canvas3D();
               //RenderPeer rp2 = new RenderPeerImpl();
               CanvasPeer cp2 = rp.makeCanvas(null,640, 480, 32, false);
               Canvas3D canvas2 = new Canvas3D();
               view.getTransform().lookAt(      new Vector3f(0, 20, 1.0f), //Loc Camera
                              new Vector3f(0, 0, 0), //COV
                              new Vector3f(0, 1, 0)); //Up Vector
               view2.getTransform().lookAt(      new Vector3f(0, 50, 1.0f), //Loc Camera
                              new Vector3f(0, 0, 0), //COV
                              new Vector3f(0, 1, 0)); //Up Vector
               while(true) {

If I ask it to render both views, I sometimes get the distortion I was speaking of earlier...
Edit #2:
It renders both views correctly sometimes   :-/
20  Java Game APIs & Engines / Xith3D Forums / Re: Adding two Canvas3d's to a View doesn't work on: 2004-12-06 13:17:39
i've been mulling over this issue for a while now. In my case, only one canvas renders correctly and the other is distorted.
Please can you release your source for displaying multiple canvases?
21  Java Game APIs & Engines / Xith3D Forums / Re: thread question on: 2004-12-02 20:04:51
it's possible ... this way you avoid making simulation changes while the view of the scenegraph is rendering
22  Java Game APIs & Engines / Xith3D Forums / Re: rotation question on: 2004-11-29 12:39:01
Maybe you could try the lookAt function
view.getTransform().lookAt(      new Vector3f(0, 120.0f, 1.0f), //Camera location
                                                      new Vector3f(0, 0, 0), //COV
                                                      new Vector3f(0, 1, 0)); //Up Vector

23  Java Game APIs & Engines / Xith3D Forums / Re: Filter Effects on: 2004-11-29 12:19:40
it's a bummer that the solution I had in mind would be slow
24  Java Game APIs & Engines / Xith3D Forums / Re: Filter Effects on: 2004-11-27 18:42:52
that's a bummer ... thanks for the pointer
25  Java Game APIs & Engines / Xith3D Forums / Filter Effects on: 2004-11-23 12:27:55
Does anyone know how to modify the rendered images in Xith? I want to be able to make the output black and white for some real-time cutscenes.
Thanks in advance  Smiley

I was thinking a solution would be to do an offscreen render, getting the snapshot bufferedimage and making the changes and drawing them out. Could I get some direction on this? Thanks.
26  Java Game APIs & Engines / Xith3D Forums / 3D Levels on: 2004-11-22 16:44:16
Does anyone know how to tackle building 3d levels in Xith? I'd just like some tips to get started.
Thanks  Smiley
27  Java Game APIs & Engines / Xith3D Forums / Re: geometry from shape3d on: 2004-11-16 17:23:02
GeometryArray has the info you need

            Geometry g = shape.getGeometry();
            GeometryArray ga = (GeometryArray) g;
28  Discussions / Miscellaneous Topics / Re: CS degrees in high demand=unemployed programer on: 2004-11-15 17:18:30
I think potential students are yet to catch up on the state of the job market or their recruiters are telling them lies... School recruiters are dangerous
29  Java Game APIs & Engines / Xith3D Forums / Re: rotation question on: 2004-11-11 13:10:57
To rotate around a particular axis, this is one way.
hero.getTransform().setRotation(new AxisAngle4f(new Vector3f(0, 0, 1), 3.14f))

It sounds to me like you have two transform3d nodes (one for rotation and one for translation) and that you have their positions in the scenegraph mixed up.

To convert mouse coords to world coords, you might need to consider that the (0,0) is at the top left of the canvas for the mouse and (0,0,0) is at the center. You can always do a hack conversion like this "(e.getX() - canvas.getWidth()/2)/3;" till you can figure out the trig to get the correct values of depth
30  Java Game APIs & Engines / Xith3D Forums / Re: Setting Transparency recursively. on: 2004-11-10 12:21:26
Could you please explain this a little more? I tried this but no success...thanks  Smiley

Pages: [1] 2
IanParcs (43 views)
2016-04-18 14:18:53

KaiHH (42 views)
2016-04-18 08:35:41

KaiHH (73 views)
2016-04-15 12:43:58

theagentd (74 views)
2016-04-14 02:16:17

theagentd (88 views)
2016-04-14 02:15:43

IanParcs (102 views)
2016-04-12 03:51:16

IanParcs (45 views)
2016-04-12 03:50:03

IanParcs (42 views)
2016-04-12 03:49:54

IanParcs (37 views)
2016-04-12 03:49:52

IanParcs (47 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 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!