Re: [JAVA3D] Smoke and Fire

2004-10-31 Thread Kevin Glass
Particle engines is the normal way. Searching on google should bring you a whole bunch of tutorials. Kev [EMAIL PROTECTED] wrote: Hi, does anybody have an idea how to realize fire and smoke using real (animated) 3D-objects? The only solution I have uses images but these objects are flat (or show a

Re: [JAVA3D] SV: [JAVA3D] run java in internet explorer

2004-02-13 Thread Kevin Glass
> Hello! > > I have followed this disscussion with alot of interest. The conclusion > seems > to be that to be able to run a 3D-applet in a webbrowser you have to > install > a 3D-java-plugin. > > But I tried this excelent game (se link below), by Tonny Espeset, at a > computer that I am absolutly

Re: [JAVA3D] OpenGL <-> Java3D

2004-01-14 Thread Kevin Glass
> Yohan Baillot (Contractor) wrote: > >> >> Dear all, >> >> I am currently using OpenGL in my project to render graphics but I would >> like to use >> some of the Java3D and JMF tools as well. I have now the problem to let >> Java3D know >> what display surface created by OpenGL to use to draw. I m

Re: [JAVA3D] No off-screen mode?

2004-01-02 Thread Kevin Glass
Did you construct the Canvas3D with the second parameter set to true to indicate that the canvas should be in offscreen mode? Kev Michael Pfeiffer wrote: Hi, I use a custom universe with two Views - one is for a Canvas3D which is visible and a second one is for a Canvas3D I'd like to use for off

Re: [JAVA3D] ATI Mobility Radeon 9000

2003-12-08 Thread Kevin Glass
Alan, Yep, I've got a Mobility 9000, I can test if you need. I've never noticed any atifacts. I did however get the latest Omega drivers instead of limiting to what my laptop maker (Fujitsu Siemens) restricts me to. Kev Alan Hudson wrote: I tried Java3D on two laptops this week with ATI Mobility

Re: [JAVA3D] Volume

2003-11-25 Thread Kevin Glass
Coo, can tell I've haven't posted to the list in a while... sorry to bottom post, here it is in the right place: The open-source community has already made a start: http://www.xith.org Kev Kevin Glass wrote: Robert Jacobsen wrote: All, Being a new member of this list, this

Re: [JAVA3D] Volume

2003-11-25 Thread Kevin Glass
Robert Jacobsen wrote: All, Being a new member of this list, this is pretty disheartening news, to say the least. On the other hand, this could be an opportunity for the Open Source community to lend a hand, working with the folks from Sun who are knowledgeable about the 3D packages and go beyon

Re: [JAVA3D] .mtl file format specification

2003-11-04 Thread Kevin Glass
OBJ FILE FORMAT: http://www.wes.hpc.mil/faq/tips/vis_tips/obj.htm MTL FILE FORMAT: http://www.wes.hpc.mil/faq/tips/vis_tips/mtl.htm Kev > At the moment I'm developing a .obj file loader for J3D (which works > better than the one from Sun). I already have a specification for the .obj > file but

Re: [JAVA3D] Identify Picked Object

2003-10-08 Thread Kevin Glass
Most people approach this by assigning some "UserData" to the objects as their created using setUserData(). Then once you've performed you pick you can use getUserData() to retrieve the identifier you assigned. Kev > Hi, > > I'm using pickmousebehavior to pick objects > and make transformations o

Re: [JAVA3D] Determine the size of an object?

2003-09-02 Thread Kevin Glass
- Original Message - From: Kevin Glass To: [EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 7:44 PM Subject: Re: [JAVA3D] Determine the size of an object? The bounds of node should tell you this. Although its not always that accurate in

Re: [JAVA3D] Determine the size of an object?

2003-09-02 Thread Kevin Glass
The bounds of node should tell you this. Although its not always that accurate in my experience. Kev Dudi gil wrote: hi, How can I determine the size of a loaded model and that of the environment?? David Gil - Original Message - From: "Dudi gil" <[EMAIL PROTECTED]> To: <[EMAIL PR

Re: [JAVA3D] Web Server J3D

2003-09-01 Thread Kevin Glass
I have some trouble understanding what you're actually asking, but I think its this: ~~~ In my applet I use a JFileChooser to access the local file system. This works fine on my local machine but when my clients try it they get security exceptions. How do I fix this? Would web start fix this? ~~~

Re: [JAVA3D] Temporarily Dead?

2003-08-04 Thread Kevin Glass
As has been mentioned on this list before, there is at least one (there may well be 3 or 4) scene graph being written on JOGL with at least "some" java3D compatibility. The main public one (hope this is fair) at the moment appears to be Xith3D, at: http://xith3d.dev.java.net Kev > I feel Sun is

Re: [JAVA3D] run j3d program on Mac?

2003-07-29 Thread Kevin Glass
I'm afraid thats not currently possible. There is no Java3D port for MacOS. Kev Lan Wu-Cavener wrote: Hi, I would like to know if it is possible to run a java3D program on Mac? and how to do it if the answer is yes. Thanks! Lan Lan Wu-Cavener Dept. of Landscape Architecture ===

Re: [JAVA3D] error java 3d

2003-07-17 Thread Kevin Glass
> I keep getting this error: > > Java 3D > > can't attach Z buffer to back buffer > DDER_CANNOTATTACHSURFACE > > Any help would be appreciated I'm not sure what that explicit error means, but looks like switching to the OPENGL version would fix it :) Kev =

Re: [JAVA3D] I get no rendered picture? please help

2003-07-11 Thread Kevin Glass
Ah, I read the your last post as "you've set a background colour in your scene" and "its showing up". Ok, if its not rendering at all, normally means you've not added your canvas to your universe. Kev Nikolai V. Chr. wrote: Yes there is content, but that doesn't matter since no matter what the Ca

Re: [JAVA3D] I get no rendered picture? please help

2003-07-11 Thread Kevin Glass
Not to be trite, but is there anything in your scene, and is your camera/view looking at it. Kev Nikolai V. Chr. wrote: I have a problem that makes my head hurt: My scene does not render. This is what I observe: 1) all the nodes return true from isLive() 2) All my switches is set to CHILD_ALL

