Hi,

Did U set the PhysicalBody on the View ?

I you haven't done so already, do:

myView.setPhysicalBody(myBody);


Raj Vaidya



>On Sat, 23 Mar 2002 16:41:34 +0000, Grace S <[EMAIL PROTECTED]> wrote:

>Hi, I have the following code to read in values from �cube.obj� and output a
>cube from this.
>

>But when I try to run the program I get the following error
>
>java.lang.IllegalStateException: PhysicalBody is null
>at javax.media.j3d.View.checkView(View.java:2782)
>at
>javax.media.j3d.ViewPlatformRetained.setLive(ViewPlatformRetained.java:280)
>at javax.media.j3d.GroupRetained.childDoSetLive(GroupRetained.java:2083)
>etc
>
>When I compile the code I do not get an error.  Do you know what could be
>the reason for this, is it because of the format of the file I am reading
>in.  Also do you know how I could read colour values from the file and then
>set the cube equal to this colour.
>
>Any help would be appreciated.
>Thanks.
>
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
> ==========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to

==========================================================================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".

Reply via email to