Skip to main content

Coordinate System

1 reply [Last post]
ssid19
Offline
Joined: 2006-02-17

Hi,
Presently i can create a cone, cylinder and box with "0.5f". The code is
-----
Cone cone1 = new Cone(0.5f, 0.5f);
cone1.setAppearance(app);
yoyoTGT1.addChild(cone1);
-----
Same for box and cylinder. This program is from Java3D tutorial. But when i increase the size of the cone,cylinder,box....the entire frame is covered and i cannot see anyting except a blank screen. I want to set the dimensions like X,Y,Z to be 0 - 500. How can i do that?

Thanks
Sid

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Alessandro Borges

I guess you can:
* move your camera backwards;
* or use a mouse or keyboard behavior to move your camera freely(as
OrbitBehavior);
* or detect the scene size and move your camera as needed.

--- java3d-interest@javadesktop.org escreveu:
> Hi,
> Presently i can create a cone, cylinder and box with "0.5f". The code is
> -----
> Cone cone1 = new Cone(0.5f, 0.5f);
> cone1.setAppearance(app);
> yoyoTGT1.addChild(cone1);
> -----
> Same for box and cylinder. This program is from Java3D tutorial. But when i
> increase the size of the cone,cylinder,box....the entire frame is covered and
> i cannot see anyting except a blank screen. I want to set the dimensions like
> X,Y,Z to be 0 - 500. How can i do that?
>
> Thanks
> Sid
> ---
> [Message sent by forum member 'ssid19' (Sid)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=40731鼛
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>

_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net