Re: [JAVA3D] [cyclic scene graph]

2003-06-30 Thread Kevin Glass
Could you use Link and SharedGroup to achieve what you want ? Kev > I am trying to manage a scene modeled by a graph. The problem is that > the graph is cyclic (a node can have more than one parent). > It is typical of some mechanism where you have more links connected to > the same joint. > It i

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Kevin Glass
creen. For the sake of this experiment I set it to 500x500. Hope this helps, Kev Björn Voigt wrote: Kevin Glass schrieb: I tried it and the other, but it does not work, could you run this code on your machine, that I know, that my configuration is OK? Thank for the time, you are spending for

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Kevin Glass
Try changing test.u = new SimpleUniverse(); to test.u = new SimpleUniverse(c); And take out your view lines... I assume this is the same thing, but its how I got it to work.. Kev > Hi Kevin, > > thank you for your fast reply, but it still not work > >>Looking at the code for model2sprite (ht

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Kevin Glass
Looking at the code for model2sprite (http://model2sprite.dev.java.net) three things might be worth trying: 1) Make sure rendering your scene to a normal canvas actually shows something. 2) Try using c.getOffscreenBuffer().getImage() after the rendering instead of relying on you're original image

Re: [JAVA3D] Java3D capabilities, its future and what OpenGL bindings can do

2003-06-25 Thread Kevin Glass
All I can say, is that you appear to be one of a very few (or a one project) that has noted all these problems. Maybe the project you're working on isn't suited to Java3D, maybe the way you're thinking about it isn't suited to Java3D. Either way, you're not talking about a general case here.. In ma

Re: [JAVA3D] Is Java3D dead?

2003-06-25 Thread Kevin Glass
No, Java3D 1.4 is in a "holding pattern". Actually, if you check out this post: http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=3D;action=""> You'll see that one Doug Twilleager (Chief Architect of Java 3D, and now some other placement on JOGL) said exactly that. Kev Paul Gord

Re: [JAVA3D] Is Java3D dead?

2003-06-25 Thread Kevin Glass
You'd have to ask why you follow the trends and not consider the technology for yourself? Surely a large part of being a developer is finding the right tool for the job based on your own assesment? Kev > --- William Denniss <[EMAIL PROTECTED]> wrote: > I think it would >> be wise to know that the

Re: [JAVA3D] Is Java3D dead?

2003-06-25 Thread Kevin Glass
> á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison) wrote: > >>But the speed obsession also works against Java-based anything, >>since the (partial) myth of Java being slow will keep developers >>using C or C++. >> > There are a couple of points that were brought up at JavaOne on this. > 1. We need more java-bas

Re: [JAVA3D] Is Java3D dead?

2003-06-24 Thread Kevin Glass
> Kevin Glass wrote: > >> >> I still can't see why anyone would go for a native binding unless they >> have a desperate need for speed or fancy features. In those cases, why >> not use C++? >> > Its more a problem of reaching the end of the Java3D API

Re: [JAVA3D] Is Java3D dead?

2003-06-24 Thread Kevin Glass
Actually, the 1.4 description talk of some things that are considered basic in the rest of the world: * Access to the stencil buffer * Some direct access to the extensions mechanism Alot of things in there were nothing to do with the new specs, but just bringing us in line with what exists (in ha

Re: [JAVA3D] Is Java3D dead?

2003-06-24 Thread Kevin Glass
I believe the actual message was that the 1.4 was in a "holding pattern". This was clarified as meaning that Java3D wouldn't be seeing new development for a while (which seems logical now since development efforts will be targeted at the new gaming developments, jogl, joal, jinput). However, I've

Re: [JAVA3D] Java3D on OS X

2003-06-23 Thread Kevin Glass
um, and? Kev > The failure of Sun and Apple to reach agreement on licensing > Java3D for OS X is harming those of us who have invested so > much in developing software for Java3D and OS X, as well as > those who have purchased OS X machines. It is caused by the > childish behavior of the Sun and

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Java 3D, GL4Java, JOGL, GL UT

2003-06-20 Thread Kevin Glass
thats just a trade off. So, by suggesting that we put java3d on top of JOGL, arn't you saying we need to put all the logic in the scenegraph (e.g. inside the java implementation)? Maybe I misunderstood, if so, I apologise. Kev   Cheers,   Florin -Ursprün

Re: [JAVA3D] Simple Math or ?

2003-06-20 Thread Kevin Glass
Transform3D t = new Transform3D(); t.setTranslation(new Vector3d(0.6,0.02,0)); Chris Fenton wrote: Is it possible to generate the Transform Matrix that moves polygon point A from (-0.5,0.08,0.1) to (0.1,0.1,0.1) for example. Is there a good reference book(s) or site(s) for these kinds of operation

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Java 3D, GL4Java, JOGL, GLUT

2003-06-20 Thread Kevin Glass
. And the speed lost at higher level might be regained or surpassed by optimizations that will be allowed by the access to low level api's. My 2cents. Cheers, Florin -Ursprüngliche Nachricht- Von: Kevin Glass [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 20. Juni 2003 14:00 An: [EMAIL

Re: [JAVA3D] AW: [JAVA3D] Java 3D, GL4Java, JOGL, GLUT

2003-06-20 Thread Kevin Glass
ngliche Nachricht- Von: Kevin Glass [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 20. Juni 2003 09:16 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] Java 3D, GL4Java, JOGL, GLUT If you were to base a Java 3D implementation on top of a native binding to OpenGL (any binding) how could you hope to gain

Re: [JAVA3D] Java 3D, GL4Java, JOGL, GLUT

2003-06-20 Thread Kevin Glass
If you were to base a Java 3D implementation on top of a native binding to OpenGL (any binding) how could you hope to gain back any speed? Isn't one of the benefits of not implementing ontop of an OpenGL binding that you can do more on the native side and reduce the number of calls across JNI?

Re: [JAVA3D] Whats in the Transform3D

2003-06-18 Thread Kevin Glass
I'm not sure, but I guess you could write a quick bit of reflection code to find out? > I was wondering if anyone could tell me what non-static data (fields) is > actually contained within a Transform3D... > > I am curious because I would like to get a better idea of what the cost > of allocating

Re: [JAVA3D] Light Everywhere!!!

2003-06-17 Thread Kevin Glass
Isn't that what AmbientLight does? Kev Γιάννης wrote: Could i have light everywhere within the Universe? I would like to rotate the shape and see all its faces

Re: [JAVA3D] New Java Community Site - Java 3D

2003-06-16 Thread Kevin Glass
eally nice professional looking games.. so, is there an answer or an expected time we'll have an answer for the future of Java3D 1.4 ? Kev James Black wrote: Kevin Glass wrote: Just been looking at the new java community site over at www.java.net, which apart from being a poor shade of

[JAVA3D] New Java Community Site - Java 3D

2003-06-10 Thread Kevin Glass
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

Re: [JAVA3D] AW: [JAVA3D] niewbie in Java3d, HELP

2003-06-06 Thread Kevin Glass
This might give you what you need: http://www.royriggs.com/obj.html Google, its your friend. Kev > HOw can i do that? Transforming the text file into a .obj? any > reference? > > === > To unsubscribe, send email to [EMAIL P

Re: [JAVA3D] I am contributing code for counting triangles and vertices

2003-06-04 Thread Kevin Glass
Ian, Just observations, feel free to ignore * Method comments are good, but would be nice if they were javadoc compatible. * How about some inline comments about the caculation for each type? * Does this handle geometry coordinates by reference (Is this what the Indexed versions do)? * What if

Re: [JAVA3D] Display problem using Java3D 1.3

2003-05-29 Thread Kevin Glass
that > if i zoom out to quite a large extent the color change appears and on > zooming in, the color change disappears and turns to the original color. > Anything to do with clipping etc? > > Thanks, > Raghav > > Kevin Glass wrote: > >>>Hi, >>> >

Re: [JAVA3D] Display problem using Java3D 1.3

2003-05-29 Thread Kevin Glass
ge the zoom, you update the view, so the scene is redrawn (and your changes take effect) Note: I'm only guessing this might be your problem, it may be completly wrong, but it might be worth trying to check. > > Thanks, > Raghav > Kev > Kevin Glass wrote: > >>Is you

Re: [JAVA3D] Display problem using Java3D 1.3

2003-05-29 Thread Kevin Glass
Is your scene actually being refreshed after the pick? I'm not sure changing the color of an entity will force a refresh? Try resetting your view to the same view directly after your pick. This should force a refresh. Kev > Hi, > > I have an application wherein i draw a set of lines (LineArray)

Re: [JAVA3D] blending two textures using an alpha mask

2003-05-29 Thread Kevin Glass
1) You could use multi-texturing, but I've never seen this work particularly well. (look at the javadoc for TextureUnitState) 2) You could draw 2 polygons very slightly apart with a single texture on each using standard transparency. 3) If the amount of alpha isn't going to vary at runtime you co

Re: [JAVA3D] RE : [JAVA3D] JDialog and Java3D

2003-04-02 Thread Kevin Glass
Most likely this is to do with how you're creating the canvas that is being used in the dialog. When you set the dialog to modal the setVisible(true) call blocks on the current thread until setVisible(false) is called. This "blocking" is probably stopping the rendering thread from running. Have to

[JAVA3D] Morphs and NNUID

2003-03-30 Thread Kevin Glass
I'm using some morphs for animation, when I change the geometry using setGeometryArrays. I keep getting this message printed out with no stack trace: Can't Find matching nnuId. We're in TROUBLE!!! Anyone know how to get rid of it? Kev -- Jose UML - http://www.newdawnsoftware.com/jose Pondering RP

Re: [JAVA3D] Compile() and live

2003-03-27 Thread Kevin Glass
tony Lincoln wrote: Dear friends, I want to remove one child from TransformGroup(TG) by pressing one button, codes like this: [/CODES] class AWTInteractionBehavior extends Behavior implements ActionListener { private TransformGroup transformGroup; private BranchGroupBG; // create a n

Re: [JAVA3D] How to wake up different Shape3Ds at different times?

2003-03-24 Thread Kevin Glass
You could either use 2 behaviours, each with different timings that wake up seperate elements, or you could add two different wake up criterion and replace your instanceof check with a check against the criteria. HTH Kev A. Murat Tanyer wrote: Dear all, I sent this message to the

Re: [JAVA3D] GeForce Card

2003-03-18 Thread Kevin Glass
GB Liu wrote: Dear Friends: I have a big headache now. I have been using Geforce 2Max/Max card for rendering stereo images. It worked well. However, GeForce 2 has been obsolete and GeForce seems does not support Java3D stereo (I have tested Geforce 3 and 4 and did not have any luck). If any o

Re: [JAVA3D] AW: [JAVA3D] Client/Server Java3D

2003-03-18 Thread Kevin Glass
I didn't realise there were explicit 3d commands in the windows terminal server (and its like protocols). I thought it might be because the canvas 3d uses a VolatileImage that is mapped directly to acceraleted video card memory and updated outside of the context that the terminal server software c

Re: [JAVA3D] AutoCAD "DXF" files: 3d in a browser: use Sun VRML Loaders -- as I did -- Works Great !

2003-03-13 Thread Kevin Glass
Excuse me, is there any chance this user could stop sending mails of this type (or be banned or something?). I have to say I don't really care whether he/she is right or wrong, or whats happening with the VRML "war", I just don't appreciate huge mails downloading when I'm trying to read what is oth

[JAVA3D] [OFF-TOPIC?] 3D Support on the move (laptops)

2003-03-06 Thread Kevin Glass
I'm looking around at buying a laptop with the intention of doing my hobby development on the sofa :) I noticed quite alot of you guys seem to be using them and was hoping for some buying advice. 1) Which is the better mobile card (Nvidia or ATI) ? 2) How do mobile relate in performance to deskto

Re: [JAVA3D] Finding parent of a picked leaf node

2003-03-03 Thread Kevin Glass
Sure, data object isn't really a special term, I just mean an object to store your data. For instance, in my application I have a player who wanders round a world. For my player I have a J3D branch group called "Actor3D", actually actor 3d represents any "actor" in the game (monsters, NPCs etc). T

Re: [JAVA3D] Finding parent of a picked leaf node

2003-03-03 Thread Kevin Glass
> Hi Josh > > Not an expert on this but being as I have been doing a fair bit with > picking lately I thought I mioght have a crack at helping you. It is > not possioble to get the parent of an object at runtime but I find two > things are needed to solve you problem. firstly if the scenegraph pa

Re: [JAVA3D] Java 3D or GL4Java

2003-02-26 Thread Kevin Glass
With respect, I don't think its quite that simple. The Java3D vs GL4Java discussion is much like any other argument in computing, pros and cons. Ease of use: Java 3D is, for most people, easier to use, although you have to deal with an interpretation of 3d programming (SUN's) which may not be as

[JAVA3D] Bug List and Picking

2003-02-23 Thread Kevin Glass
First off, could someone point me at the location of the list of bugs for Java3D? I don't seem to be able to get any search results on the java bug parade? I keep getting a null point thrown from inside the picking code when I use a bounding sphere as a pick shape. At the moment I can catch this ex

Re: [JAVA3D] Advantages of picking over consulting the actual geometry

2003-02-20 Thread Kevin Glass
Andy, I agree with you, picking for terrain following is too comple and results in poor performance. I think the tutorial on j3d org is just an example of how you "could" do it. I don't think there is any really great advantage to do it this way. Kev Andy Gombos wrote: What is the main reason

Re: [JAVA3D] how to set full screen at compile time?

2003-02-18 Thread Kevin Glass
I guess www.j3d.org is out of date. In Java 1.4 you can do "proper" full screen mode. Which incidently is faster for certain graphics cards, like the Voodoo series which can only do 3d acceleration in full screen mode. There is an example to download of how to do hardward full screen mode at: htt

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Kevin Glass
Dead on, and thats exactly what I've done. From the message I guessed it meant that the pick hadn't actually hit so I just pretend its a negative response. However, I could do with the bug number, I'll have another search. Kev > Yes! > > I'm not sure of the report number but I asked this questio

Re: [JAVA3D] ? Change Appearance ... colors, etc ?

2003-02-16 Thread Kevin Glass
I suspect you haven't set ALLOW_APPEARANCE_WRITE on the Shape3D or you used Sphere, in which case you don't seem to be able to set this capability. Looks like you'd have to do the following for each part: Sphere.getShape().setCapability(ALLOW_APPEARANCE_WRITE); The reason it works any way is t

[JAVA3D] Picking Bug?

2003-02-15 Thread Kevin Glass
Known bug? java.lang.RuntimeException: Interp point outside quad at com.sun.j3d.utils.picking.PickIntersection.getInterpWeights(PickInter section.java:1473) at com.sun.j3d.utils.picking.PickIntersection.getPointCoordinates(PickIn tersection.java:1115) at org.newdawn.pondering

[JAVA3D] Renderer Implementation

2003-02-15 Thread Kevin Glass
I suspect this question may have been asked before, but I couldn't find it. I realise that J3D has implementations that sit on DirectX and OpenGL. Is the renderer therefore "pluggable" as a defined API? Are there any other implementations? I was kinda thinking along an opitimised software renderer

Re: [JAVA3D] Creating a Background with a color gradient

2003-02-13 Thread Kevin Glass
hGroup scene = createSceneGraph(); >u = new SimpleUniverse(c); > >u.getViewingPlatform().setNominalViewingTransform(); > >u.addBranchGraph(scene); > }//end of init > > public void destroy() { > >u.removeAllLocales(); > > }//end of destroy > >

