Thanx a lot Artur,
You really helped me a great deal here, I wish I could do something in return for you
=)
Thank you
Flavius
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "sign
I'm getting that problem currently in my program. I'm loading a model from a
file definition, so I'm not able (and don't want) to change the transforms
provided within the model. Unfortunately (for me), some of the transforms
are mirror transforms. The workaround I'm using in my case is as follows:
Hi,
I got a new little problem with the Appearance.
Class ColorCube {
QuadArray cube = new QuadArray(400,
QuadArray.COORDINATES
|
QuadArray.NORMALS | QuadArray.BY_REFERENCE );
/ of course i got the vertex by
Hi:
I'm not really sure... but I think your problem is
that the ColorCube has 6 shapes... so if you want to change the appearance,
you'll have to do something like:
int numshapes= colorcube.numShapes(); //or
numChildren();
for (int i=0;i
// Change the appearance of each
shape
}
I hop
Title: RE: [JAVA3D] AW: [JAVA3D] Inverted Normals Question
Just as a tangent to this conversation:
Florin, since you are using polygon attributes CULL_NONE and backface normal flip set true, have you noticed anything weird? We had those attributes, but it produced very strange effects on AT
hi,
That what i was thinking of. Which means that if i use
By-reference i cannot use the appearance of the shap3D class. It is what i think
but in fact i am not so sure. and i wanted to know if it is possible to use
Appearance and By-reference ?
anyway what you said works i try alread
We have released a new version, 392, of "Jun for Java".
The major changes since the version 379 includes:
* "Lisp" menu item and "Prolog" menu item are added to "Tools"
menu of the launcher. Each of them will open a dialog and
there you can evaluate any statements of Lisp/Prolo
Just been looking at the new java community site over at www.java.net,
which apart from being a poor shade of the former www.javagaming.org,
doesn't actually seem to mention Java3D as a project at all?
Is this because Java 3D isn't going to be an open project, or is Java 3D
not going to get contin
I agree with Florin.
But I think you can also try CULL_FRONT, to
not overload your graphic engine.
I test to recalculate the
normals (NormalGenerator) but effects is buggy, as shown in the
screenshots below, but it can be a issue of the model I used ...
The best result I've found so far in
Ok, so it looks like it's going to just be some sort of hack around this
problem for now.
On the mathematical side of things, does there exist an equivalent
transform to a mirror transform (one that causes this normal problem) of a
form that does not cause the problem? I'm just wondering if there
Hi,
I am resending this since i got an "undelivered message from postfix".
Can SimpleUniverse.getPreferredConfiguration return NULL anytime?
One of our customers is getting an
" ERROR: Canvas3D constructed with a null GraphicsConfiguration
This will cause a NullPointerException in a subsequent r
Right now I have a static background in my J3D app. But the background is the same all
over. Is it possible to have a large bitmap as a bakground so when you rotate the
view, you see other parts of the bakground?
Thanx
===
Yes, map it onto a sphere, with normals generated on the inside, add that to the
background geometry and there you go.
-Original Message-
From: Flavius Alecu [mailto:[EMAIL PROTECTED]
Sent: 10 June 2003 13:30
To: [EMAIL PROTECTED]
Subject: [JAVA3D] "rotating" background
Right now I have
You're
right. For a well formed model (ccw), CULL_FRONT should be ok. Unfortunately, I
cannot make that assumption in my case, since my models often have 2 sided
faces, so I *must* use CULL_NONE, and in that case I *must* negate the normals.
However, I have never seen the buggy effect from y
In a nutshell, I need to use a specific projection in the rendering process
that is NOT a 4x4 projection matrix (it is instead a very large rational
poloynomial). It would be great if there was a View.projectionMethod(...)
that I could override, but there isn't. I have been looking high and low for
I think you must use software rendering to do that (i.e. implement your own
rendering engine). The hardware rendering is using a 4x4 projection matrix
and there is no way (to the moment) you can override that. So, in my
opinion, your RFE should be sent to the graphic card manufacturers (NVIDIA,
ATI
Well, java3d is not a "community project", but it's part of the j2se
optional packages. That means that java3d is NOT an open project and will
never be ! In contrast, on Java Games and Game Technologies Projects it is
mentioned jogl (Java bindings for OpenGL) which seems to be where gl4java is
goin
I'm not sure, but it might be possible when j3d.stereo system property is
set to REQUIRED and no stereo hardware support present. That's the only
difference between SimpleUniverse.getPreferredConfiguration and the default
graphics configuration used by Canvas3D constructor when a null
GraphicsConfi
Hi every one!
Here, the new Java Web Page (with games):
http://www.java.com/en/index.jsp
Greetings!
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For
Kevin Glass wrote:
I'm not drawing any conclusions, did I just miss Java 3D?
Kev
Doug said here and on a javagaming forum that during this JavaOne they
will show alternative for future evolution of J3D.
So, maybe that we just have to wait a few hours :)
--
Libertà e critica
==
Thanks for the response!
I figured it would be something like that...
Looks like I will be doing a lot of my own transformations behind the scenes
(pun unintended) :)
-Original Message-
From: Florin Herinean [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 9:13 AM
To: [EMAIL PROTECTE
um ok, will it then b projected to infinity? so you can't actually come closer to it?
I'm kinda new to all this and I don't have a clue how to write the code for what you
just said =)
===
To unsubscribe, send email to [EMAIL
Flavius Alecu wrote:
um ok, will it then b projected to infinity? so you can't actually come closer to it?
thats correct, the way the background works is you can either place an image
(that will never move), or you can place some geometry there. If you placve some
geomtry then anything within a 1
ok, thanx a lot
I'll try it right away =)
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in
one thing i'm not sure i understand
the line of code inside the try block..you load a model, what is that modell? is that
the background with the stars?? I have mine in a .jpg bitmap =/
===
To unsubscribe, send email to
Flavius Alecu wrote:
one thing i'm not sure i understand
the line of code inside the try block..you load a model, what is that modell? is that the background with the stars?? I have mine in a .jpg bitmap =/
that model is simply a cube, with the normals facing in, then the texture
applied, the
Here is a snippet that creates a Sphere rather than using a model:
BranchGroup bgGeometry = new BranchGroup();
Appearance App = new Appearance();
try {
Texture tex = new TextureLoader(new java.net.URL(YOUR_BACKGROUND_IMAGE),
this).getTexture();
App.setTexture(tex);
}
catch (Exception e)
{
e.print
ok, I work with 3d studio max...how can I make a sohere or a cube like you said, with
the normals inverted?? or is it enough with a normal, textured cube, saved as a model?
===
To unsubscribe, send email to [EMAIL PROTECTED]
hehe, thanx ben, it suddenly got a little easier =)
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and
Ben Moxon wrote:
Here is a snippet that creates a Sphere rather than using a model:
The reason I used a cube was at the time I couldn't get the sphere to look
right, my texture always ended up stretched around the middle of the sphere, and
squashed at the top and bottom, the cube worked, so I stuc
Thanks for the BugId. I'm using Texture2D as a
workaround currently.
Rgds
Vaidya
>On Mon, 9 Jun 2003 14:12:51 -0700, Kelvin Chung <[EMAIL PROTECTED]> >wrote:
>N. Vaidya wrote:
>
>>Well, still seem to be having problems with transparency
>>and COLOR_3 + UCIO with the J3D FCS. Here is a summary:
i tried bens code but it seems to squash the picture like you said...and it's zoomed
in like hell, my stars look really crapy now =P
and another thing I've noticed, when the camera is "upside down" the mouse is
inverted...when I go left, it turns to right..wierd... =)
===
Isn't the navigation thing because you are looking at the background, so it is not
that the sphere is turning to the right, it is that *you* are turning to the left?
The sphere-mapping is a bit annoying I don't doubt it is feasible to use a standard
cube instead- I only haven't done it because I
Another way to create stars is simply to generate points. If your app needs
a background field of stars such as a space shooter, then you may want to
look at http://home.earthlink.net/~kduling/Java3D/Stars/index.html.
- Original Message -
From: "Flavius Alecu" <[EMAIL PROTECTED]>
To: <[E
yeah, the navigation thing is another issue =)
how can I use a cube instead of the sphere? I tried to just creating a cube with the
same call, just change from sphere to box, but it didn't accept the parameters...do I
have to change anything???
==
thanx kevin, i could really use that =)
anyway, when I run this applet from kevins url...it hangs after a couple of seconds,
and then it works again. the thing is, my applet does the same..i have full control of
it, then it hangs for 2 or three secods and then i can navigate again...anyone have
I can't help you with the hanging. It's working fine on this end after the
initial startup.
- Original Message -
From: "Flavius Alecu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 7:40 AM
Subject: Re: [JAVA3D] "rotating" background
> thanx kevin, i could real
i wonder what it could be...since it happens on that applet too, it can't be my
code...maybe some settings or something...and it seemes to happen only in the applets
that use mouse navigation...
===
To unsubscribe, send emai
Artur,
I couldn't turn on -verbose:gc since can't really run my applet as an aplication. For
that, I have to change a lot of my code.
But I just wonder if you might know what could affect those hangings...I just noticed
that another applet on the web hanged when I was runing it, just for a oup
The reason for that is because of what a square image does when it's mapped
to a spherical surface. A good analogy is maps of the globe. Watch
Greenland explode in size when it's tranfered from the sphere to a flat map.
That's why maps are also displayed in the orange-peel-like format (e.g.,
\/\/
About:
> I couldn't turn on -verbose:gc since can't really run my applet as an
aplication. For that, I have to change a lot of my code.
You can:
1) Use MainFrame class to wrap your applet and run it as a application,
than run with -verbosegc
See demos ;-)
2) Use Appletviewer -J-verbosegc my
i realize that the new jsr-184 java library soon to come is the solution for
3d graphics on wireless/embedded devices, but, and maybe this is super dumb
to ask, but can i run a java 3d application on the j2me wireless emulator?
i was thinking that theoretically as long as you had java and the java
Perhaps with a J3D + JSP + Servlet solution. Putting a J3D solution on
the server side, maybe would be useful.
karen smetana wrote:
i realize that the new jsr-184 java library soon to come is the
solution for
3d graphics on wireless/embedded devices, but, and maybe this is super
dumb
to ask, but c
J2ME is a subset of J2SE and is missing facilities like floating-point
support. So I seriously doubt it.
-Phil
karen smetana wrote:
i realize that the new jsr-184 java library soon to come is the solution
for
3d graphics on wireless/embedded devices, but, and maybe this is super dumb
to ask, but c
alessandro,
ok, problem solved..but what does verbose:gc do? and how can it solve my other
problem, which causes the applet to hang??
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message
is it possible to add both geometry and models in the same bakground?
I was wondering if you'd make a bunch of whtie dots acting as stars as geometry on a
bakground, could you import and add a modell, say a sun, in the same bakground? or is
there another way to project the modell to infinity as
A Background can pretty much be treated like a BranchGroup. And models are
Geometry.
- Original Message -
From: "Flavius Alecu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 12:43 PM
Subject: [JAVA3D] model in background
> is it possible to add both geometry a
but i tried adding two geometries to a bakground and then it showed only the first one
i added. how can i add both geometry and model?
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message
First, I'd like to apologize for this simple question but I really have no clue,
that's why I'm asking.
Anyway, to the question...when making a 3D app, say you want a building so you can
explore its insides...I guess small things like benches, chairs and tables, you could
design them adn import
verbosegc shows how is the garbage collection in your application.
intense gc means your applet/application is allocating/de-allocating a
large amount of objects. It sucks your memory and CPU power.
Sometimes increasing memory heap its enougth. (as
setting -Xmx128m -Xms32m ). Sometimes you need t
Hi all!
I'm delving into geometry compression for a university seminar. But I
still have some problems understanding the variation a the Huffman
coding used.
1. Huffman coding takes a set of symbols as input to build up the tree.
What are these symbols in geometry compression? Are these just the
d
as i understand it, JSR-184 the soon to be released 3d graphics API for
J2Me, uses a subset of (Java 3D?) scenegraph linguistics with opengl
bindings.
is there any proof that java 3d can NOT be run on an emulator or embedded
device? i haven't figured it out, and i have never seen it done before, b
Java3D requires awt support in the JRE, this is currently not implemented in
J2ME.
Mark
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". Fo
Thank you
I couldn't get it working. In any way I try, I get a transparency of the
whole image.
Humberto
Jeremy
try something like:
Point3d[] vertecies = {new
Point3d(-width+offsetX,-height+offsetY,depth), new
Point3d(width+offsetX,-height+offsetY,depth),
new Point3d(wi
Hi guys, does anyone know how to create a
pentaedron, hexaedron and so on!. Could you give me the code that is applied in
any case?
Thanks in advance
> Date: Tue, 10 Jun 2003 13:02:23 +0200
> From: Karsten Wutzke <[EMAIL PROTECTED]>
>
> I'm delving into geometry compression for a university seminar. But I
> still have some problems understanding the variation a the Huffman
> coding used.
The source code for the GeometryCompressor utilit
yeah, guess your right..I changed from 20 MB to unlimited and now it doesn't hang
anymore...although maybe it isn't so good if my code is bad
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of
If the author, or someone who uses this class reads thios, I'äd really need some help
from you.
This class is great, however, there is one thing which I don't really find useful.
When you "look" up or down, you sooner or letar get upside down...when the view is
upside down, the mouse is inverte
Dr. Humberto Trejos wrote:
Thank you
I couldn't get it working. In any way I try, I get a transparency of the
whole image.
Humberto
I *think* it might be your image (not sure though), the following image has 5
dots on it red, green, blue, white and black, all should be completely opaque,
the rest
The memory limitations of these devices will be a limiting
factor as well.
One approach might be to run the Java 3D application on the
server side and send a stream of screenshot thumbnails over to the
client side. I've no idea how to do that.
- Andrew
===
60 matches
Mail list logo