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.

Topics - Disastorm

Pages: 1 [2] 3
Support / reproject question
« on: July 12, 2011, 04:45:52 am »
Hello, this is my first time programming anything in android.
I'm not sure why im having this problem but maybe you can help me.  When I do the below code it seems to keep adding the object at the center of the screen instead of where i click/touch.  Am I using this method incorrectly? 
Code: [Select]
SimpleVector dest = new SimpleVector(0, 0, 0);
dest=Interact2D.reproject2D3DWS(cam, fb, (int)xpos, (int)ypos);

Object3D newObj = Primitives.getBox(5f, 5f);

Support / how to use reflectionhelper?
« on: July 03, 2011, 07:03:45 am »
Hello I was just wondering how to use ReflectionHelper class (to make a mirror)?  I made a mirror myself which work kind of OK but they aren't as accurate as they should be so I wanna try out this class but Im not sure how to use it.

Do I just call the ReflectionHelper's drawScene method in my main loop, because that didn't seem to work for me.

Support / nvidia quadro JRE crashes?
« on: July 01, 2011, 11:45:35 pm »
Hello, I normally do not run my game on nvidia quadro, but the other day I tried it on 2 laptops that have Nvidia Quadro FX 880M and it seems like it crashes often (on one laptop it crashes as soon as it starts) with an error:
# A fatal error has been detected by the Java Runtime Environment:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000069fa6356, pid=6244, tid=7452
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [nvoglv64.DLL+0xaa6356]

Do you know if there is some problem with Nvidia Quadro, is it not possible to run on this video card?

Support / how to do this?
« on: June 28, 2011, 11:36:40 pm »
Hello I was wondering how I can make my main character push objects?  I made it so when he collides with a pushable object, it will move in the direction he is facing, but then when he jumps on top of it, it will move out from under him.  How can I detect that he is colliding with the top part of the object to prevent it from moving?  Does this involve getting the mesh and then the bounding box?


Support / glfullscreen false question. *resolved
« on: June 13, 2011, 05:13:16 am »
Hello, I noticed that if I have glfullscreen set to false my game lags quite a bit but when i set it to fullscreen it is perfectly smooth.  Is this normal?  This started happening when i tried to add in a mirror which is basically an object that has a camera that renders to the object's texture.

Support / how to set render target
« on: June 04, 2011, 11:59:07 am »
*edit nm i figured it out.  I had to set environment mapping on my object.

However, I noticed the texture doesnt seem to have any antialiasing.  Is there a way to render to it with anti aliasing?

Support / any future stereoscopic 3d?
« on: April 06, 2011, 11:40:59 pm »
Hey i am getting my first android phone and its also one of the stereoscopic 3d-without-glasses Android phones from Japan so I was wondering if jpct will support making applications in stereoscopic 3d for Android.  There are also upcoming 3d-without-glasses phones coming out in the US, one of them by LG as well as the Japanese Sharp ones are coming here to the US some time soon as well.  

*edit actually im not sure if the phone can auto convert to stereoscopic 3d or if app need to be made with the feature ill post here again when i find out.

Support / lighting
« on: March 26, 2011, 07:32:21 am »
Hello, do you know why the ground in this screenshot doesn't seem to be affected by the lighting?  Its part of the same .obj file as the rock which seems to be affected by the lighting.

Support / collision detection
« on: March 24, 2011, 07:59:03 am »
hello, i can use collision detection elipsoid but when 2 animated character models touch each other the game becomes really low fps.  Is there any way to prevent this?
Is there a way to make it so their physical collision box will act like a cube or something instead of their actual model?
Or do I need to use ray-polygon and prevent the characters from touching each other?  Also, if that is the case, does ray polygon function different than elipsoid, because for some reason ray polygon lets me walk through some walls that elipsoid does not let me walk through. 

Support / .obj textures from Blender
« on: February 03, 2011, 10:23:54 am »
Does anyone know what settings I have to use in the Materials in Blender to make it so when it exports, jpct will read the texture.  I've been able to do it easily in 3ds max and Metasequoia, but in Blender I have tried a bunch of options but it hasn't seemed to work yet.

ah got it working i guess i have to do this UV wrapping thing?

Support / Picking
« on: November 08, 2010, 11:15:38 am »
I tried out the collision method for picking on the wiki and it works good when the object is close to my camera, but when its a little further it gets harder to pick my target object.  Instead, it keeps picking the "level" object instead of the character im trying to pick.  Strangely enough if I pick below where the character appears on the screen sometimes it will then pick the character even if the location i clicked doesnt have any part of the character there.  Do you know how I can fix this?  I believe I experienced this same thing when I used the regular picking method, as well.


Support / Sync speeds?
« on: November 05, 2010, 09:35:32 am »
Hello, what is the best way to synchronize speed of an application on 2 diferent computers.  When I use a while loop to do stuff like the movements, key reading, render, etc, it runs alot faster like almost a fast forward mode on my really good computer when compared to my older one.

Support / some questions
« on: July 12, 2010, 01:18:45 am »
Hey, is there a way to make bones not be visible? When I import a 3ds file I also see the bones in the java program sticking out of the model.  Or is this something I have to do in 3d studio to make it not display the bones?

Also, is there any way to outline the object in a black line like they do in cel shading?

Support / 3ds texture mapping?
« on: July 05, 2010, 10:31:56 am »
Hello. I've gotten the texture mapping to work on some previous models I have downloaded, but I recently downloaded a model and I can't get the texture mapping to work in jpct.  I don't know too much about models but heres a screenshot of how the texture is mapped, and can you tell me if its supposed to work in jpct?

btw I'm not using the most recent version of jpct (i'm using second to newest i think), let me know if the new one works with it.  I think the previous models had used a diffuse map or something like that but this uses some kind of paint map.  How can I get this to work?  I just see the blue that is checkmarked but not the image.

Support / Some questions.
« on: February 07, 2010, 05:17:30 am »
Hi, I have some questions.  Whats the best way to sync two objects together over a network.  Right now I send transformation and rotation matrix clones every 50 ms over an ObjectOutputStream or something like that and also have the keypresses sending so that it can continue to translate the objects in between those 50ms. its pretty good but doesn't seem to be perfect when i have 2 clients open it has a slight delay before one can see the movement.  I was just wondering if theres a better way or perhaps this delay is due to my logic in constructing a pojo to send across the stream and then checking all the objects on the client side to find the one that is referenced by the pojo, etc.

Also how can I make something collidable with everything? I only see that theres a setting that check collision self and check collision other.  Is there no way to make it collidable with everything for example if I have 3 objects that can collide with each other?

Also if I use a .obj how do I get material to work?  If I use a .3ds exported from 3ds max with texture coords and then import the jpegs itto jpct, it will automatically put them on my model.  But I tried with a .obj exported from 3ds max and i set the .mtl file also and then i noticed that jpct imported all the correct jpegs after it read the .mtl file but it didnt seem to show up in the actual world.

Also why does it seem like sometimes parts of my 3ds file will be in the wrong position when i load it into jpct instead of the position it was in when i open it in 3ds max.  If i use a .obj file though this position problem doesn't happen but i'm not sure how to use textures.  So far I believe this 3ds problem only happened if I cloned a copy of an object, but im not sure.


Pages: 1 [2] 3