Re: [JAVA3D] Creating a Background with a color gradient

2003-02-12 Thread Kevin Glass
it was a succesful > process but there are some speed issues due to which I cannot use this > method. > > > - Original Message - > From: "Kevin Glass" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 12,

Re: [JAVA3D] Question on views & viewingPlatforms

2003-02-12 Thread Kevin Glass
Phil, Its probably easier if you don't construct your own view nodes. Best to just use: TransformGroup viewGroup = canvas.getView().getViewingPlatform().getViewPlatformTransform(); Then just use setTransform() and getTransform() on the "viewGroup". This should update your view happily without a

Re: [JAVA3D] Creating a Background with a color gradient

2003-02-12 Thread Kevin Glass
Have you tried it with a single color? Does that work? I was under the impression that the background geometry needed to fit in a 1 unit cube centered around (0,0,0). Unless I read it wrong, your background is outside of this cube (it being a 2 unit cube). Kev > Hi All, > I am trying to create a

Re: [JAVA3D] Function of normalise()

2003-02-12 Thread Kevin Glass
Normalise is used for quite good for a few things. Its useful when comparing any two vectors, means that sometimes you can do comparisons between the components as opposed to the vector itself. Also, isn't it used in conjuction with the dot product (or is that the cross product) to work out the cos

