examples

View: New views
16 Messages — Rating Filter:   Alert me  

examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

I'm new to Java 3D. I'm reading Sun's API but I think it is not for beginners.
Can anyone recommend me a site of that contains simple code example of building simple 3D shape.

Thank u in advance
Eyal
[Message sent by forum member 'eyal757' (eyal757)]

http://forums.java.net/jive/thread.jspa?messageID=207293

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.
As a basis, i think that doing 3D is not for beginners, but the good side is that using a scenegraph API like java3D is much more user friendly and easy that going to the display API (choose from opengl or directx)
Once some basic pitfalls encountered (presence of a light, position of the camera, rotation of the camera), you can get rapid and very good self-satisfaction.

For the most common 3D shapes, you can use the ones that are included in the API, ;
http://download.java.net/media/java3d/javadoc/1.5.0/com/sun/j3d/utils/geometry/package-summary.html

If you need other than those, they are not that common, but we can certainly help.
[Message sent by forum member 'pepe' (pepe)]

http://forums.java.net/jive/thread.jspa?messageID=207297

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you pepe,

But that not what I had on mind. You see I know how to program Java but now I want to move from Java2D to Java3D and I'm looking for some example. There is no beginners example in Sun's "Getting started with tha Java 3D API". Lets take for example a pyramid. I don't know how build it or or the x,y,z axis etc. some basic example for beginner in order to get a feeling and to get started. So do usites like this?

Thanks
Eyal
[Message sent by forum member 'eyal757' (eyal757)]

http://forums.java.net/jive/thread.jspa?messageID=207310

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did not intend that you did not know how to program, but i just put emphasis on the fact  that 3D was not for beginners anyway.

For a pyramid, you generally create a cone that has 4 sides, which can be done from the classes i referenced earlier.

You can find an official tutorial here http://java.sun.com/developer/onlineTraining/java3d/index.html

There are the official examples that you can download and learn from, that are part of the project. https://j3d-examples.dev.java.net/

There is the http://www.j3d.org website, but i think it is really showing its age and its faq is sometimes inaccurate and/or wrong due to that so take things with a grain of salt. There are tutorials there too.
[Message sent by forum member 'pepe' (pepe)]

http://forums.java.net/jive/thread.jspa?messageID=207313

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank u pepe

But tell me please - I don't see any link or program that I can download from
j3d-examples (at https://j3d-examples.dev.java.net/). where I can see the example programs?

and another Q please. How can I see the x,y,z axis with Java3D?

Thank u
[Message sent by forum member 'eyal757' (eyal757)]

http://forums.java.net/jive/thread.jspa?messageID=207315

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

you can browse them through the cvs web browser here
https://j3d-examples.dev.java.net/source/browse/j3d-examples/
but to download them as a pack, you will need to follow instructions on top of that very same page.

There are sources that can be downloaded in the "source and document" section of the project, but they are VERY old.
Maybe someone at sun (kevin? chien?) that has the rights should update that part of the downloads so that the sources can be downloaded from there, or at least so that old thingies are removed.
[Message sent by forum member 'pepe' (pepe)]

http://forums.java.net/jive/thread.jspa?messageID=207316

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank u very much pepe.

U helped me a lot.

By the way do u have an answer on my x,y and z axis, I mean any ideas or somthing?

Thank u
[Message sent by forum member 'eyal757' (eyal757)]

http://forums.java.net/jive/thread.jspa?messageID=207318

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The object in itself is not hard to do, if you think about something like that.http://www.whiterockscience.com/moritz/axis_3d.html
Some cones, some cylinders, all correctly placed.

Difficulty might come of what you want to do with it.

Check that for a helper about the object itself.
http://code.j3d.org/javadoc/org/j3d/renderer/java3d/geom/Axis.html
[Message sent by forum member 'pepe' (pepe)]

http://forums.java.net/jive/thread.jspa?messageID=207321

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks pepe

U really helped me a lot
[Message sent by forum member 'eyal757' (eyal757)]

http://forums.java.net/jive/thread.jspa?messageID=207323

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can download Java 3D 1.5.0 examples source bundle at https://java3d.dev.java.net/binary-builds.html ( see bottom of page )

You might also want to check out the following 2 books from Dr. Andrew Davison :

"Pro Java 6 3D Game Development"  http://fivedots.coe.psu.ac.th/~ad/jg2/
"Killer Game Programming in Java" http://fivedots.coe.psu.ac.th/~ad/jg/

Draft and source code are available online.

- Chien.
[Message sent by forum member 'jada' (jada)]

http://forums.java.net/jive/thread.jspa?messageID=207325

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Chien.

By the way I want to practice Java 3D. Do u know any site/book that contains exercise and solutions? You know like any textbook on Java.

Thank a lot

Eyal
[Message sent by forum member 'eyal757' (eyal757)]

http://forums.java.net/jive/thread.jspa?messageID=207367

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Chien for the pointer.
The examples subproject should clearly show the links to download page (with anchors), otherwise it is easy to get lost. Actually, the projects only indicates that the sources can be downloaded through cvs.
[Message sent by forum member 'pepe' (pepe)]

http://forums.java.net/jive/thread.jspa?messageID=207370

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Thanks Chien.
>
> By the way I want to practice Java 3D. Do u know any
> site/book that contains exercise and solutions? You
> know like any textbook on Java.
>
> Thank a lot
>
> Eyal

..check this tutorial, .pdf format, old paper, but nice (examples, used in tutorial, also included):
http://java.sun.com/developer/onlineTraining/java3d/index.html
[Message sent by forum member 'lew' (lew)]

http://forums.java.net/jive/thread.jspa?messageID=207447

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the feedback. This will be on our task list.

- Chien.
[Message sent by forum member 'jada' (jada)]

http://forums.java.net/jive/thread.jspa?messageID=207644

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I agree 100%.
[Message sent by forum member 'tmilard' (tmilard)]

http://forums.java.net/jive/thread.jspa?messageID=207648

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: examples

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

Take a look in these books.
"Killer Game Programming in Java"
"Manning  - Java 3d Programming"

A 3d mathematics book.
"Academic - Graphics Gems"
[Message sent by forum member 'luis_martinho' (luis_martinho)]

http://forums.java.net/jive/thread.jspa?messageID=209740

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...