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.


Messages - Mizuki Takase

Pages: 1 2 3 [4] 5 6 7
46
Support / rotation problem (it moves)
« on: December 12, 2006, 08:53:56 pm »
Hee hee, cyberkilla is right. Translating is when you want to move.

47
Support / show selected object
« on: December 12, 2006, 04:16:30 pm »
Object3D has a function called setTransparency(int)... I was recommending that you create your selection aura as a plane with some transparency on it and then addChild from the selected parent.

You can also do something like the car sample to place the circle properly on the ground. I believe that the car sample has 4 surrounding children that help calculate the angle and height where the parent should be, which is the selection aura in your case. If your level is all flat, then maybe the selection aura can figure out how high it should be placed; I was mentioning the car sample's 4 children because that demo has hills and so on...

I hope this helps!

48
Support / [noob] my first try
« on: December 12, 2006, 03:56:33 pm »
^^;

Atleast you solved your own problem! I saw this post, and I did not know where to begin looking in the code...

49
Support / show selected object
« on: December 11, 2006, 04:24:11 pm »
That sounds reasonable and easy to execute... Maybe add child and remove child, where the child is the aura that you are talking about?

50
Support / Object3D.getTransformedCenter().x returns NaN
« on: December 08, 2006, 03:26:50 pm »
This problem is way beyond me! I hope that other people in this forum can help out...

Anyway! I found this at some random website...

Quote

"NaN" stands for "not a number". "Nan" is produced if a floating point operation has some input parameters that cause the operation to produce some undefined result. For example, 0.0 divided by 0.0 is arithmetically undefined. Taking the square root of a negative number is also undefined.

0.0 / 0.0   ->  NaN
Math.sqrt(-2.0)  ->  NaN

Operations involving NaN
Double.NaN + Double.NaN  ->  NaN
Float.NaN + 2.0  ->  NaN
Float.NaN * 3.0  ->  NaN
(0.0 / 0.0) * Float.POSITIVE_INFINITY  ->  NaN
Math.abs(0.0 / 0.0) -> NaN
(int) (Double.NaN) -> 0

All boolean operations involving "NaN" results in a false value.

Double.NaN > 1.0  ->  false
Double.NaN < 1.0  ->  false
Double.NaN == 1.0  ->  false
Float.NaN < -3.0  ->  false
Float.NaN > Float.POSITIVE_INFINITY  ->  false
Float.NaN < Float.POSITIVE_INFINITY  ->  false
(0.0 / 0.0) == (0.0 / 0.0)  ->  false

51
Support / How to solve opacity problem in jPCT
« on: December 07, 2006, 09:54:03 pm »
Scary~~ In my case, I feel that its a 3d modelling problem... I just need to remember not collapse a plane over another plane and things will be fine~

52
Support / texture transparent problem
« on: December 07, 2006, 09:49:18 pm »
I always believed that addChild(Objcet3D) is supposed to be used for situations like you have described... I have no idea why your child object went missing...

Yes, whenever the parent gets modified, the child should inherit the translations as well. As quoted from the javadoc...
Quote
Defines an object as a child of this. A child object will inherit all transformations.


To tell the truth, I am not sure about all of the other questions that you have asked since I have not really tried it out before...

53
News / Away from keyboard for one week
« on: December 06, 2006, 09:07:48 pm »
X_X Wow! With all of the travelling that you have done, I am sure that you enjoy life a lot more than I do... I cannot dream of taking vacations at this point... But regardless, I wish you a safe travel and a fun one too!

54
Support / Adding clothing, weapons, shields to 3d model.
« on: December 06, 2006, 08:58:57 pm »
If it helps any, I wanted to load all of the objects and merge them together and apply some skeletal system onto it... Since I am stupid at all of this, I decided to just try to translate code and see what happens...

PS: that approach does not seem to be a good way to learn something as seen from working on the clothing simulation...


http://darwin3d.com/gdm1999.htm
http://darwin3d.com/gamedev/articles/col1099.pdf

http://darwin3d.com/gdm1998.htm
http://darwin3d.com/gamedev/articles/col0598.pdf

55
Support / texture transparent problem
« on: December 06, 2006, 08:54:04 pm »
Making sure, instead of merging the two objects, I can simply just have the main Object3D call addChild(<transparent object>) right?

56
Support / How to solve opacity problem in jPCT
« on: December 06, 2006, 08:51:40 pm »
to qjvictor: How do you fix that in 3D Studio Max? I tried to weld two points together and still got the same problem... I think that collapsing two points did the same thing as well...

57
Support / trying to understand the Car sample 2
« on: December 06, 2006, 08:46:10 pm »
So sorry that I am not at a place that I can read the car sample code. However, I recalled that there was some sort of Car class that did some placement work; detecting the angle of which the car's main body had to be placed... The code that you have shown on the forum also have something to do with the detection as well... Its like the car is checking if it would collide onto the terrain or something...

Off topic! I am curious now! Are you making some sort of car game? With rearview mirror and question with the car sample, one would come to that conclusion... Right~?

58
Support / I need the world looks like a real world.
« on: December 06, 2006, 08:43:25 pm »
The real world has many different lights, so its very questionable to say make your light like the real world's... But anyway, based on what you have on your code, your light is similar to normal white light that is not too bright, so I guess that is good enough?

59
Support / Keyframe animations from single 3ds file
« on: December 06, 2006, 08:39:50 pm »
I hope that I understand that entirely, but anyway, I think that it is easier to work with MD2s because that file format can support a numerous amount of animations within one file. I am currently using misfit3d to create MD2s... I make my mesh in 3D Studio/Rhino3D and import the mesh and textures to misfit for boning and animations...

But anyway, if you search around this forum, you would find that someone asked same question as you did... I mentioned that only because I know that there was code lying around the forum to do the task that you wanted to do in your ideal world, which was to import keyframes onto their object.

60
Support / rearview mirror
« on: December 06, 2006, 08:28:26 pm »
^_^;;; Oh well... One could at least dream I guess.... Thanks for the reply on that subject matter...

Pages: 1 2 3 [4] 5 6 7