Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread BERNUS Guillaume
Thank you Hrvoje, really thank you I had several problems and now, with your help, all is OK. I took a look on your work, that seems beautifull. Bye On 4/28/05, Hrvoje Smolic <[EMAIL PROTECTED]> wrote: > OK. Here is part of class Grass from my game in progress > (magicwoods.50megs.com): > > the c

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread BERNUS Guillaume
Thank you Hrvoje, I tried it but it didn't do it. So, if you could give me a code example... Thank you in advance On 4/28/05, Hrvoje Smolic <[EMAIL PROTECTED]> wrote: > Yes, it is possible. Just define your shape and TextureCoodinates on it. > Don't forget to define TransparencyAttributes in shape

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread Hrvoje Smolic
OK. Here is part of class Grass from my game in progress (magicwoods.50megs.com): the class define Shape3d and textureCoordinates: -- public Grass1() { Transform3D posTransform3D = new Transform3D(); Vect

Re: [JAVA3D] textures and gif transparancy

2005-04-28 Thread Hrvoje Smolic
Yes, it is possible. Just define your shape and TextureCoodinates on it. Don't forget to define TransparencyAttributes in shape's Appearance. That would do it. If you need code examples, tell me. === To unsubscribe, send email

[JAVA3D] textures and gif transparancy

2005-04-28 Thread BERNUS Guillaume
Hello, Is it possible to use the transparancy color of a gif that is used as a texture ? I use a gif with a transparancy color as texture on a shape. I'd like the shape (in fact a 2D square) to be transparent where the gif is transparent. Is it possible and how ? Thank you.

Re: [JAVA3D] Textures using TexCoordGeneration

2005-01-09 Thread Dirk L. van Krimpen
Dirk -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Tom Spencer Sent: Saturday, January 08, 2005 1:23 PM To: JAVA3D-INTEREST@JAVA.SUN.COM Subject: [JAVA3D] Textures using TexCoordGeneration Hi there, I have used GeometryInfo to create a numb

[JAVA3D] Textures using TexCoordGeneration

2005-01-08 Thread Tom Spencer
Hi there, I have used GeometryInfo to create a number of square planes for a shape and I am now trying to map a texture to these planes. I am using TexCoordGeneration to create the Texture Coordinates for the shape: app.setTexCoordGeneration(new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR

Re: [JAVA3D] Textures

2004-04-02 Thread Russell East
You're right, my code had effectively not set the texture coordinates. I was using modified versions of the helper classes and hadn't realized that I needed to add something to the flags to get the texture coordinates generated. It all works now.Thanks, -- Russell Florin Herinean wrot

Re: [JAVA3D] Textures

2004-03-31 Thread Florin Herinean
: Donnerstag, 1. April 2004 03:05 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Textures Hello, did you ever get an answer for this? I see the same thing. -- Russell Seatizen wrote: >Hello. >There is an example of creating shapes using TriangleFanArray class in the >Java3D Sun

Re: [JAVA3D] Textures

2004-03-31 Thread Russell East
Hello, did you ever get an answer for this? I see the same thing. -- Russell Seatizen wrote: Hello. There is an example of creating shapes using TriangleFanArray class in the Java3D Sun Tutorial - YoyoApp.java: ... TriangleFanArray tfa; int N = 17

[JAVA3D] Textures

2004-02-08 Thread Seatizen
Hello. There is an example of creating shapes using TriangleFanArray class in the Java3D Sun Tutorial - YoyoApp.java: ... TriangleFanArray tfa; int N = 17; int totalN = 4*(N+1); Point3f coords[] = new Point3f[to

[JAVA3D] Textures from Text2D

2003-07-27 Thread Santosh Misra
Does anyone have any tutorial or code example that allows one to create a texture from a Text2D.  I have looked in the tutorials - such a possibility is mentioned but not discussed.  I will greatly appreciate help.  Thanks.   Santosh Misra <><>

Re: [JAVA3D] textures are not behaving anymore in beta2

2002-07-08 Thread Doug Twilleager
Real Soon Now (TM). Doug Twilleager Java 3D Team Sun Microsystems >Subject: Re: [JAVA3D] textures are not behaving anymore in beta2 >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600. >Content-transfer-encoding: 7bit >X-Pri

Re: [JAVA3D] textures are not behaving anymore in beta2

2002-07-01 Thread Matt Carlson
> To: <[EMAIL PROTECTED]> > Sent: Sunday, June 30, 2002 7:05 AM > Subject: [JAVA3D] textures are not behaving anymore in beta2 > > > Hi, > > I have a mapping application that inits the scene graph with about 200 > shape3d objects. it then uses those objects to disp

Re: [JAVA3D] textures are not behaving anymore in beta2

2002-06-30 Thread Matt Carlson
when will this release be available? - Original Message - From: "David Yazel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 01, 2002 1:00 AM Subject: Re: [JAVA3D] textures are not behaving anymore in beta2 > I ran into the same problem. It

Re: [JAVA3D] textures are not behaving anymore in beta2

2002-06-30 Thread David Yazel
I ran into the same problem. It seems to be fixed in the final release (which I have tested). Dave Yazel - Original Message - From: "Matt Carlson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 30, 2002 7:05 AM Subject: [JAVA3D] textures are not beh

[JAVA3D] textures are not behaving anymore in beta2

2002-06-30 Thread Matt Carlson
Hi,   I have a mapping application that inits the scene graph with about 200 shape3d objects.  it then uses those objects to display images and geometries... so i do alot of swapping of images and geometries for my shape3d objects.   this code was working under java3d api beta1, but then cea

[JAVA3D] Textures Rotation -- Urgent

2002-03-01 Thread Vidya Sagar
Hi all, I have a set of planes mapped one behind the other having the textures (I am using a 3D texture) mapped on them. I want to rotate the rendered image. When I rotate the image, I want the textures always positioned perpendicular to the viewer. So the planes will be at the same view but th

Re: [JAVA3D] Textures and memory consumption

2002-02-25 Thread John Wright
buffered array > > > >It will be fast, and it will use very little additional memory. The > >compressed stream will not produce the same sort of compression as PNG or > >JPG, but it will load very fast. > > > >Dave Yazel > > > > > >-Origi

Re: [JAVA3D] Textures and memory consumption

2002-02-20 Thread John Wright
Alvin... sigh... yes, Microsoft seems to live with that concept. Try programming a Palm PDA some day... it's like going back in time, all of sudden you don't have "infinite" memory nor CPU power. Bigger and faster computers are great, but it's no excuse for sloppy programming. - John Wright Sta

Re: [JAVA3D] Textures and memory consumption

2002-02-20 Thread Alvin Yue
Hi Guys, Have you heard this before "the hardware keeps coming in with more RAM and bigger CPU" ,"we can always buy a bigger and faster machine", "hardware is cheap"? A lot of people are coding with this kind of flawed ideas. Alvin ===

Re: [JAVA3D] Textures and memory consumption

2002-02-20 Thread Justin Couch
Tom Lanning wrote: > 1. I am not doing any mipmapping. I leave that to the underlying system. True, but you can't guarantee it most of the time. Mipmapping is good if you are doing large scale work like terrain visualisation, but usually not worth it for smaller systems. > 2. I am measuri

Re: [JAVA3D] Textures and memory consumption

2002-02-20 Thread Yazel, David J.
age- From: Tom Lanning [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Textures and memory consumption Thanks for the suggestions. 1. I am not doing any mipmapping. I leave that to the underlying system. 2. I am measuring

Re: [JAVA3D] Textures and memory consumption

2002-02-20 Thread Tom Lanning
<[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 8:22 AM Subject: Re: [JAVA3D] Textures and memory consumption | Couple of things: | | 1. If you are mipmapping then there will be increased memory usage. | 2. Stupid suggestions, but make sure you are measuring memory after you have |

Re: [JAVA3D] Textures and memory consumption

2002-02-20 Thread Yazel, David J.
8:04 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Textures and memory consumption I am developing an application that uses a lot of large (512x512) textures. If I use something like TextureLoader and let it load the images I end up with consuming over 300M of memory ... much more than the size of

[JAVA3D] Textures and memory consumption

2002-02-20 Thread Tom Lanning
I am developing an application that uses a lot of large (512x512) textures. If I use something like TextureLoader and let it load the images I end up with consuming over 300M of memory ... much more than the size of the textures. I can reduce the memory by loading the images myself, transform

Re: [JAVA3D] Textures disappear with Sun VRML Loader

2002-01-11 Thread Josh Richmond
I'm using 1.3 beta 1 (OpenGL) on JDK1.3.1_01 - W2K I also assumed it was the same old bug. I'm not sure why the demo code works, but the VRML scene doesn't. I spent a bit of time tracking through the source for each. The old VRML loader using a QuadArray to form a Box, whereas the demo uses the

Re: [JAVA3D] Textures disappear with Sun VRML Loader

2002-01-11 Thread Justin Couch
Josh Richmond wrote: > In my application I allow the user to toggle between 1 and 4 > viewports. To do this I remove the JPanels containing the Canvas3D's > from the JFrame, then add the appropriate JPanel(s) back. The problem > is that if I remove and then reintroduce a JPanel with an object

[JAVA3D] Textures disappear with Sun VRML Loader

2002-01-11 Thread Josh Richmond
Hi everyone, As mentioned in my last post, I have a weird bug using textures from VRML files loaded with the old Sun VRML loader. I know this loader isn't supported anymore, but I thought I'd post this question in case others have found solutions. In my application I allow the user to toggle b

[JAVA3D] Textures question

2002-01-09 Thread Dipl. Ing. Paul Szawlowski
Hi all, I have 12 bit gray images and want them to use as transparent textures. What method would be the best if you look at speed and/or memory ? (I will have about 60-100 images of format 512x512, so it's hard work for my graphics card and memory bus) 1) convert it to RGBA format and use Image

Re: [JAVA3D] Textures & hardware

2001-07-10 Thread Roberto Gutierrez
> To: <[EMAIL PROTECTED]> > Sent: Saturday, July 07, 2001 3:04 PM > Subject: Re: [JAVA3D] Textures & hardware > > > > Carolina, > > > > The standard answer is yes, update your video > drivers. It's certainly > > the cheapest solution. > &

Re: [JAVA3D] Textures & hardware

2001-07-09 Thread Carolina Prieto Muñiz
Thank you John, I'd have to save some money to buy new hardware :) Carolina - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 07, 2001 3:04 PM Subject: Re: [JAVA3D] Textures & hardware > Ca

Re: [JAVA3D] Textures & hardware

2001-07-07 Thread John Wright
Carolina, The standard answer is yes, update your video drivers. It's certainly the cheapest solution. You might be seeing some weird problem with not enough texture memory or something. I'm not sure from your description. I've heard nothing good about the Intel 740 so if you can afford it yo

[JAVA3D] Textures & hardware

2001-07-06 Thread Carolina Prieto Muñiz
Could somebody explain me why do my aplication texture not show up correctly at my home computer but it does at the Universty´s? Both computers are similar...could it be because of the graphics card/drivers?  Texture shows up as color.e.g: Bicks look kind of like a pink blemish. I'm using  a

[JAVA3D] textures

2001-05-02 Thread Frank Bellegarde
Hello all, I know this must be basic stuff for most of you but I can't seem to manage to make the tranparency of my textures behave the way I'd like them to. I would very approciate if anyone could tell me how to get rid of all this black that takes over the transparency effect. Thank you Fr

Re: [JAVA3D] Textures and transparency

2001-04-02 Thread Uma Sabada
imeOLE V5.00.2615.200 > Content-transfer-encoding: 7bit > X-Priority: 3 > X-MSMail-priority: Normal > Date: Sun, 1 Apr 2001 16:14:25 +0100 > From: Paula Keohan <[EMAIL PROTECTED]> > Subject: [JAVA3D] Textures and transparency > To: [EMAIL PROTECTED] > > Hi all, >

[JAVA3D] Textures and transparency

2001-04-01 Thread Paula Keohan
Hi all, I've created an Appearance object from a Texture2D object. I've set the transparency attributes of the appearance also. But, when I change the alpha value, it doesn't have any effect on the appearance. Anyone got any ideas why the transparency doesn't change? Is it just not possible with

Re: [JAVA3D] Textures on uneven surfaces

2001-03-25 Thread Tang Yuguan
On 2001-03-13 at 13:45:59 +, Paula Keohan wrote: > I've got three questions to ask... > 1) When would you use Texture3D as opposed to Texture2D? In case I want the Texture to be different in dependency of Depth. Especially useful for textures created through algorithms. > 2) I've created a w

Re: [JAVA3D] Textures on uneven surfaces

2001-03-25 Thread Tang Yuguan
Hello Paula, On 2001-03-13 at 13:45:59 +, Paula Keohan wrote: > I've got three questions to ask... > 1) When would you use Texture3D as opposed to Texture2D? In case I want the Texture to be different in dependency of Depth. Especially useful for textures created through algorithms.

Re: [JAVA3D] Textures and JInternalFrame

2001-03-19 Thread Kelvin Chung
priority: Normal >Date: Mon, 19 Mar 2001 18:46:17 + >From: Paula Keohan <[EMAIL PROTECTED]> >Subject: [JAVA3D] Textures and JInternalFrame >To: [EMAIL PROTECTED] > >I wonder if someone could help me please. > >I'm using a Java3D scene as a JInternalFrame objec

[JAVA3D] Textures and JInternalFrame

2001-03-19 Thread Paula Keohan
I wonder if someone could help me please.   I'm using a Java3D scene as a JInternalFrame object on a JDesktopPane object. I have a texture mapped onto an object. Everything loads okay but when I minimize and then maximize the internal frame, the texture just turns to white. How do I stop th

Re: [JAVA3D] Textures on uneven surfaces

2001-03-14 Thread Axel Groß
Hello Paula, On 2001-03-13 at 13:45:59 +, Paula Keohan wrote: > I've got three questions to ask... > 1) When would you use Texture3D as opposed to Texture2D? In case I want the Texture to be different in dependency of Depth. Especially useful for textures created through algorithms.

Re: [JAVA3D] Textures on uneven surfaces

2001-03-14 Thread Axel Groß
On 2001-03-13 at 13:45:59 +, Paula Keohan wrote: > I've got three questions to ask... > 1) When would you use Texture3D as opposed to Texture2D? In case I want the Texture to be different in dependency of Depth. Especially useful for textures created through algorithms. > 2) I've created a w

[JAVA3D] Textures on uneven surfaces

2001-03-13 Thread Paula Keohan
I've got three questions to ask... 1) When would you use Texture3D as opposed to Texture2D? 2) I've created a wire model of the outer core of an orange. I now want to put the texture of the skin of the orange onto the model. How can I do this so that it doesn't just look like a repeating pa

[JAVA3D] Textures

2001-01-17 Thread Zak
Can anyone guide me throught placing a texture(already formatted) onto a Shape3D object? I have tried the examples yet, it says that it has an error loading the image.   Zak   

Re: [JAVA3D] Textures

2000-11-03 Thread John Wright
problem? > > - Original Message - > From: "John Wright" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 02, 2000 4:56 PM > Subject: Re: [JAVA3D] Textures > > > Markus, > > > > What video card are you u

Re: [JAVA3D] Textures

2000-11-03 Thread Markus Stiller
> The workaround that I am thinking of: sell the card. ;) > (I hope somebody at 3dfx is listening) I can't. I'm only a student :) > PS: Once I resized my textures down to 256x256, the card seemed to work > decently well. I have only textures with 64x64 Pixel. ===

Re: [JAVA3D] Textures

2000-11-03 Thread J. Lee Dixon
riginal Message- From: Markus Stiller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 4:34 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Textures John, yes I have an Voodoo3 2000 card. Do you know a solution or a workaround for the driver problem? - Original Message - Fro

Re: [JAVA3D] Textures

2000-11-03 Thread Markus Stiller
John, yes I have an Voodoo3 2000 card. Do you know a solution or a workaround for the driver problem? - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 02, 2000 4:56 PM Subject: Re: [JAVA3D] Textures &g

Re: [JAVA3D] Textures

2000-11-02 Thread John Wright
Markus, What video card are you using? Voodoo 3's had defective drivers that created texture corruption similiar to what you describe. - John Wright Starfire Research > Markus Stiller wrote: > > Hallo, > > I have another problem. I have made an textured BaseLevel Objekt. Also > I have added th

[JAVA3D] Textures

2000-11-02 Thread Markus Stiller
Hallo,   I have another problem. I have made an textured BaseLevel Objekt. Also I have added the Key Navigator Object to the Scenegraph. Now the problem. If I stand ca. 2 meters with the view object by the textured object the texture not not shown correctly. Same problem if I look at texture

Re: [JAVA3D] Textures in immediate mode?

2000-09-11 Thread Yazel, David J.
Yipp! Glad I'm not crazy. Dave Yazel > -- > From: Charmaine Lee[SMTP:[EMAIL PROTECTED]] > Reply To: Charmaine Lee > Sent: Monday, September 11, 2000 1:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Textures in immediate

Re: [JAVA3D] Textures in immediate mode?

2000-09-11 Thread Charmaine Lee
.00.2615.200 > Date: Sat, 9 Sep 2000 23:56:55 -0400 > From: David <[EMAIL PROTECTED]> > Subject: [JAVA3D] Textures in immediate mode? > To: [EMAIL PROTECTED] > > I am getting some wierd behavior. If I draw a shape which has a texture in immediate (mixed) all geometry is rend

Re: [JAVA3D] Textures in immediate mode?

2000-09-10 Thread John Oliver
Hi David,   Your problem sounds similar to this bug report: http://developer.java.sun.com/developer/bugParade/bugs/4365111.html     John   - Original Message - From: David To: [EMAIL PROTECTED] Sent: Saturday, September 09, 2000 8:56 PM Subject: [JAVA3D] Textures

Re: [JAVA3D] Textures in immediate mode?

2000-09-10 Thread Gernot Veith
nough, OpenGL emulation does not have the problem. - Original Message - From: David To: [EMAIL PROTECTED] Sent: Saturday, September 09, 2000 11:56 PM Subject: [JAVA3D] Textures in immediate mode? I am getting some wierd behavior. If I draw a shape which has a texture in immediate (mixed

Re: [JAVA3D] Textures in immediate mode?

2000-09-10 Thread David
I have confirmed this behavior in the OpenGL version also.  Oddly enough, OpenGL emulation does not have the problem. - Original Message - From: David To: [EMAIL PROTECTED] Sent: Saturday, September 09, 2000 11:56 PM Subject: [JAVA3D] Textures in immediate mode

[JAVA3D] Textures in immediate mode?

2000-09-09 Thread David
I am getting some wierd behavior.  If I draw a shape which has a texture in immediate (mixed) all geometry is rendered with the texture, even retained geometry, and even geometry in immediate mode which is not textured.  Everything drawn shows up with the one texture.  Very strange.  This is

Re: [JAVA3D] textures

2000-08-01 Thread Tobias Stjernefeldt
Hi, On Tue, 1 Aug 2000, b. white wrote: > I am using TextureLoader to put .jpg's on a shape 3d. The .jpg's I have a > smaller than the shape that I map them to so java automatically stretches > them to be the right size, which is fine. However it looks like java is > carrying out some sort of bl

[JAVA3D] textures

2000-08-01 Thread b. white
I am using TextureLoader to put .jpg's on a shape 3d. The .jpg's I have a smaller than the shape that I map them to so java automatically stretches them to be the right size, which is fine. However it looks like java is carrying out some sort of blending algorithm to compensate for the informatio

[JAVA3D] Textures and Primitives

2000-07-26 Thread Broadbear Michael W. (fin1mwb)
Hello, I am having trouble setting the texture of a single surface of a primitive object. For example, I call getShape(Cylinder.TOP), and set the appearence, but the entire cylinder is textured as a result. Any help would be greatly appreciated. ...Mike B.

Re: [JAVA3D] Textures & Lights

2000-07-25 Thread François Savard
It is very important to set the TextureAttribute to MODULATE: here's a sample code to load the texture: public Appearance loadTexture(javax.swing.JApplet applet, String image){ Appearance app = new Appearance(); java.net.URL texImage; Texture tex; C

[JAVA3D] Textures & Lights

2000-07-25 Thread Víctor
Hello, I'm trying to create a box with textures on his faces and then get it lit. When I use the box without texture I can see the lights perfectly, but when I apply the texture the lights can't not be seen. Can anybody help? Thanks in advance PRISMAKER TEAM ==

Re: [JAVA3D] Textures

2000-07-21 Thread Kelvin Chung
Hi, > >1. (most important) >Is the texture memory freed when a Texture object is released? Yes, texture should be release when branch detach or the whole scene graph is removed using removeAllLocales() Thanks. - Kelvin Java 3D Team Sun Microsystems Inc. =

Re: [JAVA3D] Textures

2000-07-21 Thread G . Veith
mail: [EMAIL PROTECTED] Markus Junginger <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent by: Discussion cc: list for Java 3D APISubject: [JAVA3

[JAVA3D] Textures

2000-07-21 Thread Markus Junginger
Hi everyone The topic "textures" was briefly discussed in the Voodoo3 thread. I'm not sure about some "details". Thanks to anyone who can help me. 1. (most important) Is the texture memory freed when a Texture object is released? 2. I read, that the width and height of textures shouls be a power

[JAVA3D] Textures Problem

2000-04-12 Thread Víctor
Helo, Does anybody knows if textures stored in a .mtl file are supported by the Obj loader class. bye Víctor === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3

Re: [JAVA3D] Textures in Browsers, A Solution

2000-02-10 Thread Vladimir Olenin
FA> BUT.. i think i found the REAL answer to this problem FA> we need to provide absolute positioning in java3d code for pictures and FA> other files. FA> for instance, in my case: FA> TextureLoader bgtex1 = new TextureLoader(new string(" FA> c:\\jbuilder3\\myprojects\\theGame\\blue.jpg"),new St

[JAVA3D] Textures in Browsers, A Solution

2000-02-10 Thread Fahad Aziz
hello i was very much concerned about bringing textures in browser. but i used to receive the message that: unable to load image. i searched alot on interest group, and what i found was that this is a java3d-problem, because, trees compiles up eariler then the image to get loaded. it was suggeste

Re: [JAVA3D] textures in applets

2000-01-31 Thread Vladimir Olenin
Nope, runs just fine in both cases. Make sure that in both cases paths to the textures are written correctly. vladimir -=V=- >---<=>---< Join in Java community now! http://JavaCafe.VirtualAve.net/ >---<=>---< In your previous letter u wrote: -

Re: [JAVA3D] textures in applets

2000-01-31 Thread Chen Lu
ric Arnold <[EMAIL PROTECTED]> ^¶æ : <[EMAIL PROTECTED]> '-M"úZz : 2000"N 1OZ 29"ú "y-j"ú OßOã 11:54 O-¼ : [JAVA3D] textures in applets > Has anyone had any problems getting textures to work in an applet? If I run > the program on my computer it wor

[JAVA3D] textures in applets

2000-01-29 Thread Eric Arnold
Has anyone had any problems getting textures to work in an applet? If I run the program on my computer it works just fine, but if I try to run it off my web site the program runs, but no textures appear. Thanks for any help Eric =

[JAVA3D] Textures in 1.2B1 (summing up)

2000-01-22 Thread Daniel Selman
All, Thank you to everyone who kindly described the fix for texture mapping in the 1.2A and 1.2B1. The fix is to set a runtime property that disables "shared display contexts" which are not supported on some OpenGL hardware. Worse, they are not supported on Microsoft's software OpenGL implementa

Re: [JAVA3D] Textures with alpha and TextureLoader class ...

2000-01-19 Thread Jimmy Talbot
Hi, > As daniel explains, > gif can handle transparency !! I think he meant "alpha" transparencies, not just one transparent color. Jimmy === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the m

Re: [JAVA3D] Textures with alpha and TextureLoader class ...

2000-01-18 Thread Olivier fillon
Hi Per, >supported. Until now I have used GIF and JPEG, but neither of them >supports transparency. As daniel explains, gif can handle transparency !! In paint shop pro define a color as the transparent one and use it as required, warning: load the gif not forgetting the A component in your loadin

Re: [JAVA3D] Textures with alpha and TextureLoader class ...

2000-01-18 Thread Daniel Selman
5:37 > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Textures with alpha and TextureLoader class ... > > > Where can I find a list of the image formats that the TextureLoader > class can handle. I specifically need a format that can handle > transparency. I have tried PNG and TIF, but

Re: [JAVA3D] Textures with alpha and TextureLoader class ...

2000-01-18 Thread Jimmy Talbot
> Also, why do TextureLoader cause a crash if the specified file doesn't > exist. > causes an exception instead of returning null like I would like it to. > Can I change this? You can subclass it, override the appropriate method, put a try-catch block that catches null pointer exceptions in your

[JAVA3D] Textures with alpha and TextureLoader class ...

2000-01-18 Thread Per Burström
Where can I find a list of the image formats that the TextureLoader class can handle. I specifically need a format that can handle transparency. I have tried PNG and TIF, but neither seems to be supported. Until now I have used GIF and JPEG, but neither of them supports transparency. So which imag

[JAVA3D] Textures and VRML

1999-12-03 Thread giles
I've got a weird problem with the VRML loader and textures. Seems that the textures are being loaded off the drive continually. I've put comments in the VRML loader code and I've found that its only calling the doChangeURL once... so that leaves the problem somewhere in the utility TextureLoader

Re: [JAVA3D] Textures with Alpha values / png-format workingwithJava?

1999-10-25 Thread Justin Couch
Holger Wagner wrote: > This might be slightly off-topic, but could you explain how you did > this? We'd very much like to be able to avoid GIF as well, and PNG > sounds like a good alternative... (I'm kind of surprised that java only > supports GIF and JPG in the standard JDK - even in 1.2) Side

Re: [JAVA3D] Textures with Alpha values / png-format working withJava?

1999-10-25 Thread Holger Wagner
Justin Couch wrote: > > Chris Wewerka wrote: > > > has someone experience with textures using images that have alpha values? > > I read some mails in the Java2d interest group and so i think i have to use > > a png-imageproducer to get images with alpha values? > > We've got our own image loaders

Re: [JAVA3D] Textures with Alpha values / png-format working withJava?

1999-10-24 Thread Justin Couch
Chris Wewerka wrote: > has someone experience with textures using images that have alpha values? > I read some mails in the Java2d interest group and so i think i have to use > a png-imageproducer to get images with alpha values? We've got our own image loaders (ie we've replaced the standard ja

Re: [JAVA3D] Textures with Alpha values / png-format working with Java?

1999-10-19 Thread CAZOULAT Renaud CNET/DIH/REN
Yes it works. You can simply use a gif with transparency which is properly decoded by java. renaud > -Message d'origine- > De: Chris Wewerka [mailto:[EMAIL PROTECTED]] > Date: mardi 19 octobre 1999 16:01 > À: [EMAIL PROTECTED] > Objet: [JAVA3D] Textures with Alpha

[JAVA3D] Textures with Alpha values / png-format working with Java?

1999-10-19 Thread Chris Wewerka
Hi, has someone experience with textures using images that have alpha values? I read some mails in the Java2d interest group and so i think i have to use a png-imageproducer to get images with alpha values? Does it work with Java3d, using an ImageComponent2d and setting this in Texture2d with se

Re: [JAVA3D] Textures in OBJ

1999-09-20 Thread Stephane Vermette
I am looking for a good tutorial on textures in Java3d. I am especially looking into applying textures on .obj or .3ds objects. Also is it possible to query an object for a particular group of polygons and apply a texture on those polygons only. For example, is it possible to tag the hull of th