In J3d 1.3 beta 1:
If you have an alpha blended object which is being sorted by the
transparency (not in an ordered group), and that object has geometry which
falls outside of view fustrum then the geometry will sometimes be clipped,
and sometimes will be rendered without transparency. The bound
All,
This is a virus - do not open the attachment. I have received two copies of
this over the past couple of hours so it appears to be spreading fast. The
subject and body text of the message was different in both cases, but both
included a .bat attachment (automatically converted to .zl3 by Zon
Lan,
A quick read of the JavaDoc will show you:
void setScale(Vector3d scale)
Sets the possibly non-uniform scale component of the current transform; any
existing scale is first factored out of the existing transform before the
new scale is applied.
Sincerely,
Daniel Selman
Author - "Java 3D
Sorry about that... keyboard shortcuts can bite you
sometimes...
Anyway... several testers seeing these errors
intermittently, on various platforms. Any insight would be
helpful:
An unexpected exception has been detected in native code outside the
VM.Unexpected Signal : EXCEPTION_AC
Anyone seen this? I've got a couple testers,
with various hardware cofigurations that are seeing errors such as the one
below.
If you want to deform the shape along the axis, you
need access to the coordinates.
Add the shape to a Transformgroup and center it (by
translating), so that the center of the shape is at the center of the axis
system. Then do something like
for example scaling on the x axis:
get shape's
Joerg 'Herkules' Plewe wrote:
> the bitmaps in and blowing them out to 3D again :). I roughly looked over
> the j3d things but soon lost my orientation. What is the name of that class,
> please?
org.j3d.geom.terrain.HeightDataCreator
This creates you the raw height map. To turn that into geometr
> > I'm playing around with a primitive heigthfield renderer on a regular
grid
> > loaded from an image file.
>
> Are you constructing your own, or using the one in the j3d.org
> repository. The one I have there generates from 512 square images and
> renders them quite fine with no memory problems
Thanks! Cristian,
It looks like I can not scale the cone one direction in dependent from the
other direction. the setScale is limited to uniform scale matrix in the specs.
At 05:23 PM 3/29/2002 +0200, you wrote:
>Add your cone to a TransformGroup, set the capabilities of the TransformGroup
>
>t
Allan Andersen wrote:
> Under which cirumstances can it be avoided that Java3D unindexes indexed
> geometry? If I use USE_COORD_INDEX_ONLY
>
>is
> it then certain that index buffers are used?
Have a read of the perf-guide for 1.3. It explains the best way to do a
lot of this stuff:
http://www.
Under which cirumstances can it be avoided that
Java3D unindexes indexed geometry? If I use USE_COORD_INDEX_ONLY is
it then certain that index buffers are used?
Allan
Add your cone to a TransformGroup, set the
capabilities of the TransformGroup
tg.setCabability(TransformGroup.ALLOW_TRANSFORM_WRITE);
And then, when the branchgroup becomes live, you
can use something like:
Transform3D t=new Transform3D();
tg.getTransform(t);
t.setScale(float...);
tg
" IndexedQuadArray(8, GeometryInfo.COORDINATES);"use GeometryArray.COORDINATE
"setCoordinatesIndices "
use setCoordinateIndices (argh crazy methods with Coordinate or Coordinates !!!)
" bg.addChild(iqa)"
you have to set your geometry in a shape3D before :
Shape3D myShape3D = new Shape3D();
myShape3
Hi all,
Does any know if it is planed (SUN) to develop boolean
operations for JAVA3D ...?
Regards,
Firas
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".
David,
I just got back from JavaOne, and Scott McNealy (Sun CEO) mentioned this 2
hour port in his keynote on Tuesday!
I also got a chance to see Magicosm running at the Java 3D booth. Very nice.
There was lots of interest in games for Java including J2ME/CLDC games and I
saw a nice demo of GL4J
I have a requirement for a class, similar to OrientedShape3D, that preserves
object size in screen coordinates rather than direction. Call it
"FixedSizeShape3D". Given the following scene graph:
.
|
BranchGroup
Hi,
Here's your corrected file. That error was because
you named your class PointArray, which is already defined in java3d
(javax.media.j3d.PointArray). I also needed to correct other errors (Tip: Remember that Java is a case sensitive
language). I sugest you look into some Java2 examples a
Hi, dear all:
Is there any way to change the size of a Cone object in a live scene
without using detaching/retaching BranchGroup?
I mean like using Geometry By Reference, you can change vertex corrdinates
on fly without adding the object under a BranchGroup, here I want to change
the height and
Hello,
I'm making an applet that supposed to render a
Cube, but he doesn't.
This is what I get as output:
CubeTest.java [19:1] cannot resolve
symbolsymbol : variable COORDINATES location: class
com.sun.j3d.utils.geometry.GeometryInfo
IndexedQuadArray iqa = new IndexedQuadArray(8,
thanx, it works now
one has to start somewhere!
- Original Message -
From:
Enrique
Dumas
To: [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 12:09
PM
Subject: Re: [JAVA3D] PointArray
example
Well, there are some errors in your code :
- you sould no
Enrique Dumas wrote:
> So is it better and faster to use directly non indexed geometry arrays ?
> The cost of memory in non indexed geometry is less than using indexed
> geometry ?
From everything that I've read from the j3d guys, yes. Internally j3d
unindexifies your geometry anyway, so you ma
"Don't forget J3D un-indexes indexed geometry structures before passingthem to the card"
So is it better and faster to use directly non indexed geometry arrays ? The cost of memory in non indexed geometry is less than using indexed geometry ?
___
Well, there are some errors in your code :
- you sould not call your class PointArray, thats why you have a compilation error... Call it PointArrayTest instead
- no return at createScenegraph method
- extends your class from Applet to give a sense at the init method
- ...
___
SUBSCRIBE JAVA3D-INTEREST Anonymous wrote:
> My question is :
> is it easy to add indexedTriangleStripArray geometry in the
>j3d.org.geom.IntersectionUtils.java class
I think it would be easy enough to do. Basically a combination of the
indexed geometry and the std triangle strip array code. If
Joerg 'Herkules' Plewe wrote:
> I'm playing around with a primitive heigthfield renderer on a regular grid
> loaded from an image file.
Are you constructing your own, or using the one in the j3d.org
repository. The one I have there generates from 512 square images and
renders them quite fine wit
Hello,
I have some troubles running a simple program. It
should draw three points using PointArray.
output:
PointArray.java [26:1] cannot resolve
symbolsymbol : variable COORDINATES location: class
PointArray PointArray pa =
new PointArray(3,
PointArray.COORDINATES);
26 matches
Mail list logo