Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Mr.Marbles

#1
Bones / Re: Bones - Skeletal and Pose animations for jPCT
September 29, 2010, 10:37:55 PM
Just hit another issue, I can't get my static, non-animated, collada models to load with Bones. They work fine in Ardor3D. Seems like Bones needs to have an AnimatedGroup in order to load the model in the World. Is this the only way to get a Collada import into jPCT?
#2
Bones / Re: Bones - Skeletal and Pose animations for jPCT
September 29, 2010, 10:35:35 PM
Quote from: raft on September 29, 2010, 06:35:28 PM
please try the flipped version below:
http://www.aptalkarga.com/bones/bones.flip.zip

Thanks for the fix, seems to work fine.
#3
Bones / Re: Ogre scene loading
September 29, 2010, 04:40:59 PM
Quote from: raft on September 29, 2010, 01:07:58 AM
please have a look at the posts below:
http://ardor3d.com/forums/viewtopic.php?f=10&t=501&p=3712#p3712
http://www.jpct.net/forum2/index.php/topic,1490.0.html

So it appears Ardor3D Collada loader is programmatically flipping the textures when the models are loaded. I noticed that in the jPCT Seymour example you use:

ColladaImporter colladaImporter = new ColladaImporter().loadTextures(false);
...
Texture texture = new Texture("./samples/data/seymour/seymour_flipped.png");
TextureManager.getInstance().addTexture("seymour", texture);

for (Animated3D o : skinnedGroup) {
    o.setTexture("seymour");
    o.build();
    o.discardMeshData();
}


And in the Ardor3D example the textures are loaded automatically by the ColladaImporter:

final ColladaImporter colladaImporter = new ColladaImporter();

// Load the collada scene
final ColladaStorage storage = colladaImporter.load(source);


So maybe we could avoid the manual texture flipping if Bones ColladaImporter would use the built-in texture flipping of Ardor3D. Just a guess  :-\
#4
Bones / Re: Ogre scene loading
September 29, 2010, 04:23:46 PM
Quote from: raft on September 29, 2010, 01:07:58 AM
seymour's original texture is in TGA format and Ardor flips TGA textures vertically while loading. so i assumed flipped one is correct and later forgot the matter. what is the format of your textures? how did you export your models? you said you were using JME loader, possibly it shares same loader code with Ardor and maybe flipping your textures too.

My textures are in jpg format. I used jME for Ogre models and Ardor3D for Collada models. In both cases I never needed to flip the textures, but I did need to flip them to have them work with your Bones lib. This seemed strange to me since Bones is using the Ardor3D Collada loader (although it's probably an older version).

I'll take a look at the links you posted. Thanks.
#5
Bones / Re: Ogre scene loading
September 29, 2010, 12:28:55 AM
Quote from: raft on September 28, 2010, 12:50:30 AM
... porting them from an existing loader wont be that hard, why not create another project yourself ;)

If I have time I will definitely look into that.

I have another question, about the Collada loader. I was scratching my head trying to figure out why all my previously working textures didn't map properly until I compared your Seymour texture to the original one in Ardor3D. Also the "_flipped.png" in the texture name hinted something as well  :) I'm just curious as to why the textures need to be vertically flipped from their original positions in order to get them to load properly.
#6
Bones / Ogre scene loading
September 28, 2010, 12:24:38 AM
Raft, thanks for the great ports of the Ogre & Collada loaders!

I've actually been using the Ogre loader for some time in jME and I had all my meshes organized into scene files which was supported by the loader. I noticed your API doesn't support scenes. Do you have any intentions on supporting them?
#7
Feedback / Re: RSS?
May 25, 2007, 04:41:36 PM
#8
Feedback / Re: RSS?
May 25, 2007, 04:15:27 PM
Quote from: EgonOlsenThe new forum should offer an RSS-feed "out of the box".
Is the RSS feed still available? I haven't seen any RSS icons anywhere on the site.
Quote from: EgonOlsenhttp://www.jpct.net/forum/rss.php
This link is broken.
#9
Support / Re: Shinnyness
May 23, 2007, 05:34:46 PM
You can also turn lighting off and use textures instead.
#10
Support / Re: Shinnyness
May 23, 2007, 03:09:32 PM
You can try this:
myObject3D.setSpecularLighting(true);

If this doesn't work you may need to apply a material with specular lighting to your 3D model via a modeling program (e.g. 3D Max, blender, etc.). Unfortunately, I don't believe jPCT supports the creation of material objects that can be applied to your object through the code.
#11
Support / Re: jPCT benchmark?
May 14, 2007, 03:41:10 PM
Quote from: Melssj5And compared to OGRE 3D?
This isn't really a fair comparison since OGRE 3D is written in C++
Quote from: Melssj5OGRE has shadows implementations
I believe most of the Java engines support some for of shadows as well.
#12
Support / Re: jPCT benchmark?
May 11, 2007, 04:20:32 AM
Quote from: EgonOlsenSadly, i can't see for myself because i'm unable to start any of them...Webstart bombs out with an error message...
Unfortunately, the benchmarks won't launch with Java 1.6.x. It only supports Java 1.5.x. This may be the problem.

In any case, the graphs show the information quite well. It's too bad the jPCT benchmark is not in working order. How tough is it to get that Quake level loaded? I may take a shot at it  :)
#13
Support / Re: jPCT benchmark?
May 10, 2007, 10:31:14 PM
Quote from: EgonOlsenI once did a comparision based on a quake3-level-benchmark-application that someone ported to Xith, jME and Java3D.

Do you still have the jPCT benchmark available? I just came across this blog which revisited that Quake 3 benchmark using jME, Xith3D, and Java3D. It was done not too long ago, last october:
http://www.renanse.com/blog/2006/10/and-now-benchmarks-you-can-run.html

You can actually download the benchmarks and run them on your own system. If the jPCT Quake 3 benchmark is still available I'd like to run it just for comparison purposes  ;)
#14
Support / Re: Got Bloom?
May 07, 2007, 04:07:42 PM
Bloom is already available in jPCT. Here's a demo which shows this feature:
http://www.jpct.net/demos/blue/blue.jnlp

press "b" to toggle bloom on/off