Kevin hi,
 
Do you mean that the radius of a BoundingSphere implies on the size of the loaded object (geometry) and the center point on the location ?
 
David
----- Original Message -----
Sent: Tuesday, September 02, 2003 7:44 PM
Subject: Re: [JAVA3D] Determine the size of an object?

The bounds of node should tell you this. Although its not always that accurate in my experience.

Kev

Dudi gil wrote:
hi,

How can I determine the size of a loaded model and that of the environment??

David Gil
----- Original Message -----
From: "Dudi gil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 5:46 PM
Subject: Re: [JAVA3D]


  
Thanks John, I'll check your suggestions and will see.

David Gil

----- Original Message -----
From: "John Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 2:10 PM
Subject: Re: [JAVA3D]


    
There are several reasons you may not be able to see your model.  Most
likely is the size.  How big is your model?  Are you inside it?  You say
"I pointed the viewer to that 0.0 after I took it alittle back", but is
your object hundreds or thousands of units big and you only stepped back
a few units?

Another common issue is making a model with no material (thus invisible
- we don't even load it).

- John Wright
Starfire Research

      
Dudi gil wrote:

hi,

I'm using the "com.mnstarfire.loaders3d.Loader3DS" to load a .3ds
model and I see nothing.
It's there, but I can't see it.

Here is what I did:

1. Create SimpleUniverse.
2. Create SceneGraph with BranchGroup and 2 TransformGroup(scale and
position).
3. Add it to the universe.
4. Create 3DS loader and load the scene
5. Retrieve the BG root
6. Add it to the bottom most TG.
7. Add default lights (2 directional and 1 ambient).

I checked the absolute position of the loaded sub tree and it's 0.0 so
I pointed the viewer to that 0.0 after I took it alittle back.
I set the back and front clip to 100, 0.1 as well. still nothing.

Please if someone can help I'll be very grateful.

Thanks David.


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

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

Reply via email to