Re: [JAVA3D] exception in thread "main"

2004-03-22 Thread Flavius Alecu
thread "main" Date: Mon, 22 Mar 2004 12:06:29 -0800 Flavius Alecu wrote: The thing is...I can run the code, I just can't run it from the comand line...That's teh wierd thing... Windows Box (you've never really stated)? Go to \Windows\System32 and delete java.exe and javaw.e

Re: [JAVA3D] exception in thread "main"

2004-03-22 Thread Flavius Alecu
The thing is...I can run the code, I just can't run it from the comand line...That's teh wierd thing... From: Joshuah Goldstein <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] exception in thread "main" Date: Mon, 22 Mar

Re: [JAVA3D] exception in thread 'main'

2004-03-22 Thread Flavius Alecu
I might not have the lasspath initialized...how do I do that?? I looked under environment variables but there was no Classpath, only the regular PATH variable... Should I make a new one called classpath? and which path do I put there? thanx From: "Brobbey,Isaac" <[EMAIL PROTECTED]> Reply-To: Di

Re: [JAVA3D] exception in thread 'main'

2004-03-22 Thread Flavius Alecu
thanx but I do have the environment variables set...I usually am able to run java and javac from anywhere...that isn't the problem this time... From: "Brobbey,Isaac" <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] except

Re: [JAVA3D] exception in thread 'main'

2004-03-22 Thread Flavius Alecu
That I think I did...otherwise it would work at all, right? It works when I run it from the appletviewer like I said..but not with a main method from the command line... From: Jeremy Booth <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj

Re: [JAVA3D] exception in thread 'main'

2004-03-22 Thread Flavius Alecu
bject: Re: [JAVA3D] exception in thread 'main' Date: Mon, 22 Mar 2004 16:42:58 - Flavius Alecu said: > ok, when I run java -version I get teh following: > > "java version "1.4.2_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) &g

Re: [JAVA3D] exception in thread 'main'

2004-03-22 Thread Flavius Alecu
and only 2 of them have java3d installed. Cheers, Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Flavius Alecu Sent: Montag, 22. März 2004 17:09 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] exception in thread 'main' ok, when I run java

Re: [JAVA3D] exception in thread 'main'

2004-03-22 Thread Flavius Alecu
ok, when I run java -version I get teh following: "java version "1.4.2_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) Java HotSpot(TM) Cllient VM (build 1.4.2_01-b06, mixed mode)" I really don't understand what you meant...does anything of this look wrong?? thanx From:

Re: [JAVA3D] mnstarfire 3ds loader problems

2004-03-09 Thread Flavius Alecu
(unless we implemented shared groups and fully supported the clone - and I have no plans to do the work to support that). - John Wright Starfire Research Flavius Alecu wrote: > > Michael, > > Imagine I have made a model in 3d studio max...a table with four legs...when > I import this m

Re: [JAVA3D] mnstarfire 3ds loader problems

2004-03-09 Thread Flavius Alecu
9 Mar 2004 10:25:03 +0100, Flavius Alecu <[EMAIL PROTECTED]> wrote: Michael, Imagine I have made a model in 3d studio max...a table with four legs...when I import this model into my java app, it's just a table with one leg. the others just aren't there...not wierd graphics fx no

Re: [JAVA3D] mnstarfire 3ds loader problems

2004-03-09 Thread Flavius Alecu
:25:12 - Thats a little bit more clear and it sounds like a loader problem. As far as I know 3DS clones existing parts of the scene (like the legs). If the loader doesn't supports this correctly it may be that only one leg - the original - appears. On Tue, 9 Mar 2004 10:25:03 +0100, Flav

Re: [JAVA3D] mnstarfire 3ds loader problems

2004-03-09 Thread Flavius Alecu
Hi Rolf, I really have no clue...maybe John could answer this question? Cheers From: Rolf Gabler-Mieck <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] mnstarfire 3ds loader problems Date: Tue, 9 Mar 2004 00:27:48 +0100

Re: [JAVA3D] mnstarfire 3ds loader problems

2004-03-09 Thread Flavius Alecu
Michael, Imagine I have made a model in 3d studio max...a table with four legs...when I import this model into my java app, it's just a table with one leg. the others just aren't there...not wierd graphics fx no nothing...they just aren't there From: Michael Pfeiffer <[EMAIL PROTECTED]> Reply

Re: [JAVA3D] same shape3d, different textures

