Hello everybody!!
I know I would be very boring, but I´m very interested in some Multitexture
ticks:
Why multitexture costs so much in performance? It is a very heavy process.
If I compare multitexture to Java2D image processing tasks, Java2D is more
efficient.
For blending textures, I think it
Hi Jyothi
> 3D object ( a bottle created from multiple polygons). I need to stick a
> label on to the bottle. The label is available as a gif file. I am able to
> map the image to one of the planes on the side of the bottle. I need to know
> how to stretch the label across multiple planes i;e, I
Is there any program to convert 3ds animation to LWS scenes ?
__
Bob Dengle wrote:
>
> I am pretty sure that there is currently no loader capable of loading
> animations.
Sorry for the late post, but the Lightwave loader loads animations.
//Rikard
=
You just have to pass the file as an URL:
URL textureURL = new URL("file:./background.jpg");
TextureLoader loader
=new TextureLoader(textureURL, this);
Dani
---
Like I said, I don't think you reference a file by name like that. The
browser supports a higher leve
Hello
I have another question about picking.
I'm displaying a graph on the canvas, and some points that are used to
specify the values of the graph. The points are pickable, and when the
user drags them, the graph changes acoordingly.
But sometimes it is just impossible to pick a point. It's compl
Alvaro Zabala wrote:
> Why multitexture costs so much in performance? It is a very heavy process.
> If I compare multitexture to Java2D image processing tasks, Java2D is more
> efficient.
I think it depends heavily on your graphics card.
Also remember that if you prerender, you have to do it o
Hi! you can try changing the appeareance of selected objects. If all
objects in the scene are solid, maybe you could change its appeareance to
alambic or dots. The user would easily notice which one is selected.
Hola Borja, por qué no cambias la apariencia de la/s figura/s
seleccionadas?
Ehlo
I wonder what's better performance wise. Having many shapes with
the same material or having one shape with the same material but having
many geometry nodes? I know that Performer for example makes a material
sorting to cut down costs for OGL setMaterial calls.
EOF,
J.D.
--
Realtime Raytr
I have tried to display a line with the code under, but no line appears in
the applet. Simple solutions/tips available?
Thanks
Todda
import com.interaction.i3d.*;
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Frame;
import java.awt.event.*;
import com.sun.j3d.utils.ap
There is a bug in multi-texturing right now. They do not use display lists
for multi-texturing, only vertex arrays. Also, if you are using more texture
units than is supported on the card then it is rendered in mutliple
rendering passes.
And I don't think you can compare Java2d and Java3d in thi
Ronald,
Could it be that *preparing* the scene for rendering is the bottle-neck? If
you are running behaviors of computing positions for objects this could be
taking longer than rendering the frames. You could also try disabling V-sync
for your cards to see if that pushes the frame-rate up (at th
Maybe you must modify Clipping planes of your view.
(nearest to you)
> -Mensaje original-
> De: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]En nombre de Tor Einar Kjørkleiv
> Enviado el: jueves 5 de julio de 2001 12:39
> Para: [EMAIL PROTECTED]
> Asunto: [JAVA3D] Displayi
Hi, David! Thanks for your answer.
Maybe I didn't explain well.
I realized that using multitexture was a too much cost process for frame
rating,
so I tried to make the multitexture in an offscreen pre-rendering process.
Why is better Java3D multitexture?
I must use Java2D anyway, to getting
I want to use the
Branchgroup.pickClosest(PickRay)
Form of picking rather than use a PickCanvas. The pick is nothing to do
with the mouse.
There is a tolerence being applied from somewhere which I want to reduce or
turn off.
I can find various references to picking tolerences but non of them se
I tried to set the front- and backclipdistance, but it did not work.
Did I do it right?
simpleU.getViewer().getView().setFrontClipDistance(2);
simpleU.getViewer().getView().setFrontClipDistance(2);
Todda
>From: Alvaro Zabala <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL
Sorry it should be:
simpleU.getViewer().getView().setFrontClipDistance(2);
simpleU.getViewer().getView().setBackClipDistance(2);
But it still not work...
Todda
>From: Alvaro Zabala <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Sub
Hi!
try:
simpleU.getViewer().getView().setFrontClipDistance(0.1);
simpleU.getViewer().getView().setBackClipDistance(30);
Regards!
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the messag
Alvaro,
Let's say that you want to apply two textures, Ta and Tb to one or more
shapes. If the effect that you want is for Ta and Tb to be overlaid on
each other such that the texture coordinates for the two are always the
same and the sizes of Ta and Tb are the same, then combine them into a
si
Hello Nikolaos,
I'm pretty sure that the appearance is assigned by reference. I am
using several Shape3D with IndexQuadArrays, all assigned the same
appearance object. To change the appearance fill state of the entire
scene, I just retrieve one appearance and change the PolygonAttributes,
and t
Having loaded a VRML model I can pick it with
BranchGroup.pickxxx(PickRay)
but cannot use either
shape3D.intersect(PickRay, PickRay, Double[ ]);
as ALLOW_INTERSECT isn't set.
Similarly
PickResult result = pickCanvas.pickClosest();
PickIntersection pickIntersection =
result.getC
On Thu, 5 Jul 2001, SIVAVAKEESAR wrote:
> Since I am new, can
> somebody advice me as to where I can find useful tutorials, demos, sample
> program etc related to 3D.
Lots of links to tutorials and stuff was posted very recently.
Have a look in the archive at the Thread 'I need Java 3D document
Dear Friends :I am very new to Java 3D. I
am now in the process of creating an GUI in 3D [ something like Sonique OR
Winamp player ] for my VoIP application. Can anybody tell me how can I do it
using Java 3D ? Since I am new, can somebody advice me as to where I can
find useful tutorials,
--- Jason Taylor <[EMAIL PROTECTED]> wrote:
> Errmm
>
> What software do you get 28fps with?
>
> If it's java based what version of JRE
> (1.2,1.3,1.3.1 ?) and Java3D
> (1.1,1.2,1.2.1, openGL on both?) have you got?
Jason,
We are using JRE 1.3 and OpenGL but on Win2000 we
have Java3D 1.1
Hi! These are the links Marianne told you about.
Links:
http://www.j3d.org/
-- The Java 3D Community (Justin Couch)
http://www.java.sun.com/products/java-media/3D/collateral/-- Sun Java3D
Tutorial
http://www.java3d.org/tutorial/
-- Beginners guide
http://www.labvis.unam.mx/elio/J3
Ronald,
Upgrade the Win2000 machine with Java 3D 1.2.1 and you should see a huge
performance increase. Your situation was intriguing because assuming
equivalent setups the faster machine should have been easily faster
unless there was a software throttle keeping the frame rate from going
up.
-
I have to use java3d applet to load VRML files to enrich my scenegraph,
but I don't know how can the Vrmlloader access the vrml files in a file
system or in a website.
Thanks a lot!
Wu Anbo
===
Hi Jack,
that would be great!! :-) J3d is a API I really want to work with. I
already tried other APIs like Inventor or Sense8's Toolkit. They have
their advantages but I think j3d is the better solution.
Ciao,
Hans
Jack Gundrum schrieb:
>
> There is a patch for the GL lib that someone posted
On Thu, 5 Jul 2001, Daniel Moscoso wrote:
> You just have to pass the file as an URL:
>
> URL textureURL = new URL("file:./background.jpg");
> TextureLoader loader = new TextureLoader(textureURL, this);
Another useful way to do it is to use getClass().getResource() for
instance you could do:
UR
Will Holcomb wrote:
> Does anyone know a way to write one path that will
> work both places? I guess you could get a url for the current class and
> see if it begins with jar: or not and make your path accordingly but that
> seems like a bit kludgy to me.
getClass().getClassLoader().getResource(
VERY COOL. Definitely need this in the Java3D.org CVS.
Todd
-Original Message-
From: Artur Biesiadowski [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 4:31 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Another shot at particle system
http://thenut.eti.pg.gda.pl/~abies/j3d/particle
Ehlo
> already tried other APIs like Inventor or Sense8's Toolkit. They have
How about Performer? I think on SGI platform this is still the best
solution (and also the fastest). Supporting Multipipe and multiprocessor.
EOF,
J.D.
--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)
===
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 the body of the message "help".
Just out of curiosity, do you have 'vertical sync' enabled? It's probably
called different things on different cards. But it's one reason why a small
app (spinning cube) will only get 60 fps on a GeForce2. It will sync to
your refresh rate (60 hz). Turn off vertical sync and you'll see yoursel
I can't run this thing or unpack it.
I get this error when I unjar it.
created: META-INF/
java.util.zip.ZipException: oversubscribed dynamic bit lengths tree
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:139)
at java.util.zip.ZipInputStream.read(ZipInputStre
"Kendall, Shawn" wrote:
>
> I can't run this thing or unpack it.
Some web browsers are known to corrupt jar files on download (nestcape
for example). You might want trying to download
thenut.eti.pg.gda.pl/~abies/j3d/particle2.zip
and either unpacking it or renaming to jar and running.
Artur
===
Sofar everyone has assumed its the jre / hardware that is causing the
bottleneck.
How about if the fps couning code is defunct?
N
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "s
Good point. First of all if you are counting frames in a behavior other
than elapsedFrame(0) then you are not guarenteed it will run when the
criterion is up. For example the elapsed time behavior is notoriously
inaccurate. Our first FPS counter used elapsed frames (40) and examined the
view fr
Thanks! I got it working.
Very nice, I like the moiton blur/trailing effect.
Artur Biesiadowski wrote:
> "Kendall, Shawn" wrote:
> >
> > I can't run this thing or unpack it.
>
> Some web browsers are known to corrupt jar files on download (nestcape
> for example). You might want trying to downl
Can someone help me get my brain around this. I'm working to
get Swing events into the scene graph, and I'm generating some
pretty awful code. There must be a sensible pattern to this
that I'm missing.
I take my basic pattern from the AWT_Interaction demo program.
This pattern calls for an AWT
> However the BranchGroup returned by the VRML loader is a pretty odd beast
> made of Links, Nodes, SharedGroups , ElasticBands and PaperClips and it
> isn't obvious how to find the geometry in it all.
>
I was wondering where my paperclips went!
> So, a) can one tell the VRML loader in advance
just as an fyi to anyone running the DX version of Java3D on W2k, there
is a known kernel issue wrt to AGP memory that affects vertex buffer
performance.
installation of DX 8, DX 8 drivers, and WK SP2 will result in better
poly thruput.
nvidia has a sample, benmark5, that can be useful to verif
Title: zero mail
hi all,
i am wondering how efficient Java3D's scenegraph culling is ?
AFAIK i konw a quadtree is used for culling, so it should no too
bad..
i guess everything is culled with the viewplattform bounds, so are the six
projection planes put in a BoundingSphere or the like that
Hi
As I stated last time I have some major problems with GeometryUpdater
when there are more shapes. I already wrote an optimizing routine to
cut down the number of shapes (by joining them together) but that's not
enough as it already gets rather slow when having more than 5 or 6 shapes
no matter
You will find most of what you are looking for if you search the mailing
list archives and also check out www.j3d.org.
However, the last question is a good one. Knowing whether or not a object
is culled, or rather notification through a listener during culling would
be quite useful. Also, contr
Title: zero mail
Kendall, Shawn wrote:
>You will find most of what you are looking for if you search
the mailing list archives and also check out www.j3d.org.
well, i looked at www.j3d.org before, but
din'T find anything, and after your mail i also did a search a the mailing
archive.
i
Hi Michael,
FYI below is the info I gathered on culling for the Performance
Sutras
(I'll have to do an update)..
As to actual stats on *how* efficient it is I can't say.
cheers,
Chris
LODS/Switches and culling
Application Culling
1.Using the application to cull nodes at a gross level
(e.g. u
Thanks Anand, Alvaro and aant!
I´ve tried all suggested solutions but still no line will display itself on
the screen. I did not quite understand Anand what you ment by the line
"geom.setColor(1, setColor);". Is it possible for you to explain closer? And
I´m very happy for any new suggestions that
hi there,
geom.setCoordinate(0, point1);
geom.setCoordinate(1, point2);
you forgot to set the coordinates!
-Original Message-
From: Tor Einar Kjørkleiv [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAV
Hi Tor
I am sorry, but it was a typo error. The actual code should have been
geom.setColor(1, lineColor);
I think that should solve the problem!
Regds
Anand
Tor Einar Kj $BS (Bkleiv <[EMAIL PROTECTED]> on 07/06/2001 11:26:58 AM
Please respond to Discussion list for Java 3D API
I´m so sorry! It worked when I did as you said Anand! Some how I had deleted
two lines in my code. Thanks a lot for helping me!
Todda
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
==
Hi,
Can anyone help me. I am trying to use IndexedGeometryArray for
drawing a box with flaps open. I am able to draw the box successfully
passing the coordinates by reference & colors.
box = new IndexedQuadArray(vertexCount, IndexedQuadArray.COORDINATES|
51 matches
Mail list logo