Martin,
It's unclear from your message if you tried to:
1) Literally "SCALE" your object in Z only, or
2) Transform your object, or
3) Transform your viewpoint.
Either #2 or #3 would work for you. If you are applying the transform to
your object, then set the Z value to a more negative value than it
currently has. If you are transforming your viewpoint, set the Z to a more
positive value than it currently has.
You can also try this (where "myUniverse" is defined as your SimpleUniverse):
myUniverse.getViewingPlatform().setNominalViewingTransform();
You may also want to try setting your near and far clip planes. Remember
the units in Java3D are in meters so if your VRML file is in millimeters
you are likely inside a very, very large object and may not see it even
with the nominal viewing transform (I believe) due to the clip plane values.
If this is the case you can either adjust the clip planes or scale down
your object (similar to #1 above, but in all axes).
--Mark
At 06:44 PM 9/29/2000 +0800, you wrote:
>I have tried to make a Tramsform3D with different scale in Z, but I only
>can see a black screen too. I'm not familiar with JAVA3D, so can you
>tell me more how can I do?
>
>Martin Chan
>
>Shaun Shepherd wrote:
> >
> > After looking at your code, I think your viewpoint is in the vrml object
> > looking out. Try translating the camera out in the z direction by about 30
> > and see if the object is visible.
> >
> > Shaun S.
> >
> > ----- Original Message -----
> > From: "�� ti" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, September 28, 2000 11:44 AM
> > Subject: [JAVA3D] Problem with VRML
> >
> > > When I loaded a VRML scene, the Frame start but it only show a BLACK
> > > screen. Did you know what's the problem with it? The source and the
> > > "2.wrl" can find in http://www2.ee.cuhk.edu.hk/~s987061/fyp/
> > > Thanks.
> > >
> > > Martin Chan
> > >
> > >
> > ===========================================================================
> > > 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 "help".
> > >
> >
> > ===========================================================================
> > 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 "help".
>
>===========================================================================
>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 "help".
Mark Ferneau 240-462-6262 (cell)
Director of Adv. Technology 801-437-4608 (efax)
Xtivia Technologies, Inc. 732-469-5954 x629 (NJ office)
[EMAIL PROTECTED] 301-279-5703 (home office)
http://www.xtivia.com/ [EMAIL PROTECTED] (wireless email)
===========================================================================
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 "help".