2004-03-04 Thread Flavius Alecu
rs, Florin -Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Flavius Alecu Sent: Mittwoch, 3. März 2004 21:14 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] same shape3d, different textures yeah, I Guess I could use sets. That seems like the most simple

Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread Flavius Alecu
L PROTECTED] Behalf Of Flavius Alecu Sent: Mittwoch, 3. März 2004 10:46 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] same shape3d, different textures oh, well isn't that used for the same texture but to save cpu power? I've read that and what I can remember it's used to have the same t

Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread Flavius Alecu
oh, well isn't that used for the same texture but to save cpu power? I've read that and what I can remember it's used to have the same texture but in different sizes? what I actually need is two different textures on the same level. Say I have two walls in the same shape3d, I want one to be a brick

Re: [JAVA3D] "shrinking" the camera....

2004-02-03 Thread Flavius Alecu
Just a very quick note: In our experience, changing the field of view is preferable to scaling the model because if you ever run the code in a VR environment, scaling produces some undesired results, especially for architectural models :-) Flavius Alecu wrote: yeah this is it...great...thanx a lot

Re: [JAVA3D] "shrinking" the camera....

2004-02-02 Thread Flavius Alecu
yeah this is it...great...thanx a lot guys =) Flavius From: Ashton Mason <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] "shrinking" the camera Date: Mon, 2 Feb 2004 11:06:36 - Yes, I also think this is what yo

Re: [JAVA3D] texture coords exception...

2004-01-06 Thread Flavius Alecu
Thanx Jeremy, I think you're right... haven't called the setTextureCoordinateParams(texCoordSetCount, 2) method... I'll try that and see if it works..thanx! From: Jeremy Booth <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAV

Re: [JAVA3D] inverting a vector

2003-12-29 Thread Flavius Alecu
um, is it that easy? sorry, i'm no good av vector maths...thanx From: Wayne Glanfield <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] inverting a vector Date: Mon, 29 Dec 2003 10:52:19 + how about changing the signs

Re: [JAVA3D] class vector3f equals() question

2003-12-27 Thread Flavius Alecu
take it from there. It's usually easier to learn by example. Regards /Jørn From: Flavius Alecu <[EMAIL PROTECTED]> Hi Jørn... Yes, that's right, I meant it should not matter...I'm sorry for typing so bad, didn't re-read to check. So let me see if I got this right...when you

Re: [JAVA3D] class vector3f equals() question

2003-12-27 Thread Flavius Alecu
Hi Jørn... Yes, that's right, I meant it should not matter...I'm sorry for typing so bad, didn't re-read to check. So let me see if I got this right...when you create a new vector with the values (x,y,z), it's basically an arrow pointing from the origin to those coordinates? Or from where is that

Re: [JAVA3D] collisionbehavior collision info

2003-12-22 Thread Flavius Alecu
The reason you see this is because of the front clipping plane is intersecting your geometry. A simple ray is not sufficient enough for geometry intersections if you want to prevent this sort of situation. A typical solution to this is to pick with a box that is the size of your avatar and extends

Re: [JAVA3D] KeyNavigator which simulates a flying object?

2003-11-18 Thread Flavius Alecu
You'll learn more about the wheel and how it works if you invent it again ;) From: Michael Pfeiffer <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] KeyNavigator which simulates a flying object? Date: Tue, 18 Nov 2003 21

[JAVA3D] getNormal() problem...

2003-11-07 Thread Flavius Alecu
I use picking for my collision detection and I'm trying to get the normal of the wall I'm stopping at. Here's the code I use: Node pickNode = picked.getObject(); Geometry curGeom = ((Shape3D)pickNode).getGeometry()

[JAVA3D] picking problem

2003-10-31 Thread Flavius Alecu
ok, i'm using picking for collision avoidanceso I have a big room 200x300 meters and I start in the middle of it. I just implemented collision detection with the help from andrews book...but i have some problems with it... i use: picker.setShapeRay(start, vStop) where start is the Point3d where

[JAVA3D] collision avoidance/terrain following

2003-10-30 Thread Flavius Alecu
ok, another thread about this stuff... Here's my problem...I read everything I found on the subject and I found the tutorials on j3d.org to be the most useful ones for me... So now I understand how to implement the collision avoidance and terrain following, but I just don't have that J3D knowledge

Re: [JAVA3D] j3d.org cvs problem

2003-10-28 Thread Flavius Alecu
[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] j3d.org cvs problem Date: Tue, 28 Oct 2003 11:52:29 -0800 Flavius Alecu wrote: I'm trying to log in on the server with winCVS...but whenever i try to log in, a password box pops up, and as I've understood, there isn't a pass

[JAVA3D] j3d.org cvs problem

2003-10-28 Thread Flavius Alecu
I'm trying to log in on the server with winCVS...but whenever i try to log in, a password box pops up, and as I've understood, there isn't a password required. But if I press OK without typing anything or if I press cancel, it just logs off as if it was the wrong password. Anyone could help me with