Re: [JAVA3D] loading 3ds

2003-02-06 Thread Kevin Glass
Do you add that branch group to your scene somewhere? > Hi all! > > I'm using Starfire's 3ds loader to load 3DMax models. > During the load process it looks like to be everything OK. > But after I followed the (Starfire's) instructions nothing shows up in > my universe. > What I'm doing wrong? > >

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] advice and tips on a tree

2003-01-31 Thread Kevin Glass
Did I miss something, or is this email a repost? Incidently, what format is your image? Does it actually have an Alpha channel? Kev > -Ursprüngliche Nachricht- > Von: Lan Wu-Cavener [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 30. Januar 2003 21:48 > An: [EMAIL PROTECTED] > Betreff

Re: [JAVA3D] Class cast Exception

2003-01-30 Thread Kevin Glass
To state the obvious, either: 1) The criteria.nextElement() doesn't return a WakeupOnAWTEvent (Unlikely) 2) The events returned arn't MouseEvents (quite possible) 3) Or the pick ray doesn't hit a "Cone" object (very possible) In any of theses cases, just print out the class of the thing (using .g

Re: [JAVA3D] Light Cycle game

2003-01-26 Thread Kevin Glass
API > [mailto:[EMAIL PROTECTED]] On Behalf Of Kevin Glass > Sent: Friday, January 24, 2003 9:48 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Light Cycle game > > For those who downloaded my light cycle java3d program, I've just put > up a new version at: > > http://

