[JAVA3D] texture mapping

2004-01-12 Thread Gregory Gimler
Hello, I have a question concerning java 3d 1.2.1 VS java 3d 1.3. I have not been able to upgrade to 1.3 until just recently. The problem I had was the sphere I was texture mapping with just a jpeg image would show up fine in 1.2.1 and would show up white in 1.3. The code fix was the following:

Re: [JAVA3D] texture mapping with a pattern

2003-01-31 Thread R. Carassou
xture coordinates to the vertex > definition in your > geometry. > > Cheers, > > Florin > > -Ursprüngliche Nachricht- > Von: R. Carassou [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 30. Januar 2003 18:00 > An: [EMAIL PROTECTED] > Betreff: [JAVA3D] te

[JAVA3D] AW: [JAVA3D] texture mapping with a pattern

2003-01-31 Thread Florin Herinean
: [EMAIL PROTECTED] Betreff: [JAVA3D] texture mapping with a pattern Hi all, i need some help with texture... who can give me a good recipe (or code exemple) to add a texture (repeat a pattern) onto a triangleArray. see my code below i haven't found a complete tutorial about texture, if someone

[JAVA3D] texture mapping with a pattern

2003-01-30 Thread R. Carassou
Hi all, i need some help with texture... who can give me a good recipe (or code exemple) to add a texture (repeat a pattern) onto a triangleArray. see my code below i haven't found a complete tutorial about texture, if someone know a good link, it's would be great. Thanks in advance Regards Renau

Re: [JAVA3D] texture mapping

2002-09-10 Thread Alex Hew
helps.   -Alex- - Original Message - From: ajaxinc To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 5:02 PM Subject: Re: [JAVA3D] texture mapping Hi Alex,   I tried what you have suggested. It works to some extent ie. the texture was loaded

Re: [JAVA3D] texture mapping

2002-09-10 Thread ajaxinc
Hew To: [EMAIL PROTECTED] Sent: Monday, September 09, 2002 6:23 PM Subject: Re: [JAVA3D] texture mapping Hi Ajax,   TextureLoader load = new TextureLoader("c:/model/grass.jpg", null);Texture text = load.getTexture();    Appearance app = new

Re: [JAVA3D] texture mapping

2002-09-09 Thread Alex Hew
al Message - From: ajaxinc To: [EMAIL PROTECTED] Sent: Monday, September 09, 2002 8:32 PM Subject: [JAVA3D] texture mapping what is the simplest way to texture map a jpg over a shape3D

[JAVA3D] texture mapping

2002-09-09 Thread ajaxinc
what is the simplest way to texture map a jpg over a shape3D

Re: [JAVA3D] texture mapping

2002-08-20 Thread Joachim Diepstraten
> I was wondering what the restrictions on the detail of texture mapping with > Java3D were. I would like to map a high resolution earth tiff file onto a > VRML sphere using Java3D but the tiff file is over 100MB. What exactly are The problem is normaly texture format which the hardware can handl

[JAVA3D] texture mapping

2002-08-20 Thread Gregory Gimler
I was wondering what the restrictions on the detail of texture mapping with Java3D were. I would like to map a high resolution earth tiff file onto a VRML sphere using Java3D but the tiff file is over 100MB. What exactly are the limitations and best methodologies for doing this? Thanks.

Re: [JAVA3D] texture mapping using image with black background

2002-06-18 Thread Lan Wu-Cavener
Original Message - >From: "Lan Wu-Cavener" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, June 14, 2002 8:25 AM >Subject: [JAVA3D] texture mapping using image with black background > > > > Hi, all: > > > > I have a simple quest

Re: [JAVA3D] texture mapping using image with black background

2002-06-14 Thread Russell Power
ULATE ); ta.setTextureBlendColor( 1.0f, 1.0f, 1.0f, 0.0f ); --russell - Original Message - From: "Lan Wu-Cavener" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 8:25 AM Subject: [JAVA3D] texture mapping using image with black background >

[JAVA3D] texture mapping using image with black background

2002-06-14 Thread Lan Wu-Cavener
Hi, all: I have a simple question. I am using a tree image (jpg file) with black background to do texure mapping. How can I make the black background color change to my current background color which is light blue(sky color)? I have noticed that all the texture mapping I found are using the exa

Re: [JAVA3D] Texture mapping