[JAVA3D] collision detection

2003-10-17 Thread Flavius Alecu
anyone know any ebooks or tutorials where I can read more about implementing collision detectin? or collision avoidance..not the one already existing in Java. I read on j3d.org but I didn't manage to understand everything they did, and I can't find the source in their code repository..so I was wond

[JAVA3D] texture coordinates....

2003-10-15 Thread Flavius Alecu
so, now I used texture coordinates to put textures on teh ground and on a brick wall i think i have some problems with those. the brick wall, looks really nice, when you're close to it..when you go far away from it, the texture starts moving around and changing size...this is definetly some tex

[JAVA3D] texturing problems

2003-10-10 Thread Flavius Alecu
I'm trying to put some textures on QuadArrays and the problem is...my texture is a pretty detailed .jpg picture of a brickwall, but the result on the geometry is just an ungly red color. It's the same thing when I try to put a stonetexture on the floor, the result is just a grey color, covering the

Re: [JAVA3D] creating a building

2003-06-18 Thread Flavius Alecu
Yeah, I've read some tutorials on your site...a very good site might I add =) Thanx === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send

Re: [JAVA3D] creating a building

2003-06-17 Thread Flavius Alecu
Thanx guys, this really helped me a lot. And Peter, I udnerstand what you are saying and I totally agree with you. I'm just like you and deep down iside me it almost hurts to take an easier way out =P Hehe, as you've said, you learn more by programming everything yourself. However, as I've said

Re: [JAVA3D] creating a building

2003-06-17 Thread Flavius Alecu
the thing is, this is my first shot at a 3d world...so I really don't know which way to go...I can't say I know 3d studio max better, but I don't know java 3d really good either =P which is the easiest and fastest way? with fast I don't mean how long it takes to actually design the building but

[JAVA3D] light question

2003-06-17 Thread Flavius Alecu
I was readign a little about the light system in j3d and wanted to make a sun. I have a sphere with some sort of sun texture on it and I want to add a light source on the same location as the model so it would iluminate the other objects in the Virtual world. First I tried to use directional li

[JAVA3D] creating a building

2003-06-17 Thread Flavius Alecu
I was just wondering, say you want to create a building in which you can walk around...what ways are there to create this geometry? Could you use for example 3D Studio Max to design the entire building and then just load it into your J3D program? Or is it better create the walls, and floor, etc

Re: [JAVA3D] about freelook.java

2003-06-16 Thread Flavius Alecu
Artur, Thank you, that really helped. I was thinking of re-writting the whole class but maybe I'm not the right person for this, since I don't have that much experience. But I'll do my best and I'll upload the result, maybe you or someone else could correct it. Thank you Flavius ==

[JAVA3D] boundingsphere for the viewplatform

2003-06-16 Thread Flavius Alecu
How do you asign a boundingsphere to the viewplatform?? When I navigate around my applet now, the objects disappear quite fast, I was thinking of makin a bigger boundingsphere but I'm not really sure how to asign it to the viewplatform... Thank you ==

Re: [JAVA3D] about freelook.java

2003-06-16 Thread Flavius Alecu
hlp please =/ === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message

Re: [JAVA3D] about freelook.java

2003-06-15 Thread Flavius Alecu
Artur, Yeah, some comments would be nice ;) I was just wondering, how do you mean block possible angle?? Sorry, I'm not so experienced =/ === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the me

[JAVA3D] freelook.java question

2003-06-15 Thread Flavius Alecu
could you maybe implement so that the user can't look behind him by going upp or down? Like in most games, you can only look up, but can't actually continue to move the mouse to rotate more than 90 degrees up or 90 degrees down... Is it possible to do that with freelook? Maybe Artur could answer

Re: [JAVA3D] creating a sun

2003-06-15 Thread Flavius Alecu
thanx a lot =D === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "he

[JAVA3D] problems loading "homemade" 3ds models

2003-06-15 Thread Flavius Alecu
I can'l load any of my own .3ds models into java. I can however load models which I've found on the internet. I'm obviously doing something wrong with my own models, but what could it be? Do I have to do anything special before I save the model in 3d studio max? Thanx =

[JAVA3D] creating a sun

2003-06-15 Thread Flavius Alecu
what is the ebst way to create a sun? could you put an object on the bakground and then adding a flare on that same location?? Thanx === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

[JAVA3D] about freelook.java

2003-06-10 Thread Flavius Alecu
If the author, or someone who uses this class reads thios, I'äd really need some help from you. This class is great, however, there is one thing which I don't really find useful. When you "look" up or down, you sooner or letar get upside down...when the view is upside down, the mouse is inverte