[JAVA3D] Light Cycle game

2003-01-24 Thread Kevin Glass
For those who downloaded my light cycle java3d program, I've just put up a new version at: http://www.newdawnsoftware.com/lightcycle/ Its still in the early stages, but the new version fixs network play (moved from TCP to UDP). Kevin =

Re: [JAVA3D] problem with View clipping

2003-01-09 Thread Kevin Glass
a re-render is actually happening. Sorry I can't be more help, don't have access to my stuff from here. Kev > is there a way to convey this to Java3D that "something is changed" on > changing the clipping? > > -----Original Message- > From: Kevin Glas

Re: [JAVA3D] problem with View clipping

2003-01-09 Thread Kevin Glass
Java 3D only forces a re-render when something in the scene changes. It might just be that setting the front clip distance doesn't count as "something changing". Most applications seem to end up with a behaviour that schedules itself to be hit every frame. This means that the renderer has to run a

Re: [JAVA3D] Loader Question

2003-01-01 Thread Kevin Glass
I think this pretty much depends on loader implementation. Loaders actually read the file and produce shape3d nodes (among others) that represent the scene. Whether they are "tagged" in some way with the name of the object or in some cases the name of the geometry from the file is down ot the imple

[JAVA3D] Xmas Project - Light Cycle Game

