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);
> --
> From: 594
> Sent: Tuesday, September 14, 1999 1:56 PM
> To: 98
> Cc: 97; 99-1; 99-2
> Subject: Foot Prints Now this is Good
>
> > FOOT PRINTS
> >
> > One night I dreamed a dream.
> > I was walking along the beach with my Lord
> > Across the dark sky flas
Hello All,
Running the AppearanceTest.java demo shipped with java3d i noticed a
strange problem : the background-image (bg.jpg) is not shown.
Does anybody know why ? There is no error-message of any kind.
Best regards,
Uwe mailto:[EMAIL PROTECTED]
===
The app is failing to create the TextureLoader from the arguments you supply
so texLod0 is null hence the null pointer exception later on.
try something simple to see if the app can see the file:
java.io.File file = new java.io.File("sign1.gif");
System.out.println("the answer to whether
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
> 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
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
I am facing a problem with JSplitPane and Canvas3D. Can You help me ? The
problem follows as :
I am having a JSplitPane with leftComponent containing a JTree and
rightComponent containing JDesktopPane. In the JdesktopPane i am having a
JInteralFrame with Canvas3D on its contentPane.
The problem o
dear all
i am a beginner and want to study java3d api,can U introduce some good
web site and book to me.Thanks all
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-IN
Haven't we had that before? ;)
Have a look at the java3d archive, you will find quite a couple
of emails concerning that problem.
The main problem is, that Swing uses components that are called
"leightweight" components, i.e. they don't recruite a native window
peer. On the other side, a Canvas3
Hi,
This mail is addressed at the developers of Java3D.
At the JavaDays in Duesseldorf, I saw a presentation of Java3D by Henry
Sowizral. He demonstrated a 3d game-prototype, which didn't use collision
detection to prevent moving through walls, but a cheat with a matrix, which
holds information
Hi,
i want to implement 3d-objects with skeletons and skins (like in
halflife :-)). i think the only way in java3d is to use the immediate
mode, because i need eg. triangles between different Shape3D-Objects
(that represent eg the neck between head and body of an monster), and
this is not possible
Hello All,
Does anybody has simple examplecode how to pick an object ?
I dont want to rotate or translate it. Just by clicking on a specified
object a method shall be called.
Would be great if anybody can help me with that.
Best regards,
Uwe mailto:[EMAIL PROTECTED]
=
Hi Guillermo,
Thanks for the reply.
No, all the capabilites are set.
When I say "fails to work" I mean that
after the reparenting of the branch group the PickObject.pickClosest(x, y)
fails to return anything but null when an attempt is made to pick the
object (whereas in its prior posit
I think the problem lies in your URL. As I understand it, the URL
"file:" will look for a file of that filename in the root
directory under Unix or c: under Windows. Try a fully qualified file name
(including the path) to see if that works. If this is an applet, create the
URL using the URL(URL
Visit http://java.sun.com/products/java-media/3D and follow the Collateral link
where you will find an excellent tutorial and other useful information.
Ken
Date: Wed, 22 Sep 1999 04:11:33 -0700
From: SUBSCRIBE JAVA3D-INTEREST peter <[EMAIL PROTECTED]>
Subject: [JAVA3D] ANY good jave3d teach si
I don't have any simple examples but the process is quite
straightforward... ;-)
Place all objects that you want to appear in display overlay (i.e. a
HUD or dashboard) under the parent transform of the view you want them
to appear in. This essentially places the objects in "view space"
(i.e. the
there is what you should do, but doesn't work in the current api...
and there is what you can do now, but might want to change when the new api
is released...
using the pre- or postswap is very expensive for drawing, and on the other
hand you would only want to update when your content changes. un
Try something like this:
you have so full control on what is happening:
/* with someting like "/com//images/mygig.gif " present
in your class path*/
URL imageURL = getClass().getResource(file);
TextureLoader tex = new TextureLoader(imageURL, "RGBA", );
Appearance look = new
At 04:31 PM 9/22/99 -0400, Daniel Selman wrote:
>I have been developing a Java 3D scenegraph viewer for my book "Java 3D
>Programming". I have put quite a bit of time and effort into the tool
>[Java3DTree] and I feel that it will be generally useful to the Java 3D
>community.
For those of us who
are you sure it is not shown or is it white:
sometimes, if you use a graphic card, (in my case Viper), when not in full
color mode, some big bitmaps appear white!!
Don't ask me why it must be a card driver problem!!!
Cheers
Olivier
-Original Message-
From: Uwe Trostheide <[EMAIL PROTECTE
All,
I have been developing a Java 3D scenegraph viewer for my book "Java 3D
Programming". I have put quite a bit of time and effort into the tool
[Java3DTree] and I feel that it will be generally useful to the Java 3D
community.
I've taken a lot trouble to make Java3dTree very easy to integrate
Duke Gard wrote:
>
> Does anyone have a recommended way of depicting crude looking terrain with
> Java3D.
Attached are a couple of classes from my forthcoming book.
The first is Mesh.java which constructs a tri-strip mesh
using a passed array of post heights. The post he
At 8:04 PM -0600 99.9.13, Yoshiyuki NISHINAKA wrote:
> We have released a new version, 250, of "Jun for Java".
We're pleased to announce a mirror+ site has been set up in US
for convenience of those who are closer to the COM domains:
http://www.srainc.com/Jun4Java/
ftp://srainc.com/pub/l
We need to do some cleanup on the Maze code before we release it. That
is why we aren't ready to give it out yet. I made the modifications to
the Maze to use picking for collision, so I can give you the details.
It is a common technique used in systems that don't have a explicit
collision engin
Thanks Allen, I am sure a lot of us will find plenty of use for your code:
Sadly I have just spent the last couple of days working on a similar matter
yet more complex:
The data I get is not from a grid=> more like a cloud of surface points.
to solve this problem, the first step has to be a trian
I'm pleased to announce that we have the source code for our game 'Googleplex' now
available at www.openmediagroup.com. This is a
good example of using Java3D and MathEngine. Some of you may have seen this at
various trade-shows such as Siggraph or the Tokyo
Game Developers Conference where we'
Check this site...
http://java.sun.com/products/java-media/3D/collateral/#tutorial
Regards,
Miguel T.
=
http://sites.netscape.net/migueltt
__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
JSplitPane is a lightweight container... so, you're
mixing light with heavyweight containers... that's a
commonly error... try to display the Canvas3D inside a
Dialog or JDialog...
I think that could be an alternative...
Regards,
Miguel T.
=
http://sites.netscape.net/migueltt
__
29 matches
Mail list logo