Re: [JAVA3D] FPS style navigation

2003-06-10 Thread Flavius Alecu
yeah, guess your right..I changed from 20 MB to unlimited and now it doesn't hang anymore...although maybe it isn't so good if my code is bad === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of

[JAVA3D] 3d engine question

2003-06-10 Thread Flavius Alecu
First, I'd like to apologize for this simple question but I really have no clue, that's why I'm asking. Anyway, to the question...when making a 3D app, say you want a building so you can explore its insides...I guess small things like benches, chairs and tables, you could design them adn import

Re: [JAVA3D] model in background

2003-06-10 Thread Flavius Alecu
but i tried adding two geometries to a bakground and then it showed only the first one i added. how can i add both geometry and model? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

[JAVA3D] model in background

2003-06-10 Thread Flavius Alecu
is it possible to add both geometry and models in the same bakground? I was wondering if you'd make a bunch of whtie dots acting as stars as geometry on a bakground, could you import and add a modell, say a sun, in the same bakground? or is there another way to project the modell to infinity as

Re: [JAVA3D] FPS style navigation

2003-06-10 Thread Flavius Alecu
alessandro, ok, problem solved..but what does verbose:gc do? and how can it solve my other problem, which causes the applet to hang?? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Re: [JAVA3D] FPS style navigation

2003-06-10 Thread Flavius Alecu
Artur, I couldn't turn on -verbose:gc since can't really run my applet as an aplication. For that, I have to change a lot of my code. But I just wonder if you might know what could affect those hangings...I just noticed that another applet on the web hanged when I was runing it, just for a oup

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
i wonder what it could be...since it happens on that applet too, it can't be my code...maybe some settings or something...and it seemes to happen only in the applets that use mouse navigation... === To unsubscribe, send emai

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
thanx kevin, i could really use that =) anyway, when I run this applet from kevins url...it hangs after a couple of seconds, and then it works again. the thing is, my applet does the same..i have full control of it, then it hangs for 2 or three secods and then i can navigate again...anyone have

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
yeah, the navigation thing is another issue =) how can I use a cube instead of the sphere? I tried to just creating a cube with the same call, just change from sphere to box, but it didn't accept the parameters...do I have to change anything??? ==

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
i tried bens code but it seems to squash the picture like you said...and it's zoomed in like hell, my stars look really crapy now =P and another thing I've noticed, when the camera is "upside down" the mouse is inverted...when I go left, it turns to right..wierd... =) ===

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
hehe, thanx ben, it suddenly got a little easier =) === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
ok, I work with 3d studio max...how can I make a sohere or a cube like you said, with the normals inverted?? or is it enough with a normal, textured cube, saved as a model? === To unsubscribe, send email to [EMAIL PROTECTED]

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
one thing i'm not sure i understand the line of code inside the try block..you load a model, what is that modell? is that the background with the stars?? I have mine in a .jpg bitmap =/ === To unsubscribe, send email to

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
ok, thanx a lot I'll try it right away =) === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in

Re: [JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
um ok, will it then b projected to infinity? so you can't actually come closer to it? I'm kinda new to all this and I don't have a clue how to write the code for what you just said =) === To unsubscribe, send email to [EMAIL

[JAVA3D] "rotating" background

2003-06-10 Thread Flavius Alecu
Right now I have a static background in my J3D app. But the background is the same all over. Is it possible to have a large bitmap as a bakground so when you rotate the view, you see other parts of the bakground? Thanx ===

Re: [JAVA3D] FPS style navigation

2003-06-10 Thread Flavius Alecu
Thanx a lot Artur, You really helped me a great deal here, I wish I could do something in return for you =) Thank you Flavius === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "sign

Re: [JAVA3D] FPS style navigation

2003-06-09 Thread Flavius Alecu
Hi Artur, never mind my last question, I've fixed it...the applet needed permission to use a robot. However, I'd like to ask you some other questions and I hope you have the time and want to answer them. First, when I run my applet with freelook, the cursor is always positioned in the middle of

Re: [JAVA3D] FPS style navigation

2003-06-09 Thread Flavius Alecu
wow, thanx a lot..this si really great..however, I have a problem with your class and I don't know if it's my computer...well I'm almost sure it is but maybe you know how I can solve this. I used the FreeLook class as you explained and everything works ok except one thing, when I move the mouse

[JAVA3D] FPS style navigation

2003-06-08 Thread Flavius Alecu
I'm currently working on a project in school where I have to desing the whole school in J3D. I was wondering if it's possible to re-write the keynav behavior in such way to act similar to the commercial FPS games today, like quake, unreal and so on. Like you all know, when using keynavigator you