Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Questions 10/15/07

0 views
Skip to first unread message

aaronhi...@yahoo.com

unread,
Oct 15, 2007, 9:35:38 AM10/15/07
to
My view disappears into the blackness when I translate more than a
certain number of meters away from it.
My bounds is 3000 meters, the thing is about 20 meters wide, 5 meters
high. I have four point lights.
Is it that the lights need to have more distance, the bounds, or
what? The view seems to disappear when I get about 20 or 30 meters
away from it.

Also, how do I control the brightness of directional light and ambient
light?

Aaron Hirshberg

Alexander Gran

unread,
Oct 16, 2007, 8:26:13 AM10/16/07
to
aaronhi...@yahoo.com schrieb:

> what? The view seems to disappear when I get about 20 or 30 meters
> away from it.

Have you set your clipping distances right?

regards
Alex

--
Some operating systems are called `user friendly',
Linux however is `expert friendly'.
Encrypted Mails welcome. Send spam to toZo...@gmx.net, please.
PGP-Key at http://www.grans.eu/misc/pgpkey.asc | Key-ID: 0x6D7DD291

aaronhi...@yahoo.com

unread,
Oct 19, 2007, 7:42:59 PM10/19/07
to
> Have you set your clipping distances right?

Clipping distance is only part of the View class. I am not using a
View.

I just took the "Advanced Java 2 Platform" by Dietel Java 3D example
and used that as a blueprint to make my own Java 3D stuff.

Aaron Hirshberg

aaronhi...@yahoo.com

unread,
Nov 1, 2007, 8:52:00 AM11/1/07
to
I read the API docs very carefully and did the following.

Created a Clip object, and set the background distance to a
sufficiently large number.
Set the bounds for this clip as the SphericalBounds object I was
using. SphericalBounds is a derived class of Bounds.
Added this Clip object to my TransformGroup. Which is a derived class
of Group.

Viola!

Aaron Hirshberg

aaronhi...@yahoo.com

unread,
Nov 1, 2007, 9:00:41 AM11/1/07
to
On Nov 1, 8:52 am, "aaronhirshb...@yahoo.com"

I mean, Voila! This is not alt.music.string-instruments.

Aaron Hirshberg

Lew

unread,
Nov 1, 2007, 9:58:47 AM11/1/07
to
aaronhi...@yahoo.com wrote:
>> Viola!

> I mean, Voila! This is not alt.music.string-instruments.

Actually, don't you mean "Voilà"?

--
Lew

0 new messages