[JAVA3D] X3D and Java 3D

2004-05-13 Thread Denis Chan
Title: X3D and Java 3D -How can we compare X3D and Java 3D, in terms of functionality.    -And the Pros and cons for supporting Wed 3D applications. === To unsubscribe, send email to [EMAIL PROTECTED] and include

Re: [JAVA3D] X3D and Java 3D

2004-05-13 Thread Justin Couch
Denis Chan wrote: -How can we compare X3D and Java 3D, in terms of functionality. Simple - one is a programming API, the other is a file format. With a programming API, the potential approaches to solving a problem are limitless, with a file format, you are bound by the rules and conventions of th

Re: [JAVA3D] Can't see a loaded model

2004-05-13 Thread Dudi Gil
Thanks Florin for your response, I tried to scale it (the model) down by 1/1 and other values and yet can't see anything. Is there a way (equation or method) to compute what the viewPlatfrom see (What's on screen)?? Thanks again David Gil - Original Message - From: "Florin Herinean

Re: [JAVA3D] Can't see a loaded model

2004-05-13 Thread Florin Herinean
Have you also added some lights to the scene ? Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Dudi Gil Sent: Donnerstag, 13. Mai 2004 11:09 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Can't see a loaded model Thanks Florin for your re

Re: [JAVA3D] Can't see a loaded model

2004-05-13 Thread Dudi Gil
No I didn't it's in the loaded model (The loaded BranchGroup) I checked it. I checked the location of the ViewPlatform, I think, ( Transform3D.get(Vector3f) of the parent TransformGroup ) and it's far a way from the accumulated BoundingBox of the model. So if there is a way to compute what's in th

Re: [JAVA3D] Can't see a loaded model

2004-05-13 Thread Florin Herinean
The default position of the ViewPlatform is at (0, 0, 0). If you want to see the loaded model in the center, there are two options: move the ViewPlatform or move the scene. From the point of view of the rendering engine, there's no difference. Just remember, moving the view platform is just the inv

Re: [JAVA3D] Can't see a loaded model

2004-05-13 Thread Dudi Gil
Thanks, I'll try that. David - Original Message - From: "Florin Herinean" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 1:10 PM Subject: Re: [JAVA3D] Can't see a loaded model > The default position of the ViewPlatform is at (0, 0, 0). If you want to see > the l

Re: [JAVA3D] Can't see a loaded model

2004-05-13 Thread Florin Herinean
Isn't it possible that your model is just too big ? You're sitting *inside* the model, and because of the backface culling you don't see anything. Try first to make your model smaller, i.e. to fit into a -1..1 cube and see what happens. For example, put it into a TransformGroup and set the transfo

[JAVA3D] object rendering

2004-05-13 Thread MUNDE SANDEEP VIJAYKUMAR
hi all, i have a problem, i just created a program to give create and render pot like objects (basically surface of revolution). program works fine but the object is not rendered as real world object. say if there is curvature then i can see that curvature from one side only from other side that c