2002-06-13 Thread Nathan Bower
ar you cry? Yep well thats the wacky world of computers for you... N - Original Message - From: "Vidya Sagar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 6:44 AM Subject: [JAVA3D] Texture mapping > Hi all, > > First of all sorr

[JAVA3D] Texture mapping

2002-06-12 Thread Vidya Sagar
Hi all, First of all sorry, for reposting this message. I have a basic question for you. What exactly is harware texture mapping. why texture mapping depends on hardware and what is the role the hardware in the concept of texture mapping? Thanks in advance, Sagar.

[JAVA3D] Texture Mapping (High-res earth images)

2002-05-09 Thread Zak Nixon
Group: I have a .jpg of the earth that I am texture mapping to a sphere. This is an image off of the internet, and is of poor quality. Whenever I zoom in closer, it is really pixelated. Is there anyway to solve this, or do I need a higher-res image. I need this earth to be highly detailed

Re: [JAVA3D] texture mapping?

2002-04-15 Thread John Wright
imensions on-the-fly. > > Thanks again > > Sam > > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of David Rush > Sent: 14 April 2002 17:14 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] texture mapping? > >

Re: [JAVA3D] texture mapping?

2002-04-14 Thread Sam Hocking
ECTED] Subject: Re: [JAVA3D] texture mapping? Sam, No you are right the filters do not alter the shape in any way. They work by either using point sampling of neighbouring texels and using that colour, or by interpolating among neighbouring texels, depending on which mode you choose. Hmmm I'

Re: [JAVA3D] texture mapping?

2002-04-14 Thread David Rush
April 2002 17:03 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] texture mapping? Hi David, Will setMag/MinFilter resize the *shape* to fit the image dimension that will map onto it though? From what i can gather it doesn't. An easier way for me to explain it might be to assume i have one image whic

Re: [JAVA3D] texture mapping?

2002-04-14 Thread Sam Hocking
Behalf Of David Rush Sent: 14 April 2002 16:27 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] texture mapping? Hello Sam, You probably know already but remember your images must be a power of 2 in width and height otherwise you'll get an exception. How the texture maps to the shape is deter

Re: [JAVA3D] texture mapping?

2002-04-14 Thread David Rush
ssion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Sam Hocking Sent: 13 April 2002 19:17 To: [EMAIL PROTECTED] Subject: [JAVA3D] texture mapping? Hi, I'm pretty new to Java3D side of Java (few months) but thanks for your help recently. I'm having trouble using TextureLo

[JAVA3D] texture mapping?

2002-04-13 Thread Sam Hocking
Hi, I'm pretty new to Java3D side of Java (few months) but thanks for your help recently. I'm having trouble using TextureLoader to load digital artwork in jpg format to then map to various box shapes (i.e. picture frames) in the scene. However, i need these box shapes to be created with the sa

[JAVA3D] Texture mapping for MRI/CAT data

2002-04-11 Thread Sandra Arthurs
Hi, I would like to display a slice or a set of slices of MRI data. Is the easiest/best way to do this- by creating a BufferedImage for the slice I want and doing a 2D texture map? I am trying to avoid having to copy the data for each slice I want to view. Is there a way to setup the data stru

[JAVA3D] Texture mapping and transparency

2002-02-10 Thread Vidya Sagar
Hi all, I am working on vol vis. I have used 2D texture mapping in Java3D and created a 3D volume using a stack of GIF images mapped one behind the other. I have used binary transparency (alpha test) to render. But I am getting an anti-aliased 3D image. Could anyone explain the reason for t

[JAVA3D] texture mapping speed

2001-10-10 Thread java3d Sun
Dear Java3d-friends, I have a problem, please help me. I have a large scenegraph which contains almost 5,000 triangles, I give a texture to each triangle. I found, when my program finish setting the texture to every triangle, I can not render immediately(I use off-screen mode), I must wait

Re: [JAVA3D] Texture Mapping and Loaders

2001-09-18 Thread Joachim Diepstraten
Hi Alejandro > How can I use texture mapping with Shape3D's imported with > a Loader if I don't know what geometry types are used in > the objects? Well simply before you add the Scene to your ContentBranch of your Locale traverse through the Graph. You will hit at the end a Shape3D because it's

Re: [JAVA3D] Texture Mapping and Loaders

