erp
> point outside triangle");
> }
> break;
>
> which I think is
> pointCoordinatesVW;
>
> not initialize properly before
> pickIntersection.getPointCoordinates();
> invoke.
>
> Please send us a complete test case to tak
Hi all,
I've recently update to j3d1.3 and jdk1.4.1
and a amazing problem occur with the ColorCube class
you can test the Bug with the SimpleUniverseLess.java
recently post by Kelvin Chung
replace the line :
import com.sun.j3d.utils.geometry.ColorCube;
by :
import com.sun.j3d.utils.geometry.*;
Hi,
in the mailingListArchive( 07/02/2002) i've find a
mail post by Kelvin Chung
bug 4516752 - IntersectTest throws runtime exceptions
is fixed in the next v1.3 beta2 release.
But I'm getting this error with J3d 1.3 (with jdk
1.4.1)
I am getting the error "interp point outside
triangle" when I d
try this code:
x = evt.getX();
y = evt.getY();
dx = x - x_last;
dy = y - y_last;
double scaleValue = 1.0;
if (dy < 0)
scaleValue =
((-scaleFactor_*Math.abs(dy))/(scaleFactor_*Math.abs(dy)+1))+1;
else
scaleValue = scaleFactor_*dy+1;
transformX.set(scaleValue);
set this transform3D to the v
i'm actually use the "hardware method", with two clips
planes
in fact the front clip and the back clip of a camera
locate just on the cut plane.
works only with parallel projection
(see my code bellow)
but the result is not very nice
the cross section obtained is a dotted line...
there are some g
Hello I've got a basic Problem with Texture Mapping,
I search in the archives, and in the great book
written by D.Selman
but i really need help...
i would like to apply and repeat a image (128 *128)
onto a spheroid shape3D (geom = trianglearray)
without distorsion and without effect when i zoom on
Hi all
I really need some informations about the Triangulator
class and the triangleArray...
I use a geometryInfo(Polygon array)
with coordinates and indices arrays
then i triangulate it
then recomputeIndice()
so i've got a geometryInfo (TriangleArray)
i want to know each triangles and each gro
Hi all
my problem:
I want to compute the exterior normals for each
triangle of a non convex shape
I use a geometryInfo(Polygon array)
then a triangulate it
then recomputeIndice()
so i've got a geometryInfo (TriangleArray)
i try to use the normalGenerator but all "vertex
normals" seem to be orie
Hi all,
I want to compute the external normals of each
triangle of a TriangleArray (closed shape)
(in fact a GeometryInfo (PolygonArray) convert into
TriangleArray by the Triangulator utility)
I'm using the normalGenerator but with a simple test
case (tetrahedron) some of the generated normals a
hi all,
two way for do this :
first:
in your PickBehavior (you can find a exemple in the
J3d Demo)
pickcanvas = new PickCanvas(canvas,rootBG);
pickcanvas.setMode( PickTool.GEOMETRY_INTERSECT_INFO)
;
public void updateScene(int xpos, int ypos)
{
PickResult pickResult = null;
pickCanvas.setShapeL
hi all,
some time a error occur when i run my application
It' s maybe a Ogl error not a j3D error but I'm not
sure.
the output :
wgl CreateContext failed : a init method of a DLL
failed
the only solution to solve this problem when it occur
, it's to reboot my machine...
any other idea?
maybe som
hi David,
to use removeChild(),you must know the child's index.
you can store this index
or use Branchgroup.detach() instead.
Download the Java 3D Tutorial available from Sun,
complete with examples!
http://java.sun.com/products/java-media/3D/collateral/
There is a french translation of the tut
Hi all,
I'm also very interrested about this subject
I think olivier want to compute the mathematical area
of the shape :
you must make the sum of the areas of each triangle.
and for the mathematical volume,
i think it's more difficult...
perhaps with a octree method and test for each cell if
it'
hello ,
use the scale factor of a TG... in the scene, or in
the view branchGraph.
if you want to make your own MouseScaleBehavior
instead of the MouseZoomBehavior, be carefull the
minus scale is between 0 to 1 and the plus scale is
between 1 to infinity,
you can look the source code of the MouseZo
Hi all,
I have just a simple question,
why the method "transformChanged" or the
MouseBehaviorCallback system doesn't exist in this
class (orbitBehavior)???
how can i get the transform3D apply
to the Viewing plateformTG??
(without modifying the source code and add my own
method TransformChanged!)
hello,
They are many mails post in the archive about this
behavior
but i've don't find the same Bug...
i've download the 1.3beta OGL version and i have a new
bug in my application with the OrbitBehavior
(com.sun.j3d.utils.behaviors.vp.OrbitBehavior)
the behavior only work (wake up) with the can
Hello,
i can't use the last beta version(1.3b2) with my jdk
1.3.1_03
i can't compile the j3d demo or my own code (with j3d
import!)
the compiler don't find the package "java.nio." but
the code never call this package, it's very weird...
(compiler output at the end of mail)
and it's work fine with
Fabio
>
>
>
> > -Original Message-
> > From: R CM [mailto:[EMAIL PROTECTED]]
> > Sent: segunda-feira, 27 de maio de 2002 06:16
> > To: [EMAIL PROTECTED]
> > Subject: [JAVA3D] OrientedShape with multiple
> views : bug?
> >
> >
> >
hello,
the J3D API doc say for the OrientedShape class:
"It is similar in functionality to the Billboard
behavior, but OrientedShape3D nodes will orient
themselves correctly for each view, ... "
if i have only one view, it's work well, but
when i use a oriented Shape with 4 differents views in
hi
i want to make a panel with several "shapes previews"
in a gridLayout
and be able to select one and import it in my viewer.
how design my code :
one universe for each preview and one more for the
viewer?
one universe for all the previews, with several
cameras (and canvas 3D), and one more for
hi all,
I've already ask some help about this subject, but i
need more help
i'm want to move a cut plane on a shape and getting
the cross-section in a other canvas (2D or 3D)
I use the front clip and the back clip of the camera
as cut plane, and the camera is locate juste in front
of the cut pl
hi all,
can I apply two differents textures on the both sides
of a shape 3D?
does I need to make two shapes and place them back to
back?
or anyone have a better solution ?
Thanking you in advance for your help.
Renaud
___
Do You Yahoo!?
> the cross section.
> If you use ModelClip then the clipping will also be
> seen on other cameras in
> the scene.
>
> R CM schrieb:
>
> > hi all,
> > I'm looking for some help or some code exemples
> >
> > i'm want to move a cut plane on a shape
hi all,
I'm looking for some help or some code exemples
i'm want to move a cut plane on a shape and getting
the cross-section in a other canvas (2D or 3D)
i think i must use the modelClip class but i'm not
sure and I dont understand how it's work...
i have already try to use a camera locate on
24 matches
Mail list logo