Test cases & Demos

We need testcases for :

  • NVidia stripifier
  • Transparent rendering & opaque/transparent shapes sorting
  • Multipass rendering (MultipassView class)
  • The different renderers : JOGL, LWJGL, JSR231
  • Texture anim (other than the “Fun with textures” tutorial of the GSG)
  • Bounds (and we need to fix showBounds() method, since it’s bugged)
  • OrderedGroup Testcase done by arne on 24/03/2006, not working
  • Skybox
  • Primitives
  • Billboard

Oh, and I think we should erase the “Xith3D” prefix in front of the test/demos class name.

EDIT : And split the test package, too.

[quote="<MagicSpark.org [ BlueSky ]>,post:2,topic:26673"]
Oh, and I think we should erase the “Xith3D” prefix in front of the test/demos class name.

EDIT : And split the test package, too.
[/quote]
not so necessary I think that’s unnecessary work (ok it doesn’t break any code, I don’t think anybody uses those examples in their application)

[quote="<MagicSpark.org [ BlueSky ]>,post:1,topic:26673"]

  • OrderedGroup Done by arne on 24/03/2006
    [/quote]
    No! No! No! This sounds as if it works, but it doesn’t!![quote]
  • Skybox
    [/quote]
    used it without problems, but it’s some kind of confusing if you don’t have y up[quote]
  • Billboard
    [/quote]
    used it and works, but it doesn’t orient in all axes to the view. Because I needed it for bomb-explosion animations I copied it and modified that version, extending it was some kind of impossible or with too much overhead - an example of the modified Billboard class is in the SpaceBomber project. (the project is fairly dead now - not enough people here in the forum to invest some time in it - nay maybe simple examples for each xith-features are better anyways)

Hi,

Consider adding ARB_point_sprite support for billboading - in this case, graphic card does everything for you. It will be also useful for particle systems - will reduce CPU load factor of four in some cases.

Billboard can be used to implement auto-oriented groups of real shapes (not just textured rectangles)

Yuri

not so necessary I think that’s unnecessary work (ok it doesn’t break any code, I don’t think anybody uses those examples in their application)
[/quote]
At the opposite I think this would be nice. You can then test each class or package and it’s more clear :
See my logic :
com.xith3d.scenegraph.Billboard -> gives test : com.xith3d.test.scenegraph.BillboardTest
com.xith3d.render.lwjgl -> gives test : com.xith3d.test.render.LWJGLTest
And yes it doesn’t break any code, except the JNLP on the Xith3D demos page.
And I propose that cause I can do it, don’t wanna annoy anybody with that.

No! No! No! This sounds as if it works, but it doesn’t!![quote]
[/quote]
Changed. Is it better ? If it would work, it would be green.

used it without problems, but it’s some kind of confusing if you don’t have y up[quote]
[/quote]
That’s an issue. Theoritically users can use whichever axis they watn to be up.

used it and works, but it doesn’t orient in all axes to the view. Because I needed it for bomb-explosion animations I copied it and modified that version, extending it was some kind of impossible or with too much overhead - an example of the modified Billboard class is in the SpaceBomber project. (the project is fairly dead now - not enough people here in the forum to invest some time in it - nay maybe simple examples for each xith-features are better anyways)
[/quote]
Do your modified version do all the things the original version do ? If yes it should be included in the core.

+1
Can you do that ?
I don’t have enough OpenGL knowledge for that. I can do it but I’ll have to spend some time on learning how to do it.

[quote]Do your modified version do all the things the original version do ? If yes it should be included in the core.
[/quote]
It gives quite a different result.

I think Yuri’s idea is the best. Billboard will then have to become a Group.

Yep. That was my original concept of the Billboard until I looked into the Billboard.java file, though.