2001-09-17 Thread Yazel, David J.
lto:[EMAIL PROTECTED]]Sent: Tuesday, September 18, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: [JAVA3D] Texture Mapping and Loaders I sent out a message a little while ago regarding how to apply textures to Shape3D's obtained from a Loader.  So far, I haven't gotten much

[JAVA3D] Texture Mapping and Loaders

2001-09-17 Thread Alejandro Terrazas
I sent out a message a little while ago regarding how to apply textures to Shape3D's obtained from a Loader.  So far, I haven't gotten much response although I realize that people were distracted last week.   Here is my basic question:   How can I use texture mapping with Shape3D's imported

[JAVA3D] Texture mapping problems

2001-08-28 Thread Kevin J. Duling
I'm having some pretty severe texture mapping problems and I can't see what's wrong.  At http://www.users.qwest.net/~kduling/Milkshape/ at the bottom of the page is a screenshot illustrating the problem.  It seems that the first triangle is fine, but after that, it's unpredictable.     The b

Re: [JAVA3D] Texture mapping and transparency

2001-05-11 Thread nader
you should try the volume rendering example under utilities at j3d.org. but be forwarned, there are limitations/bugs that i have posted on this list but no one from sun has replied back. nader On Fri, 11 May 2001 12:29:08 -0700, Vidya Sagar <[EMAIL PROTECTED]> wrote: >Hi, > I am presently

[JAVA3D] Texture mapping and transparency

