Your strip counts should be:
int[] strips = new int[]{4, 4};
and countour counts should be:
int[] countours = new int[]{2};
Matti.
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of aant
Sent: 11. maaliskuuta 2004 17:45
To: [EMAIL PROTE
I afraid I don't understand the Javadocs of J3D 1.3.1 really ... what do I
have to do when I want to get the behavior like it is known from J3D
1.2.x? How do I have to tell the API to generate the mipmaps? In version
1.2.x it worked fine when setMinFilter(Texture2D.NICEST) and
setMagFilter(Texture2
Michael Pfeiffer wrote:
What mipmap-levels do you mean exactly? setBaseLevel(0) and
setMipMapMode(Texture.BASE_LEVEL) doesn't helps either...
This is correct behaviour. In order for filtering to work, it must have
something to filter with. Filters only apply when mip mapping is
functioning as it fi
What mipmap-levels do you mean exactly? setBaseLevel(0) and
setMipMapMode(Texture.BASE_LEVEL) doesn't helps either...
On Tue, 10 Feb 2004 12:14:33 -0800, Alan Hudson <[EMAIL PROTECTED]> wrote:
Michael Pfeiffer wrote:
Because setTextureCoordinates(Point2f) caused deprecation warnings with
J3D 1.3.
Michael Pfeiffer wrote:
Because setTextureCoordinates(Point2f) caused deprecation warnings with
J3D 1.3.1 and because texture mipmapping doesn't works I modified the code:
GeometryInfo MyGInf=new GeometryInfo(GeometryInfo.QUAD_ARRAY);
MyGInf.setTextureCoordinateParams(1,2); // NEW
MyGInf.setTextur
Isn't there a problem with the Blender-fileformat? AFAIK there doesn't
exists a J3D loader for it. Additionally - and thats really poor - there
also doesn't exists a specification about his format so that it wouldn't
be easy to load such files.
On Tue, 6 Jan 2004 14:50:57 -0500, Todd J. <[EMAIL PRO
Hi.
Do you intend to have realistic looking bones? If so, then you will
want to use modeling software (http://blender.org for example) to
create your 3D models and then import the models into your Java3D
scene. It's not easy to create complex organic shapes mathematically
in raw Java3D.
Best luc
Hi
Sometime back you wrote that you have a code that generates a rounded stick like
object.Vis a vis that message,I want to know,how can I implement irregular surfaces in
java 3d for developing a structure of human bones...
Kindly help me out.
On Mon, 08 Dec 2003 Paul Pantera wrote :
>I can hel
Paul Pantera wrote:
I can help you with GeometryInfo problems.
I have some code that generates a 'rounded stick' like object I use for
creating molecular stick models. The GeometryInfo class interests me and
looks like it could save me a lot of work. That is if I could get it to
work.
Case 1:
de
I can help you with GeometryInfo problems.
I have some code that generates a 'rounded stick' like object I use for
creating molecular stick models. The GeometryInfo class interests me and
looks like it could save me a lot of work. That is if I could get it to
work.
Case 1:
def createNormals(self)
Michael Pfeiffer wrote:
Doesn't work
Case 1:
def createNormals(self):
gi = GeometryInfo(GeometryInfo.TRIANGLE_ARRAY| LineArray.COLOR_3)
gi.setCoordinates(self.verts)
nm = NormalGenerator()
nm.generateNormals(gi)
si = Stripifier()
si.stripify(gi)
return gi.getGeometryArray(1,0,0)
Result:
Michael Pfeiffer wrote:
On Fri, 5 Dec 2003 10:35:38 +0100, Michael Pfeiffer
<[EMAIL PROTECTED]>
wrote:
It looks like there is a inconsistency within your vertices-array
self.verts (e.g. a triangle which consists only of three points).
Sorry, I meant a triangle which consists only of TWO points,
On Fri, 5 Dec 2003 10:35:38 +0100, Michael Pfeiffer <[EMAIL PROTECTED]>
wrote:
It looks like there is a inconsistency within your vertices-array
self.verts (e.g. a triangle which consists only of three points).
Sorry, I meant a triangle which consists only of TWO points, not three ;-)
But by the w
It looks like there is a inconsistency within your vertices-array
self.verts (e.g. a triangle which consists only of three points).
But by the way, why don't you use a Cylinder for this kind of "rounded
stick"?
On Fri, 5 Dec 2003 02:19:39 -0700, Chris Fenton <[EMAIL PROTECTED]>
wrote:
I have some c
Hello everyone,
I've got problem with texturing GeometryInfo.
I have cod like this:
Point3f p1 = new Point3f(0.5f, 0.5f, 0.0f);
Point3f p2 = new Point3f(0.5f, 0.0f, 0.0f);
Point3f p3 = new Point3f(0.3f, -0.3f, 0.0f);
Point3f p4= new Point3f(-0.3f, -0.3f, 0.0f);
Point3f p5 = new
Hi,
I think the problem is that you didn't set
stripCountArray and countourCountArray by the methods, setStripCounts(int[]) and
setContourCounts(int []), before you extracted the GeometryArray
from GeometryInfo.
Greg
- Original Message -
From:
Frank
Bellegarde
To: [
There is something weird here...is the problem case dependent ?
I went back and checked whether the USE_COORD_INDEX_ONLY bit was
ignored when you retrieve an IndexedGeometryArray from GeometryInfo.
As I indicated previously, in my special case at least, IT IS NOT.
IIRC, if you run NormalGenerator
Chien Yang wrote:
> Artur,
> Thanks! It looks like a Java 3D util. bug. A bug report has been
> file for your tracking :
>
> Bug Id: 4666597 - GeometryInfo - usecoordonly bit is discarded in
> convertToIndexedTriangles().
I suppose that it has something to do with NormalGenerator. Without
Artur Biesiadowski <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] GeometryInfo - CoordIndexOnly and other problems
> To: [EMAIL PROTECTED]
> MIME-version: 1.0
> Content-transfer-encoding: 7bit
> X-Accept-Language: en-us, en
> Delivered-to: [EMAIL PROTECTED]
> User-Agent: Mozilla/5.0 (
Raj Vaidya wrote:
> Hi Artur,
>
> When you are *retrieving* the IndexedGeometryArray from the
> GeometryInfo, are you specifying the flag "USE_COORD_INDEX_ONLY"
> as a parameter to geomInfo.getIndexedGeometryArray( flag..) ?
> IIRC, it also takes other flags such as NIO, ByRef, etc.
Yes, I'm doin
Hi Artur,
When you are *retrieving* the IndexedGeometryArray from the
GeometryInfo, are you specifying the flag "USE_COORD_INDEX_ONLY"
as a parameter to geomInfo.getIndexedGeometryArray( flag..) ?
IIRC, it also takes other flags such as NIO, ByRef, etc.
If you're already aware of it, then please
> Delivered-To: [EMAIL PROTECTED]
> X-Accept-Language: en
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Mon, 15 Oct 2001 01:12:45 +0300
> From: Kostantinos Rekalidis <[EMAIL PROTECTED]>
> Subject: [JAVA3D] GeometryInfo class
> To: [EMAIL PROTECTED]
>
> Hi all
> I was wondering how
The Stripifier rearranges the data to get the longest strips possible.
It does not preserve the order that you inputed the
coordiates/triangles. Your code is behaving as expected.
andrea
Lan Wu-Cavener wrote:
>
> Sorry that I didn't include the full code. Here I attach two files to show
> the
Sorry that I didn't include the full code. Here I attach two files to show
the problem I have.
The triangle vertices are input in the following order ( (1,2) (3,4) - ()
represents a block, ea. contains 2 triagles
(5,6) (7,8)
Lan,
I'm not sure I understand exactly what you are asking. The code you
have below does not call the Stripifier at all. However, you should set
the color of your data before you call the stripifier. Color
information is used for building strips. Please send me a short demo
program if you are
rom: Jean-Marie Dautelle <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] GeometryInfo Bug?
>Comments: To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>
>Hi,
>Sorry Daniel. But it doesn't work!
>Here is the wireframe obtained: (See attached file: shape1.JPG)
>For the solid versi
10:16:55 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Jean-Marie R Dautelle/RES/Raytheon/US)
Subject: Re: [JAVA3D] GeometryInfo Bug?
Jean-Marie,
Here is a short example. As you discovered the documentation for this
feature is not very useful...!
Sincerely,
Da
Jean-Marie,
Here is a short example. As you discovered the documentation for this
feature is not very useful...!
Sincerely,
Daniel Selman
[EMAIL PROTECTED]
Tornado Labs Ltd.
http://www.tornadolabs.com
generate a surface from 10 vertices and create a hole in the surface by
removing
a hole def
28 matches
Mail list logo