Hi all,
I’m new to jME and to 3D programming all together, so please excuse me if this is a stupid question. I’ve been following the ‘Flag Rush’ tutorials and found that they gave a good start, but they stop half way through I wanted to add collision to the game and advance from there, but when searching the User Guide and the tutorials and the forum too I found little if any pointers in the right direction. I’ve looked at the Javadoc but I hate that thing, I always find javadoc hard to read and understand.
[Edit]While waiting for a reply to the first point, I’ve been trying to do the NeHe tutorials on gamedev and converting them to jME & Java, and so far its been going well and I’ve learnt a bit more about jME while doing it, but one thing I can’t seem to get right is the blending tutorial. Atm it looks like this… but the cube face on the left isnt transparent at all, but the others are. Does anyone know why this is?
[/Edit]
Any help or pointers to something I’ve missed would be greatly appreciated,
-SD
if you want your objects to behave physically correct, you may want to take a look at jme-physics if you haven’t already.
with that its pretty easy to respond to collisions.
@–> Transparency
so far i can tell u that this problem is according to the AlphaState…
We have the same problem currently.
Getting correct results using alphatextures for transparency is quite difficult.
Viewed from one side the polys are transparent, from the other side they seem to be fully opaque.
Sometimes other polys behind the transparent one disappear…
I have not fully understood the AlphaState yet…
But i guess there are people out there, who could help…
Greetz
Imm0
Are you using transparent queue? If not, try:
myTransparentObject.setRenderQueueMode(Renderer.QUEUE_TRANSPARENT);
lex said:
Are you using transparent queue? If not, try:
myTransparentObject.setRenderQueueMode(Renderer.QUEUE_TRANSPARENT);
Wow that seemed to work. Can you explain to me why? Or point me to a place that explains it? Previously I was using an AlphaState like Imm0 said, and I couldn't get it right either.
@Core-Dump.. Thanks for the link, I'll check it out.