Skip to main content

added BranchGroup only sometimes visible

4 replies [Last post]
bryanr
Offline
Joined: 2006-08-28
Points: 0

When I add a new new BranchGroup to my scene (Switch), it only sometimes shows up, depending on where I try to place it. If I nudge my scene by either zooming or rotating it, I can see my object (a Sphere). It stays visible thereafter. Why are there always these inconsistent invisible areas in my scene where objects don't show up until I change the orientation of the scene? My view policy is VISIBILITY-DRAW-ALL. Is this some sort of clipping problem? Any hints would be greatly appreciated. Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
schultjd
Offline
Joined: 2006-08-30
Points: 0

After looking into listed Issues after posting here it looks like my problem may be listed as Issue #205.

Text3D not always drawn correctly on startup.

"On investigation we are certain that this is an OrientedShape3D bug. Occasionally it's transform can get corrupted at start up. Interestly, this bug can be reliably reproduce with the -Xcompile option, ie. java -Xcompile TestCase. We have verified that adding an OrbitBehavior to TestCase.java, the transform is corrected on the subsequence rendered frame."

This is posted as a P4 bug for 1.5.1 release.

Dmitri Darine

> Is this some sort of clipping problem?
>
>
I don't think so.

Apparently I have the same problem. Sometimes it is enough to just click
on Canvas3D to make the scene visible.

I suspect the following:
I don't use Behavior thread to connect my nodes during initialization.
Can it be the problem? Do you do something similar?

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

schultjd
Offline
Joined: 2006-08-30
Points: 0

I have a similar problem with Text3D that are added to the scenegraph as OrientedShaped3D objects. Most of the time (60-70%) they appear when the scenegraph goes live. The rest of the time they are not visible until the scene is nudged. I know its not clipping because if I invoke the app with exactly the same data again the Text3D objects appear with no nudging. Any ideas?

messengers
Offline
Joined: 2004-04-18
Points: 0

You will need to post a test case we can look at.
[i]
Is this some sort of clipping problem?[/i]

probably not.

regards