Hi,
I'm having trouble displaying .jpg format textures in full color.
I'm able to load them and texture them onto objects but the become banded
and loose thier color information.
I am able to load them in swing and display them, and they are in full
color there.
I have tried changing the format w
Is there a digest version of this mailing list?
Thanks!
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
===
To unsubscribe, send
>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
>Date: Mon, 14 Jan 2002 18:23:03 -0500
>From: David Yazel <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Detail textur
> Thanks for the response.
> Heh I am so used to close to perfect "ports" it never occured to me that
it
> would not work on every target, even if it had to be done using an
> inefficient method.
Well frankly I haven't touched the DirectX version of Java3D. As a games
player, OpenGL always roc
Hi,
I can reproduce the problem but it seems to me VRML
did not load the texture completely before passing it
to Java3D.
Please check the loader source code. For your reference
our utility TextureLoaders use an Image observer to
make sure Texture load completely before the
constructor return.
Thanks for the response.
Heh I am so used to close to perfect "ports" it never occured to me that it
would not work on every target, even if it had to be done using an
inefficient method.
Dave Yazel
- Original Message -
From: Kelvin Chung <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
hi!
just remember to click on the canvas to shift focus
and press the down arrow key to move back
to view the scene.
* why does the scene dissappear after a certain
z - distance ? can I change this?
thanks,
vamshi
- Original Message -
From: "vamshi raghu" <[EMAIL PROTECTED]>
To: <[E
hi!
here's the latest file (the commented color code
still doesn't work, but you can run the program
with a command line argument).
could anyone help with the color code?
thanks,
vamshi
- Original Message -
From: "vamshi raghu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday
I have a plan to try trees with a "solid" trunk and planar branches
extending (2 triangles with a texture w/alpha) from it.
However, I will need two textures for this one for the bark of the
trunk, and one for the branch(es).
Does anyone have any experience/suggestions for doing this nicely
Hi,
Bug 4623445 - Nothing shown using org.j3d.geom.RasterTextLabel
is submitted for investigation.
Thanks for your bug report.
- Kelvin
---
Java 3D Team
Sun Microsystems Inc.
>Delivered-To: [EMAIL PROTECTED]
>X-Authentication-Warning: oc30.uni-paderborn.de: ib set sender to
[EM
Hi, Enrique,
> fc2.addChild(lBehavior);
like you write, the Behavior is add to a BranchGroup, then it will report
information from that root, if there are many BranchGroups, the results will
be confusing. now, for my project due this Friday, I write it ugly as
letting each Behavior instance report
>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>Date: Mon, 14 Jan 2002 07:25:24 -0500
>From: "Yazel, David J." <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Detail texture
>To: [EMAIL PROTECTED]
>
>I fooled around with this new feature for some time last night and could get
>no results. I am us
Hi everybody,
I made an app with j3d 1.2.1.03 and jdk 1.3.1 and my problem is the following :
I create a scene with 1600 boxes, when the camera "fly" in the scene, I get between 30
and 50 FPS
So I want to change the color of each box when the user enter some characters. To do
this stuff I am u
> I'm sorry, I guess I should've been a little more clear. I've got an
> example of how to make a flag wave in OpenGL. I'm trying to understand
how
> to create the same behavior in Java3D. All of the Java3D animation
examples
> deal with rotations and transforms. Without using Morph, I'm
I'm sorry, I guess I should've been a little more clear. I've got an
example of how to make a flag wave in OpenGL. I'm trying to understand how
to create the same behavior in Java3D. All of the Java3D animation examples
deal with rotations and transforms. Without using Morph, I'm trying to
Hello,
I am interested by creating labels with text, could
you send me your code or a sample ?
Thanks
___
--- xhsun <[EMAIL PROTECTED]> wrote:
> hi, Corysia, thanks for your information. I created
> some Raster Labels with
> the code provided by
Did you try this sort of things :
Behavior lBehavior = new MyBehavior();
lBehavior.setSchedulingBounds(new BoundingSphere(new
Point3d(),100.0));
BranchGroup fc2 = new BranchGroup();
fc2.addChild(lBehavior);
locale.addBranchGraph(fc2);
__
--- xhs
Corysia,
There is an example described in the new book "Physics for Game Developers":
http://www.amazon.com/exec/obidos/ASIN/059665/qid=1011039941/sr=2-1/ref=
sr_2_79_1/102-6532719-9559352
Sincerely,
Daniel Selman
-Original Message-
From: Discussion list for Java 3D API
[mailto:[E
I fooled around with this new feature for some time last night and could get
no results. I am using j3d 1.3/directx 8.1 and geforce II. I even tried
having a base white texture and a completely black detail texture, but could
never get anything but white to show up no matter what combination of
Is there a way to query Java3D to determine the amount of texture memory
available? If not, is this planned to be available within the next year?
Failing that, has anyone developed a good performance tester to guess at
this figure? Ie take a static scene, keep upping the textures memory
used ti
Hi Kelvin:
Yes, I did come across the reference to the Texture Tranformation Matrix
in the javadoc as well as in the J3D tutorial. But I thought that this
matrix is concatenated with the "texture matrix" before operating upon
the texture coordinates.
>From your e-mail I take it that the Texture
Kelvin Chung wrote:
>>Alot will depend on what else you are doing in the Java3D system. In
>>the archives are details about the multi-threaded nature of Java3D.
>>Depending on your use of sound, behaviors, collision detection you will
>>see different responses to multiprocessor use. I think two
>Delivered-To: [EMAIL PROTECTED]
>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6)
Gecko/20011120
>X-Accept-Language: en-us
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Mon, 14 Jan 2002 10:31:08 -0800
>From: Giles <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Hardwa
>Delivered-To: [EMAIL PROTECTED]
>Delivered-To: [EMAIL PROTECTED]
>Date: Mon, 14 Jan 2002 10:09:59 -0700
>From: Raj Vaidya <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Texture Matrix
>To: [EMAIL PROTECTED]
>
>Hi:
>
>What is the Java3D equivalent of the OpenGL "texture matrix".
>
>I would like to encode
Hi J.D.,
Java3D will pass the value down to the driver "as-is"
in v1.3 for both OpenGL and DirectX version so the result
is up the the driver. I believe current nvidia opengl
driver will clamp it but directx will not.
Note that in v1.2.1 DirectX version the color is clamp
to [0,1] when pass d
Hi J.D.
In v1.3 the matrix class implement Cloneable interface
and the clone() procedure which already catch the
CloneNotSupportedException inside that function.
/**
* Creates a new object of the same class as this object.
*
* @return a clone of this instance.
* @ex
Hi Denis,
This is bug 4599429 -
MasterControl throws NullPointerException when viewActivate sometimes
which is fixed in the next beta2 release.
Thanks.
- Kelvin
-
Java 3D Team
Sun Microsystems Inc.
>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>X-Priority: 3
>X-MSMail-
We used a quadtree-based approach to tiled landscape rendering in our application. We
achieved good
performance by using SwitchNodes to manage what tiles are displayed after culling the
quadtree
against the view frustum. We essentially took a static LOD approach: the quadtree held
4 levels of
d
Hi, all,
I would like to construct a 3D-coordinate system using
Java 3D. Inside
this system, I also would like to draw some lines and one
of the lines
is sliding over two other lines. Could anybody tell me
where I could
find the relevant information (functions, classes) to do
so? or is it
possib
For people out there who are doing userinterfaces for their Java3D
applications, how are you doing them? Are you creating 3D components, using
Java2D, etc?
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in th
Hi all!
On my W98-box @home, the latest J3D-beta refuses installation. The install
process suddenly stops approx. in the middle of the progressbar (still
during installation setup).
Any idea?
- J
Joerg 'Herkules' Plewe
HARDCODE Development
http://www.hardcode.de
=
stuart wrote:
>Thanks for the prompt reply Justin.
>
>Information regarding the use of dual processor systems was based on my own
>knowledge and reviews of AMDs MP chips including that at
>http://www.tech-report.com/reviews/2001q4/athlonmp-1900/index.x?pg=1. It
>was after reading the recent post
This weekend I was reading "Game Programming Gems II" and in it there
was a chapter on tile-based terrain. It was very similar to what I've been
trying to figure out what to do. The author stated that this method could
potentially be faster than ROAM or VIPM methods. I haven't had the
oppor
Hi, all:
I am also facing the same problem. I have tried the strategy to devide the
data into cells. But the performance is not appealing due to detaching and
re-attaching BranchGroups while navigating through the scene.
I have read quad-tree algorithm but I don't know how it can be applied.
What
Corysia,
Set it to infinite bounds. Setting an alway active behavior's
bounds to infinite bounds may help improve performance. Java3d will
shortcircuit intersection test on bounds with infinite volume. A
BoundingSphere is a infinite bounds if it's radius is set to
Double.POSITIVE_INFINITY
The Java 3D Frequently Asked Questions list for Monday January 14 2002
This is a posting of topics covered in the Java 3D FAQ. The answers
to these questions are kept at:
http://www.j3d.org/faq
Please consult this list and the web site before asking questions on the
mailing list.
If t
Hi
I wrote a few days ago that I'm working on a software sillhouette
detection routine for Java3D this is close to being finished, at the
moment it only works for TriangleArrays but shouldn't be a problem
to extend it to other Geometryformats. So if anyone else besides me finds
use in it I would
I am not using any ImageComponent (how?):
Example:
--
PlanarImage pI = JAI.create("fileload", fileName);
BufferedImage bI = new BufferedImage(pI.getWidth(),
pI.getHeight(),
BufferedImage.TYPE_INT_ARGB);
Graphics2D
Hi,
Is there any way to turn off the requirement of a bounding sphere for a
behavior? In other words, I want this behavior to be active always. Do I
just make the sphere rediculously huge? Or is there a more elegant way?
_
Do You Y
Hi,
I've done a lot of searching on the net this morning and I've found a
lot of dead links. Does anyone have an example of a waving flag object?
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
==
Hi:
What is the Java3D equivalent of the OpenGL "texture matrix".
I would like to encode the elements of this texture matrix
with values that are a function of the light and normal vectors.
I then would like to operate on the texture coordinates with this
matrix.
Are there direct or indirect wa
I still have the same problem with JMenu text not showing up, however, I
have an application that extends JFrame rather than Applet/JApplet. So your
fix does not work for me.
I can't figure out a workaround. It only happens on Windows, executing on
Sun/Solaris seems OK.
--Kevin Copps
> -Or
Try TYPE_INT_RGB or TYPE_INT_ARGB and use ImageComponent.FORMAT_RGB or
FORMAT_RGBA respectively.
regards
Paul
Fredrik Lydén schrieb:
> Thanks.
>
> My images are of TYPE_BYTE_INDEX. To which type should I convert in
> order to get correct colors in Java3D?
>
> Regards,
> Fredrik
>
> -Ursprung
Joachim,
I believe the JavaDoc/spec says that the behavior is undefined -- probably
because the underlying results differ.
Sincerely,
Dan
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Joachim Diepstraten
Sent: Monday, January 14, 2002 7
Ick. I hope a new bug wasn't introduced when the bug I found was
addressed.
- Original Message -
From: "Ingo Brunberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 6:36 AM
Subject: Re: [JAVA3D] text in java3d
> Hi Justin and Corysia,
>
> I just tried y
Hi Alan,
Thanks for the suggestion. I tried putting the primitive Box in a SharedGroup as you
suggested and it still works. Looks like this isn't the problem.
Kelvin is investigating further.
josh
>>> [EMAIL PROTECTED] 01/11/02 05:36PM >>>
Josh Richmond wrote:
>As a sanity check, I plopped s
Hi
What's the right behaviour for Color4f when someone sets values which are
over 1.0?
I've seen that OpenGL and DirectX implementation behave different.
OpenGL clamps while DirectX overflows
EOF,
J.D.
--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativit
Thanks.
My images are of TYPE_BYTE_INDEX. To which type should I convert in
order to get correct colors in Java3D?
Regards,
Fredrik
-Ursprungligt meddelande-
Från: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]För Dipasqua, Aldo
Skickat: den 14 januari 2002 14:29
Till: [EM
You could wake up your behaviour on MouseEvents and then use the getModifiers() method
to determine which button is down.
samples... where 'e' is the MouseEvent object
if (((e.getModifiers() & InputEvent.BUTTON1_MASK) ==
InputEvent.BUTTON1_MASK))
mouseRotate(dx
Hi
I just noticed that there has been made a change in Matrix3f from
1.2.1_03 to 1.3beta1 which makes it impossible to compile the same source
on different versions. I've my own Matrix class which extends Matrix3f and
in 1.2.1_03 for the clone method I have to set a try-catch-block in
1.3beta1 I
Hi Ingo
> this is about Raster, not Text2D. I think there is no relationship
Upps maybe I should have read the whole thread.
> between them.
Hmm well I wouldn't say that both are textures in some sort.
EOF,
J.D.
--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.d
You might want to use an image converter as shown below.
Aldo
/**
* Convert any buffered image to another type of buffered image
* @param oldImage the image to be converted
* @param type the image type (e.g. BufferedImage.TYPE_3BYTE_BGR, etc.)
* @return the new image of type speci
Hi Joachim,
this is about Raster, not Text2D. I think there is no relationship
between them.
>Hi Ingo
>
>> I just tried your code, but it does not work with j3d 1.3b1, though it
>> does with 1.2.1_03. I fear this is due to one more bug in 1.3b1.
>
>Could be I've found a bug in Text2D which has a
I'm ot quite sure about that but there are BufferedImage formats like BGR and
RGB. So I suppose that the order of the color bands is reversed. Check the
BufferedImage typae after reading. To Correct this you will have to go deeper
into the java.awt.image package. Probably it can be solved by creat
Hi Ingo
> I just tried your code, but it does not work with j3d 1.3b1, though it
> does with 1.2.1_03. I fear this is due to one more bug in 1.3b1.
Could be I've found a bug in Text2D which has already
accordingly to Kelvin Chung already been fixed for 1.3b2
EOF,
J.D.
--
Explore SRT with the
Hi Justin and Corysia,
I just tried your code, but it does not work with j3d 1.3b1, though it
does with 1.2.1_03. I fear this is due to one more bug in 1.3b1.
>Corysia Taware wrote:
>
>> Look in the archives for Raster Labels. I think it
>> was in June or July of 2001 that I was trying to
>>
Hi, I have a little problem with PickDragBehavior.
I would like drag an object(Sphere) in my scene3D with mouse pointer.
How can I do it?
Lines of Code/Examples apprecieted
Thanks in advance.
Gianni
Hi!
I have some problems loading textures with JAI;
PlanarImage planarImage = JAI.create("fileload", fileName);
Texture texture = new TextureLoader(planarImage.getAsBufferedImage());
results in incorrect colors (i.e. yellow gets turquoise).
Without using JAI the colors are correct, but the loa
I've tried to install the beta release of Java3D
1.3, but when I sometimes get this exception :
java.lang.NullPointerException
at
javax.media.j3d.MasterControl.createUpdateThread(MasterControl.java:1677)
at
javax.media.j3d.MasterControl.registerView(MasterControl.java:2343)
at
j
Corysia Taware wrote:
> Look in the archives for Raster Labels. I think it
> was in June or July of 2001 that I was trying to
> figure that out.
Having read the rest of this thread, I'll just post this for posterity
and the archives. There is an implementation of the raster text label in
the
Nathan Bower wrote:
> I hope that this helps anyone fiddling with stereo. Perhaps we should
> compile a list of hardware that has been tested to work with stereo on
> J3D.org or something?
I've actually been intending to do that. I have about 4 or 5 emails
tucked away in places where I'll proba
stuart wrote:
> I realise that both of the above points are contentious issues. The reason
> I posted to the group was to get input from 'real-world' people who actually
> use these hardware/software configurations, such as yourself. As a result
> of your appreciated input, I am now swaying to
Hi
There is something really strange going on with RGBA Texures.
I've got a BufferedImage in mode TYPE_INT_ARGB
An ImageComponent2D in mode RGBA
A Texture2D in mode RGBA
Now everything is fine until I write something in the AlphaRaster
of the BufferedImage. As soon as I write something in the
63 matches
Mail list logo