Hi mona,
You are constructing a canvas-3d without first
setting a graphics configuration, which is naughty according to
1.2.1
This is what you need to do :
// Sets the requred or
preffered rendering options
GraphicsConfigTemplate3D
template = new GraphicsConfigTemplate3D(); templat
Ok, let me also ask this: when i modify the imagebuffer which i got from
one image component and then assign to anothe imagecomponent, isn't memory
allocated for the imagebuffer? if so, then it is pointless for me to
implement this "double buffering" which i was hoping to use to relieve the
need o
Hi,
Thanks to everyone who helped me with the animation/frames question. Now I have
another problem,
I used a 128x128 image to wrap a sphere. Why does the sphere appear rough at the
bottom, but smooth at the top?
Here's how I created the texture.(See attached file: Bug.java)
TextureLoader
> I believe I was seeing this way back when I was running in NT and fixed
> it the same way.
That sounds like an bug I found in using Visual C++ to do object oriented
programming. Any time I used the new operator, in VCs compiler it would use
malloc to allocate memory. But malloc has a strange bu
I just tested 1.2.1 and got the following error message when I ran my
program which I did not get in 1.2:
WARNING: Canvas3D constructed with a null GraphicsConfiguration.
Also, I noticed that my objects are positioned differently, more zoomed
in.
As far as I can
I may be missing something here, but unless the texture is by reference, the
very act of 1doing appearance.setTexture() will create a retained version
for the engine (a copy basically). I don't think the clone really enters
into this at all. So what I am saying is that every call to the
setTextu
>From: Nader Zaki <[EMAIL PROTECTED]>
>Subject: Re: changing textures on the fly problem
>To: [EMAIL PROTECTED], Charmaine Lee <[EMAIL PROTECTED]>
> after changing the pixels, i set the texture of the appearance with the
texture of whose pixels i have retrieved; this does NOT change the appearanc
Well, this does not explain this strange anomoly:
after changing the pixels, i set the texture of the appearance with the texture of
whose pixels i have retrieved; this does NOT change the appearance texture though (as
I have noticed and as you pointed out); however, if i clone the texture (aft
Hi-
I am trying to use the Sound node with a MediaContainer on Windows 98
but I keep getting the error
javax.media.j3d.SoundException: c:/alexjava/testsound.wav:Sound source data
could not be loaded
atjavax.media.j3d.SoundScheduler.attachSoundData(SoundScheduler.java:2673)
atj
Nader,
Nader,
>
> pixels =
> ((DataBufferInt)((ImageComponent2D)textureArrayCurrent[i][j].getImage(0))
> .getImage().getRaster().getDataBuffer()).getBankData();
>
Pixel changes here will not be reflected to the texture.
Note, when you do ImageComponent2D.set(buf
The file java3d-utils-src.jar contains the code for the Lightwave
loader. See the file DebugOutput.java.
There are two ways you can go about using this code with your app.
1) Change the package name from com.sun.j3d.loaders.lw3d to
something else. Compile them all and put the directory in
I believe I was seeing this way back when I was running in NT and fixed
it the same way. Alas, it's not helping now. I tried:
-Xmx64m -Xms64m
I even put print statements to show the total/free memory so that I KNEW
my above params were being accepted.
I thought for sure this would fix it
Peter,
Yes, there isn't any picking bug related to this. If you're certain
that this is a j3d bug, please send us a test program.
- Chien Yang
Java 3D Team.
> MIME-Version: 1.0
> Date: Wed, 28 Mar 2001 11:48:05 +0100
> From: Peter Balmforth <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Text3
Lee,
This still sounds very much like problems we were seeing. As best I
could track it there is some issue with dynamic allocation of memory
(sometimes it would work sometimes it wouldn't). Try running your app
with a big chunk of memory allocated up front. Something like:
java -mx4000
Well, I'm still at it. I took Kelvin's advice and updated drivers,
windows, DirectX 8.0a, running in Emulation mode using -Dj3d.d3ddevice
flag, but I am still having the same problem: my applet/application
hangs Windows 98.
I have found that my applet sometimes freezes while running, but
sometim
This
is a bit vague. Can you show any code? What is this MainFrame of
yours?
Ali
-Original Message-From: Sackmunky
[mailto:[EMAIL PROTECTED]]Sent: 28 March 2001 15:52To:
[EMAIL PROTECTED]Subject: [JAVA3D] MainFrame
problems
Whenever I place my code in a regular
java.awt.Frame everyth
Whenever I place my code in a regular
java.awt.Frame everything appears, =but whenever I try placing it into a
MainFrame, it gives me "Capablitily =not set to append children" and I have
set those flags...Can anyone
help?Zak
Yeah, that would be great. Either in the FAQ or on the j3d.org site. Would
make deploying J3D apps much easier. Thanks.
-Original Message-
From: J. Lee Dixon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 7:16 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Jar archives...
hi.
I;m trying to make a system
with motion-stream-textured objects. I mean, simply put 3D objects(boxes) in my
scene graph, and play independent mpeg stream on each object using texture. I
made a very simple version with JMF rendering plug-in. but the problem arises...
cannot ha
Yep. You should be able to get your files by resource access. Look at:
URL Class.getResource(String name)
InputStream Class.getResourceAsStream(String name)
The "name" parameter is the path to the file. If your jar contents look
like:
com/myco/project/MyApplet.class
com/myco/project/OtherCod
Has anyone else had the following issue..
I have a load of lines in my scene created with a LineArray. I create a
LineAttributes with 2.0f for thickness and antialiased.
I also create ColorAttributes with say green as the colour.
When I assign these to each line's appearance and render, the lin
Does anybody know how to set debugging messages on for the LightWave
loader?
Now it just tells me "java.lang.NullPointerException" several times,
I need more explicit messages to find out what is going wrong.
Thanks
PRISMAKER TEAM
==
Is it so that there is a bug in Text3D picking whereby if
PickTool.GEOMETRY_INTERSECT_INFO
is used instead of PickTool.GEOMETRY for the PickCanvas mode , it is not
only impossible to get
an intersection but the pick results do not include the Text3D shape at all.
If PickTool.GEOMETRY is used, onl
I'm not to familiar with Java3D so I can not give you a definitive answer,
but I do not think Java3d has such a thing. I think such a thing is left up
to programmers to build.
The reason why I am responding though, is because I am currently working on a
small game developement project working wit
Juergen, nice one, that sorted out the problem, thanks.
-Original Message-
From: Juergen Neubauer [mailto:[EMAIL PROTECTED]]
Sent: 27 March 2001 10:50
To: [EMAIL PROTECTED]
Subject: [JAVA3D] No J3D in path / Re: [JAVA3D] Original Posts
Hi !
I think, that j3d.dll is missing in your winn
25 matches
Mail list logo