2001-05-11 Thread Vidya Sagar
Hi, I am presently working on volume rendering. I have a large data set (ctbrain.vols). I have extracted the data set into 512 slices. Now I want to use all the slices and view in 3D using the Java3D. I started using texture mapping in Java3D. I am mapping each slice one after the other(whe

Re: [JAVA3D] texture mapping

2001-01-04 Thread Yazel, David J.
Cosm Development Team > -- > From: Liming CHEN[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Thursday, January 04, 2001 7:04 AM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] texture mapping > > I try

[JAVA3D] texture mapping

2001-01-04 Thread Liming CHEN
I try to map a human face to a indexedGeometryTriangle geometry by using theTexCoordGeneration utility class to generate the texture coordinate. However I find it is very hard to map the face to where exactly it should be. I doubt if it is possible to do accurate texture mapping with TexCoordGene

[JAVA3D] Texture mapping and loaders

2000-10-28 Thread Markus Junginger
I used several loaders to import models and one big problem seems to be UVW texture mapping. Which types of mapping do they support? I heard they only support planar mapping, is that true? Who knows which loaders are most useful? Markus =

[JAVA3D] texture mapping referenced geometry example?

2000-08-09 Thread Will
does anyone have some sample code of successfully tex mapped referenced geometry that i could see? there's the GeometryByReferenceTest demo but that's only gouraud shaded (no textures). thank you Will === To unsubscribe, se

Re: [JAVA3D] Texture Mapping

2000-05-26 Thread Roberto Speranza
President, Dot Internet Solutions Inc. mailto:[EMAIL PROTECTED] http://www.dotinc.net/ - Original Message - From: "b. white" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: May 26, 2000 3:29 PM Subject: [JAVA3D] Texture Mapping > I have mapped 6 textures t

[JAVA3D] Texture Mapping

2000-05-26 Thread b. white
I have mapped 6 textures to the six faces of a cube. Fine. But I want to be able to view these images from the inside of the cube. When I do view them they appear as mirrored images. Is their anyway that I can paste the images I have to the cube (mirrored) so that when I look at the cube

[JAVA3D] Texture Mapping *.Obj Objects ???

2000-05-15 Thread Leonardo Calderon
We're working on a project: Virtual Museum using J3D, and we want to texture mapping objects that we load (*.obj). Somebody know how ???. Leo CJ. Get Your Private, Free E-mail from MSN Hot

[JAVA3D] Texture mapping problem

2000-05-03 Thread Charlie Hubbard
Can anyone help me? I am trying to texture map some geometry objects in an applet but not having much luck!!! The program uses the code below to get the image called from the init() method:   Image originalImage = getImage(getDocumentBase(), "bg.jpg"); MediaTracker tracker = new MediaTracker

[JAVA3D] Texture Mapping

1999-12-11 Thread Gary L. Graf
Hi, I am trying to map a 512x512 image as a texture onto a flat square planer object, which when projected is probably about 150 pixels wide. The plane is a QuadArray consisting of just four vertices, the corners. The problem is that when the texture is applied, it repeats itself *3 in both x an

[JAVA3D] Texture Mapping

1999-11-01 Thread Gary L. Graf
Hi, I am trying to map a texture onto a Shape3D object which is composed of about a thousand polygons stored in a GeometryArray object. I am trying to decal an image onto the shape surface but have not been successful. I can apply the texture to the individual polygons but they are so smal

Re: [JAVA3D] texture mapping question

1999-09-23 Thread Hexerei Software Creations
these instead TextureLoader(java.net.URL maybe.. possibly.. give it a try. -Ursprüngliche Nachricht- Von: ing. P.W.L. JANSSEN <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Mittwoch, 22. September 1999 10:36 Betreff: Re: [JAVA3D] texture mapping question

Re: [JAVA3D] texture mapping question

1999-09-22 Thread Olivier fillon
Original Message- From: ing. P.W.L. JANSSEN <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, September 22, 1999 8:49 PM Subject: Re: [JAVA3D] texture mapping question >CAZOULAT Renaud CNET/DIH/REN wrote: > >> > The app is failing to creat

Re: [JAVA3D] texture mapping question

1999-09-22 Thread Roberto Speranza
ons Inc. mailto:[EMAIL PROTECTED] http://www.dotinc.net/ - Original Message - From: ing. P.W.L. JANSSEN <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: September 22, 1999 6:19 AM Subject: Re: [JAVA3D] texture mapping question > CAZOULAT Renaud CNET/DIH/REN wrote: > >

Re: [JAVA3D] texture mapping question

1999-09-22 Thread ing. P.W.L. JANSSEN
CAZOULAT Renaud CNET/DIH/REN wrote: > > The app is failing to create the TextureLoader from the > > arguments you supply > > so texLod0 is null hence the null pointer exception later on. I've tried it with an other image and with a canvas3d as the observer but still the same message.As you can

Re: [JAVA3D] texture mapping question

1999-09-22 Thread CAZOULAT Renaud CNET/DIH/REN
> The app is failing to create the TextureLoader from the > arguments you supply > so texLod0 is null hence the null pointer exception later on. Exactly, as the internal BufferedImage has not been loaded (i.e. is still null), a null pointer exception is raised when trying to resize the image to

Re: [JAVA3D] texture mapping question

1999-09-22 Thread CAZOULAT Renaud CNET/DIH/REN
Hi, > This is the error message: > Error: in loading image > Error: in loading image That means the observer.checkimage has returned ImageObserver.ERROR So either the image is not there/corrupted or your implementation of ImageObserver is not correct. > texLod0 = new TextureLoader(new java.net.U

Re: [JAVA3D] texture mapping question

1999-09-22 Thread David Turland
g. P.W.L. JANSSEN <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 22, 1999 9:46 AM Subject: Re: [JAVA3D] texture mapping question > Hi Renaud, > > Thanks for your advice, but unfortunaly it didn't work. > This is my code : >public void c

Re: [JAVA3D] texture mapping question

1999-09-22 Thread ing. P.W.L. JANSSEN
Hi Renaud, Thanks for your advice, but unfortunaly it didn't work. This is my code : public void createAppearances() { Color3f black = new Color3f(0.0f, 0.0f, 0.0f); Color3f deepRed = new Color3f(0.9f, 0.2f, 0.1f); Color3f royalBlue = new Color3f(0.1f, 0.3f, 0.9f);

Re: [JAVA3D] texture mapping question

1999-09-21 Thread CAZOULAT Renaud CNET/DIH/REN
Hi, a null pointer exception in texture loader often means it cannot find the texture. Try to use the constructor with an url like : TextureLoader texLod0 = new TextureLoader(new java.net.URL ("file:sign1.gif"), new String("RGB"), this); I

[JAVA3D] texture mapping question

1999-09-21 Thread ing. P.W.L. JANSSEN
Hi all, I want to make a very simple box with a texture on it. I read in the book Ready-to-run Java 3D how to do it but I still get the error message: Error: in loading image Error: in loading image java.lang.NullPointerException at com.sun.j3d.utils.image.TextureLoader.getTexture(TextureLoader