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:
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
: [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
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
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
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
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
what is the simplest way to texture map a
jpg over a shape3D
> 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
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.
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
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
>
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
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
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.
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
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?
>
>
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'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
=
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
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
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
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
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
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
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
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
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
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:
>
>
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
> 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
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
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
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);
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
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
51 matches
Mail list logo