2002-12-31 Thread Kevin Glass
Hey all, It being christmas I got a few extra hours to play with my Java 3d. I've written a little game based on the movie: Tron's light cycles. Thought you guys might like to see. http://www.newdawnsoftware.com/lightcycle Its a very early version and only available for windows at the moment. K

Re: [JAVA3D] Texture on objects loaded from lwo files

2002-12-16 Thread Kevin Glass
The brute force way of doing this is too traverse the scene tree looking for Appearance nodes and change their textures (assuming appropraite bits have been setup and you can find the node you're looking for). The loaders I've created support a "NodeFactory" interface that allows the user of the l

Re: [JAVA3D] JPEG 3D - output

2002-12-03 Thread Kevin Glass
André Barbosa wrote: People, it´s possible to generate an image using Java3D and output stream that to a browser (without save ion a disk), like a JPEG image? Thank´s Andre Barbosa www.c-events.com This is possible. Use an offscreen canvas to genera

Re: [JAVA3D] Memory Optimization SOS

2002-11-22 Thread Kevin Glass
Hey, I suppose in many way this is comparable to large data sets of terrains. I use a fairly large data set for my terrain by perform culling by hand. It all really depends on whether you need to see the "whole" molecule at once. If you do, you'll need a more powerful machine. However, if as I exp

Re: [JAVA3D]

2002-11-19 Thread Kevin Glass
I suppose you could use Transform3D.lookAt() to achieve this? Kev Stein-Arne Sivertsen wrote: I have a rather simple question which might be a bit off-topic, but i am looking for a method that can take a beam/line represented by two points [start,end] anywhere in space and produce the Transform

Re: [JAVA3D] Want to get the angle between two coordinates (2 vector3d point)

2002-11-16 Thread Kevin Glass
Your vector "tt" is set to 0,0,0. You can have an angle between this and another vector, since this vector has zero length, hence it doesn't "point" in any direction. Kev ramanathan v wrote: Hi, I am trying to find the angle between the two vector3d objects and it gives me NaN. Am i doing some

Re: [JAVA3D] Out of topic: How to store and serialize images economically

2002-11-11 Thread Kevin Glass
Pasi Paasiala wrote: Hello all, Even though this is not strictly a Java3D question I think there might be people who know or are interested in this question. Sorry for the rest. In our application we are taking snapshots from Canvas3D and we maintain them as BufferedImages in the memory. I have

Re: [JAVA3D] detach() of Branchgroup

2002-11-05 Thread Kevin Glass
Kev Appalaraju.Kvrapati wrote: 759BC7ED1B0BD6118BC400B0D0E16A1FC662D0@BHILLS3NT002"> Hi Kevin, Thanks for your quick response. can you send some sample codeusing RenderingAttributes which is of great help to me?.Thanks, Raju-Original Message-----From: Kevin Glass [mailto:[EM

Re: [JAVA3D] detach() of Branchgroup

2002-11-05 Thread Kevin Glass
RenderingAttributes: setVisible(false); Appalaraju.Kvrapati wrote: Hi Group, When the scene is alive, How to hide a geometry of the shape3d in a branch group?. I have tried detach() and removechild() methods of a branchgroup. These methods are taking lot of time. Any alternativ

Re: [JAVA3D] AntiAliasing a BufferedImage

2002-11-04 Thread Kevin Glass
Martin Frey wrote: Hi does someone know how to antialias a bufferedimage? i need to print my canvas3d and i thought i would be great if it can be antialiased before printing. else the printing works very fine. thanks Martin You could use a filter to perform an averaging across your buffered im

Re: [JAVA3D] Texture Magnification Filters and Tiling Textures

2002-10-30 Thread Kevin Glass
Sorry, teach me to read the documentation before I post. There is a setting on Texture to set the wrapping. Kev Kevin Glass wrote: Hi, I've just started tiling some generated textures across my terrain. Originally I got the terribly pixelated look from my BufferedImage textures. I found

[JAVA3D] Texture Magnification Filters and Tiling Textures

2002-10-30 Thread Kevin Glass
Hi, I've just started tiling some generated textures across my terrain. Originally I got the terribly pixelated look from my BufferedImage textures. I found that I I need to set up the magnification filter to smooth them out. However, I'm tiling textures together and where two different textures m

Re: [JAVA3D] lines and shade drawing

2002-10-12 Thread Kevin Glass
I'm not sure, but I believe there was a post similar to this some time ago, probably why you didn't get an answer straight away. From what I remember the way you are doing it is correct, e.g., 2 Shape3Ds with appropriate polygon attributes. I don't believe the polygon offset was ever considered be

Re: [JAVA3D] KISS

2002-09-18 Thread Kevin Glass
ajaxinc wrote: > KISS = Keeping Implementations Simple & Short Yes, just what we need, another acronym. > > what's the simplest way to implement picking of rectangular region of > canvas Have you posted this many times? I seem to have seen it lots. The simplest away is probably to cycle acros

Re: [JAVA3D] hiding shape3Ds

2002-08-25 Thread Kevin Glass
ajaxinc wrote: > hi, > Once a shape3D is part of the scenegraph, it is rendered on the > screen. Is there any way by which I can hide the shape3D that is part > of scenegraph? > > > Ajax. You can set its RenderingAttributes (in Appearance) to not visible. Kev ==

Re: [JAVA3D] Help Needed

2002-08-17 Thread Kevin Glass
Iswari wrote: > Hi, > > Though my doubt is not relevant to Java3d, I wish to be clarified on > the following questions: > > 1. Is it possible to protect the class files from decompilers? How? > 2. Is it possible to overload the class loaders of an applet? How? > > If this is not the group where I

Re: [JAVA3D] Advanced terrain texturing - help needed

2002-08-14 Thread Kevin Glass
David, I've tried implementing points 1,3,4 from your mail. 1 working out fine but hit the performance alot, especially with complicated terrains since it required so much extra geometry. I tried 3 and 4 in a different context when attempting to layer skins on top of a player model to create "clo

Re: [JAVA3D] Any large free "maps"?

2002-08-13 Thread Kevin Glass
Marc, I've got a Quake 2 BSP loader at: http://www.cokeandcode.com/j3d There are quite a few free quake 2 levels. The Quake 2 BSP loader hasn't really been tested tho, Kev Marc Palmer wrote: >Hi, > >For testing some Java3D stuff we'd really like to load some good game >"levels" so that we c

Re: [JAVA3D] Swing and geometry

2002-08-09 Thread Kevin Glass
Reference one of them explicitily, e.g.: gunXfmGrp.addChild(new com.sun.j3d.util.geometry.Box(1.0f,1.0f,0.5f,gunApp)); and import the other. Kev Rob Elsam wrote: >I am making a game that uses a Box shape and has a GUI >to control various things. However importing Swing >and >com.j3d.utils.ge

Re: [JAVA3D] java3D on AIX

2002-07-30 Thread Kevin Glass
http://java.sun.com/products/java-media/3D/ports.html shows that IBM have release an AIX Java 3D port, which is at: http://alphaworks.ibm.com/tech/aixj3d amol ambekar wrote: >I would like to know if Java3D version 1.3 or above is available on AIX >platform? > >Amol. > >

[JAVA3D] Java 1.3 - Bump Mapping

2002-07-27 Thread Kevin Glass
Did Bump Mapping make it into the J3D 1.3 release? If so, has anyone tried it/got a demo I could see? I can't find any information about how to achieve the effect? Thanks Kev === To unsubscribe, send email to [EMAIL PROTECT

Re: [JAVA3D] missing com.ibm.trl.soapimpl package..

2002-07-25 Thread Kevin Glass
Puri, Sumit wrote: >Hi every one > >Can any one suggest where i can find this package.. > >Thanks in advance. > >Sumit > >= >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAV

Re: [JAVA3D] Live Object

2002-07-24 Thread Kevin Glass
Title: Re: Re: [JAVA3D] Live Object Arn't there some capabilities you can set on the shape to allow getting the parent on a live node? Kev Jonathan Smolarski wrote: 000201c23316$0fa90f30$420a@Active3DSt3"> The getParent() method only work on non-lived, non-compiled object. What I

Re: [JAVA3D] Array of objects??

2002-07-24 Thread Kevin Glass
You've created your array, be you actually create any objects in the array. Object[] array = new Object[100]; Only creates space for 100 Objects, it creates no actual objects... you need to do a     array[i] = new Object(); for each element. Kev Karl Parry wrote: [EMAIL PROTECTED]"> D

Re: [JAVA3D] problem in picking

2002-07-23 Thread Kevin Glass
apeCylinderRay(origin, direction, radius)in this method what should be the correct value of the parameters is notknown to me.Can you please have a look at the code and tell me the mistake or changes Ineed to do.Thanks,nitin -Original Message-From: Kevin Glass [mailto:[EMAIL PROTECTED

  1   2   >