Pasi Paasiala wrote:
> Lee Dixon mentioned that I'm using triangles. It seems that I am but not on
> purpose. Would it be possible to write a method that would convert any shape
> that is built from triangles to a shape that would merge neighbouring
> triangles to a polyline when the triangles ha
So, why don't you use the class : com.sun.j3d.utils.geometry.NormalGenerator
There exists a method generateNormals(GeometryInfo geom), which should
set up the normals.
Happy hacking
Joerg
HAroldo Pereira wrote:
>
> Hi
>
> I waited that Java3D calculated for the user the vector of
I've a problem I dont know how to solve. Can anybody please help
me !
The problem is that I load a number of VRML models. I want to scale
one at the time and make it scale around its center. The idea is that
a whole ship consists of a number of blocks and that I want to inspect
how each block fit
Hello,
The same things happens here, see the screen
capture.
Armel
***
Collectif Sans Nous
L'armée peut et doit se passer de nous !
http://www.sansnous.org
« Nous sommes nombreux à être appelés,
nous serons nombreux à résister ! »
*
No, I have not tried to play with the clipping. I don't really know how to.
This is the constructor that I am using, which parameter affects the clipping?
public SpotLight(Color3f color,
Point3f position,
Point3f attenuation,
Vector3f direction,
You guys are missing the point here. This behavior is by design. The
documentation says that with polygon mode set to POLYGON_LINE, lines are
drawn between successive vertices. When you triangulate the polygon,
successive vertices aren't just the border.
If you want outlines of polygons, use a
Hi !
> > Hi Justin, when I tried to run the executable to install it, it gave me a
> > "Package for the Web" error.
> Anybody else seen this/care to comment? I've only got an NT and Linux
> box at home so I can't test the DX install routines.
I just saw the same thing on my screen and still have
I want to create a Texture2D object from a color indexed image.
The image is 1024 by 1024 and has a 256 colour palette with each element
in the image data indexing the color palette.
I have the following data structures:
// The palette
byte redPalette[256];
byte greenPalette[256];
byte bluePalet
Could it be that C:/TEMP is full? I've had that problem before when trying
to install various packages with a similarly useless error message.
> -Original Message-
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Köhne
> Sent: Tuesday, May 23, 2000 7
Hi
What is the diferent beteween GeometryInfo and QuadArray,
TriangleArray..(class extends of class Geometry).
[]s
Haroldo
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===
Thanks Dan for all your help!
Now I have found out what is wrong. My objects are boxes created in 3D
Studio Max. I have imported them into Java as VRML-objects. The sides of
these boxes had too few polygons for the spotlight to enlighten them at a
short distance.
Apparently all corners of a polygo
What is the best way to detect the Java3D version at runtime?
It would be nice if that was a system property, but on Windows NT this doesn't seem
to be the case.
Any hints appreciated.
Thanks, Christoph
===
To unsubscribe,
Hello,
I'm new to Java 3D and I'm trying to build an interactive 3D-user interface. I've had
no problem with displaying all the objects and moving through the universe. The
problem I'm having is getting a reference to the object that has been picked - I am
able to change the appearance of a pi
Does anybody know where to find the specs for the .3DS file format? The
links to the format from the Loader Archive page are no longer valid.
J. Lee Dixon
Software Engineer
SAIC - Celebration, FL
[EMAIL PROTECTED]
===
To
please send me the details of the course
thank you
prabhakaran
hawn Kendall wrote:
> Wow! I just want to say thanks to everyone that responded to my post.
>
> It seems like everyone's ideas fall into two categories. One, learning
> 3D in general and two, learning Java3D. Most likely any cou
Hi Pasi,
In this case you can use QuadArray instead of TriangleArray
to get rid of it. Note that using DirectX 1.1.3 the line will
appear even though you are using QuadArray, this is fixed
in the next DirectX release.
Thanks.
- Kelvin
--
Java 3D Team
Sun Microsystems Inc.
>From:
Hi HAroldo,
I can't reproduce the behavior problem under windows and
solaris, when I press the stop behavior button. The object
stop moving as expect. Please verify that you are using v1.2
release and not beta version.
I got some capabilities not set exception in your code,
after set
Hi Andrew,
Here are a few things that you will need to do to use multiTextures.
(1) Specify number of texture coordinates set in the GeometryArray object
(2) Specify texCoordSetMap in the GeometryArray object.
The values in the array specify the texture coordinate set within
Hi:
I'm a beginning Java 3D programmer. I've got my scene built and can
view it in my window. I can also rotate, translate and scale using the mouse.
All this took about 3 weeks of work ...
Now, I would like to center the object in the middle of the window and
set it up so I ca
Hi All,
Suppose you have loaded succesfully a VRML file
via the vrml loader. Know you want to display
the scene contents (let say a simple geometric object),
is there a simple way to do that,
a code sample is very appreciated
Thanks a lot
Naoufel
--
***
Excellent! That makes a lot more sense. Thanks for the help!
Charmaine Lee wrote:
> Hi Andrew,
>
>Here are a few things that you will need to do to use multiTextures.
>
>(1) Specify number of texture coordinates set in the GeometryArray object
>(2) Specify texCoordSetMap in the Geo
Any sample code would be appreciated.
__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
===
To unsubscribe, send email to [
I have a com.sun.j3d.utils.geometry box with textures mapped to the six
sides. I am currently viewing the cube from the outside, no problem. But
I would like to be able to look at the cube from the inside, with the
textures mapped to the walls on the inside.
Is their anyway to do this?
To the Java 3D community -
Thanks for your patience. The files that you can download for Java 3D, Version
1.1.3 for Microsoft's DirectX 6.1 are now back on the web site. Thank you all
for letting us know that they had dissappeared.
If any of you had put the .exe on your web site, please feel fre
Hi,
I am facing trouble in triangulating a surface with
one or more holes inside the surface using Java3D. I
am using the GeometricInfo and Triangulator classes in
the com.sun.j3d.utils.geometry package. I think it is
because of the problem in describing the surface
geometry including the perimet
Hi Kelvin
You dont understand my e-mail.
I wait to stop the cube when the cube colide with tetrahedron. Its dont
works. If I click in the button it works. there is a method call octree(...)
in class Tmove. In this method there is a :
" if ( dis + Math.min(filhoObjA.raio, filhoObjB.raio)
<=M
Hi,
I see the two lines in octTree() is comment out
transInterpolator.setEnable(false);
rotatorInterpolator.setEnable(false);
when I uncomment the lines, it throws:
Exception occurred during Behavior execution:
java.lang.NullPointerException
at TMove.octTree(TMov
27 matches
Mail list logo