[JAVA3D] From Java 3D

2003-02-04 Thread N Vaidya
Just wanted to share with you all the attached picture which is from a Java 3D visualization that I did recently of the SSLV dataset from NAS/NASA (courtesy Buning et al. ). To the Crew and To Science... Vaidya _ STOP MORE SPAM

Re: [JAVA3D] From Java 3D

2003-02-05 Thread N. Vaidya
>On Tue, 4 Feb 2003 14:18:04 -0800, Julian Gomez <[EMAIL PROTECTED]> >wrote: >on 2/4/03 11:39, N Vaidya at [EMAIL PROTECTED] wrote: >> Just wanted to share with you all the >> attached picture which is from a Java 3D >> visualization that I did recently of

Re: [JAVA3D] Alarming amounts of garbage generated by picking routines

2003-02-12 Thread N. Vaidya
I do recall that I ran into similar memory overheads sometime last year. PickTool.INTERSECT_TEST produces probably (much ???) less garbage than PickTool_INTERSECT_FULL. Haven't examined this issue in recent times. Vaidya >On Wed, 12 Feb 2003 11:43:40 +, Rob Nugent <[EMAIL PROTECTED]> wrote:

Re: [JAVA3D] Ordered Group?

2003-02-12 Thread N. Vaidya
Well, you may also want to seek better counsel, but here's my $0.02 worth. If you don't use the OrderedGroup, then my guess would be that the spiral should be visible behind the sphere. If you use the OrderedGroup, then the behavior you see is as expected. The reason I believe is that the View fl

Re: [JAVA3D] The full version paper for the triangulation implmented in Java3D

2003-02-21 Thread N. Vaidya
>On Fri, 21 Feb 2003 09:52:56 -0700, White Morph <[EMAIL PROTECTED]> >wrote: >It turns out that the link to the paper that I posted last time is just the >preliminary version of the full paper. Here is the full version of the >paper: http://www.mema.ucl.ac.be/~wu/FSA2716-2002/download/held00fist.p

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Java 3D or GL4Java (also solution to la rge number of geometry problem)

2003-02-26 Thread N. Vaidya
Hi Ian and Florin, This problem of when and when not to use TGs was examined by Chien and and to some extent by me sometime last year IIRC. I think it is a compromise and mostly app. specific. Chien gave the useful stat. that TG + Shape3D takes ~3.6K (off the top of my head). http://swjscmail1.ja

Re: [JAVA3D] what is kelvin chung real address ?

2003-03-15 Thread N. Vaidya
On Sat, 15 Mar 2003 14:35:39 +0100, =?iso-8859-1?Q?Silv=E8re?= Martin-Michiellot <[EMAIL PROTECTED]> wrote: >I'm trying to send e-mails directly to Java3d team of Sun but >[EMAIL PROTECTED] seems not to be a valid address anymore. Anybody's got >a real contact ? > >Thanks. > Try [EMAIL PROTECTED

[JAVA3D] Separate Specular Color

2003-03-17 Thread N. Vaidya
Been a little out of sync with the the latest API docs... Is GL_SEPARATE_SPECULAR_COLOR specifiable explicitly in Java 3D, or, does it get invoked automatically ? Looks like this feature has been available since OGL 1.2 (?). Thanks in advance Vaidya

[JAVA3D] COLOR_3 + UCIO + Transp.Att

2003-06-06 Thread N. Vaidya
Well, still seem to be having problems with transparency and COLOR_3 + UCIO with the J3D FCS. Here is a summary: With transparency set up thru' TransparencyAttributes: 1. IndexedGeometryArray with COLOR_3 + UCIO bits appear opaque instead of transparent. 2. IGA with COLOR_3 bit alone renders c

[JAVA3D] COLOR_3 + TranspAtt

2003-05-30 Thread N. Vaidya
Is there a problem specifying colors thru' COLOR_3 in IndexedGeometryArray and specifying transparency thru' TranspAtt to get a transparent colored surface ? Switching off the U_C_I_O bit I think (after a lot of hunting down) seems to help. I should probably check this out in a small testcase to b

Re: [JAVA3D] COLOR_3 + TranspAtt

2003-05-31 Thread N. Vaidya
Don't know if this is deliberate or an oversight, but noticed this quirk with IndexedGeometryArray specification. For example, if I specify an IGA as follows: IndexedTriangle Array ita = new IndexedTriangleArray ( tverts.length / 3,

Re: [JAVA3D] Java3D's use of OpenGL display lists

2003-06-03 Thread N. Vaidya
>On Mon, 2 Jun 2003 16:39:08 +0100, Rob Nugent <[EMAIL PROTECTED]> wrote: >Does anyone know if it's possible to stop Java3D using OpenGL displaylists ? >E.G. is there a property I can set on the Java command line at start up ? > Rob, I'm not sure if such a command line option has been made publi

Re: [JAVA3D] platform issue with texture image and linearray?

2003-06-03 Thread N. Vaidya
Well, something which caught my eye...TetrahedronILA doesn't have texture coordinates specified. Have you added them to the code ? I can confirm that on windows textured lines have been working even with Java versions pre-dating yours, though I may have used only a selected texture modes. Rgds V

Re: [JAVA3D] platform issue with texture image and linearray?

2003-06-03 Thread N. Vaidya
Hmm..something seems to be awry with my e-mail system today... none of my e-mails seem to go thru' Anyways, just wanted to check if you had specified Texture Coordinates on the TetrahedronILA. Set the Texture_COORDINATE_2 ( or even 3 )bit and do a setTextureCoordinates(...) on the ILA if you haven

Re: [JAVA3D] Java3D's use of OpenGL display lists

2003-06-03 Thread N. Vaidya
Sorry, there does appear to be a command line as Carlos mentioned. I really need to download and cache the props. file from j3d.org...:) Vaidya >On Mon, 2 Jun 2003 09:57:58 -0600, N. Vaidya <[EMAIL PROTECTED]> wrote: >>On Mon, 2 Jun 2003 16:39:08 +0100, Rob Nugent <[EMAIL

[JAVA3D] Compiled Vertex Array

2003-05-14 Thread N. Vaidya
Saw this one up in the README file. Now, when would an IndexedGeometryArray *NOT* be in the display list mode ? Is the connotation here BY_REFERENCE mode ? Is this extension exotic enough to merit inclusion in QueryProperties.java ? Thanks Vaidya ===

Re: [JAVA3D] COLOR_3 + UCIO + Transp.Att

2003-06-10 Thread N. Vaidya
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

[JAVA3D] Java 3D @ JavaOne

2003-06-12 Thread N. Vaidya
Folks, What's the latest news on Java 3D ? The games Weblog @ java.net seems to be a dead end. Anyone knows anythingespecially on where to find the announcements if any on Java 3D ??? TIA Raj Vaidya === To unsubscribe,

Re: [JAVA3D] Attachments

2003-06-15 Thread N. Vaidya
>On Sun, 15 Jun 2003 09:41:58 +0200, Artur Biesiadowski <[EMAIL PROTECTED]> >wrote: >Is it possible to filter out attachments bigger than, lets say, 100kb ? >It would save us having to download such 'informative' messages. > Yeah, I fully agree. Also, need a filter for detecting and nuking virus

Re: [JAVA3D] What Version of J3D Am I Running?

2003-06-16 Thread N. Vaidya
>On Mon, 16 Jun 2003 17:40:39 -0400, Smith, David <[EMAIL PROTECTED]> wrote: >Is there a way to tell what version of Java3D >I am running? Via OS, command line, programmatically, >whatever? > >Thanks, >_DaveS > > To get the version info from the commandline, I usually run the JAVA_HOME/demo/java3

Re: [JAVA3D] Memory Leak? SimpleUniverse refers to SetLiveState...(with test case)

2003-06-25 Thread N. Vaidya
>On Wed, 25 Jun 2003 15:06:27 -0700, Kelvin Chung <[EMAIL PROTECTED]> >wrote: > >Bug 4884065 - Memory leak in SetLiveState when branchGroup remove > >is filed for this. > >Actually this is not that serious as the memory will free next time >the same SimpleUniverse is used. Otherwise you can always

Re: [JAVA3D] Memory Leak? SimpleUniverse refers to SetLiveState...(with test case)

2003-06-25 Thread N. Vaidya
I forgot to add that the memory leak that I mentioned happens usually with textured objects. It is possible that these are the ones in my app. which have such high memory footprint to be conspicuously evident as a leak. Raj >On Wed, 25 Jun 2003 16:32:43 -0600, N. Vaidya <[EMAIL PROTECTED]&

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

2003-06-26 Thread N. Vaidya
Well, let me see what you want to do with your 1000 spheres problem. Every frame you want to draw a certain number of spheres, max. no. = 1000. Your Java 3D approach, which you don't seem to favor, is to pre-allocate and make live all the 1000 spheres and at every frame determine which of these you

[JAVA3D] JavaWorld Java 3D article

2003-07-14 Thread N. Vaidya
If you haven't seen it yet http://www.javaworld.com/javaworld/jw-07-2003/jw-0704-3d_p.html Just when you thought it was all over :-) Raj Vaidya === To unsubscribe, send email to [EMAIL PROTECTED] and include in the

Re: [JAVA3D] goodbye for now

2003-08-02 Thread N. Vaidya
Hi Mark and Kelvin, My heartiest THANKS for your excellent support with Java 3D. My BEST WISHES for an excellent and satisfying career. Warm Regards Raj Vaidya === To unsubscribe, send email to [EMAIL PROTECTED] and include

Re: [JAVA3D] Lessons Learned

2003-08-08 Thread N. Vaidya
ting for >an official answer. My only explanation is that Sun is a big company, >and it sometimes takes big companies a while to get through certain >issues. We are commited to supporting Java 3D. We are working >out the details on what its future will look like. > >Thanks, >Do

Re: [JAVA3D] Lines and Points

2003-08-14 Thread N. Vaidya
My personal guess on this issue... I think Material colors, atleast as far as Java 3D goes, have no effect on LineArray UNLESS lighting is enabled and *line vertex normals* are explicitly specified. It is unlikely that vertex normals will usually be specified for LineArray, so enabling lighting an

Re: [JAVA3D] Lessons Learned

2003-08-14 Thread N. Vaidya
Just wondering... If Sun doesn't want to open source the Java 3D API, what is stopping them from coming out with an open source "simple/model" scenegraph renderer based on jogl ? Someone like Doug T., from what I have heard and known about him, should be able to slap one together casually. At the

Re: [JAVA3D] What do you want/need from Java3D?

2003-08-23 Thread N Vaidya
(FAST, PLOT3D, etc.), and supports arbitrary combination of tria, quad, tet, pyramid, prism, and hexa cell topologies within the same dataset. Attached is a snapshot...more from my website later... Regards to everybody N. Vaidya, PhD _

Re: [JAVA3D] marching cube

2003-08-25 Thread N. Vaidya
>On Sun, 24 Aug 2003 16:31:33 +0200, Auguste Genovesio ><[EMAIL PROTECTED]> wrote: >Hi all, > >Does anyone know if Java3D implements The Marching Cube algorithm ? > Java 3D is simply a Scenegraph layer on top of OpenGL/DirectX and in that sense doesn't provide any off-the-shelf domain specific

[JAVA3D] Bug Fixes in Java 3D Final Release

2002-07-17 Thread N Vaidya
Just been trying out the latest Java 3D release. Looks Great ! Thanks to all in the Java 3D Team. Bugs 4688070 and 4678251 appear to have been fixed, and renderings with OrderedGroup+Textures seem to be functioning quite well. Also, the memory leak associated with the BG detach appears to have b

Re: [JAVA3D] Simple problem with appearance and textureattributes

2003-09-09 Thread N. Vaidya
Hi Ben Assuming that I haven't missed something obvious too, here are some items for you to check on Approach 2: I think your shininess value of 0.2 isn't in the valid range of [1, 128] - Java 3D probably clamps it to 1. Make sure that lighting is enabled on the material, and that your lights ar

Re: [JAVA3D] Antwort: Re: [JAVA3D] AW: [JAVA3D] Determining the triangles lying on a plane

2003-09-11 Thread N. Vaidya
If P is any point on your plane, n is the plane normal, and V_i is the ith vertex of your candidate triangle, then if (V_i - P) . n = 0 for all i, then your triangle lies on that plane. The point P fixes your reference plane from among the infinite parallel planes that all have the same normal n

[JAVA3D] Transparency Mode Toggling

2003-12-04 Thread N Vaidya
Looks like I'm running into an issue with View's transparency sorting and/or transparency mode toggling ... If the View transparency sorting policy is set to SORT_GEOMETRY, and at run time the transparency mode of TransparencyAttributes is changed to BLENDED from NONE, then I find that the geometr

Re: [JAVA3D] The real future of Java3D

2003-12-08 Thread N Vaidya
Aha ! A clever ploy to increase subscription to javagaming.org :-) ...just kiddin'. That site is pretty active, BTW. Vaidya === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff

Re: [JAVA3D] Transparency Mode Toggling

2003-12-12 Thread N. Vaidya
FYI, Chien has submitted the following ID for this bug: BugId : 4966710 - Visible geometry disappeared when transparency mode is toggled. >On Thu, 4 Dec 2003 09:37:51 -0500, N Vaidya <[EMAIL PROTECTED]> wrote: >Looks like I'm running into an issue with View's >tr

[JAVA3D] 1.3.1 and Tiger

2004-02-11 Thread N. Vaidya
Anyone been experimenting with the Tiger release ? Appears to be no glitches with whatever I've been testing. But can't say I'm seeing any performance boosts though ! Vaidya === To unsubscribe, send email to [EMAIL PROTECTED

Re: [JAVA3D] ImageComponent2D.Updater Problem

2004-02-13 Thread N. Vaidya
It appears that you want to substitute the existing BufferedImage in ImageComponent2D with a new one. If that is what it is, then setting the ALLOW_IMAGE_(READ)/WRITE capabilities on the ImageComponent2D and doing imagecomponent2D.set( theNewBufferedImage ) at run time will be all that is required

[JAVA3D] Java 3D BugList

2004-02-17 Thread N. Vaidya
Anyone tried recently the JDC bug database ? I'm trying to get a list of all the bugs that have been submitted over the past year. The "advanced search" option at JDC dumps a lot of stuff that doesn't seem to be correctly sorted by date. If you have had better luck, please let me know. ===

[JAVA3D] Texture2D & OffScreenCanvas3D

2004-03-09 Thread N. Vaidya
Is it possible that the rendering produced by a regular Canvas3D and an OffScreenCanvas3D of a textured surface using Texture2D could be different from each other ? For example, given a Texture2D described by the following specs., Texture2D lightTex = new Texture2D(Texture.BASE_LEVEL,

Re: [JAVA3D] api recommendations

2004-03-12 Thread N. Vaidya
On Fri, 12 Mar 2004 09:00:19 -0800, William I. Zumwalt <[EMAIL PROTECTED]> wrote: >Hey all, > >I'd like to get some advice about what API I should >get involved with. I've been hearing several >recommendations on the irc channels to go w/ the >opengl api for java as opposed to java3d api. Any >tho

[JAVA3D] OrderedGroup under SharedGroup

2004-03-15 Thread N. Vaidya
I get the following trace when I try to add an OrderedGroup as an element of a subgraph under a SharedGroup - is it permissible at all to do this ? Couldn't get anything to the contrary from the API docs ! java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.ja

[JAVA3D] Refelction Transform & Lighting

2004-03-15 Thread N. Vaidya
I'm using the following Transform3D m_00 = -1, m_11 = m_22 = m_33 = 1, and zero for all other elements, on a TransformGroup to effect a reflection of the scenegraph about the yz-plane. And when I do that, the geometry gets transformed correctly but the diffuse and specular lightings get clobbered

Re: [JAVA3D] OrderedGroup under SharedGroup

2004-03-16 Thread N. Vaidya
he trace, I believe you've hit a known j3d bug. As alway, >a test program will >be very helpful to us. > >BugId : 4900656 - IndexOutOfBoundsException while create scene with >OrderedGroup. > >thanks, > >- Chien Yang >Java 3D, Sun Microsystems Inc. > >

Re: [JAVA3D] Refelction Transform & Lighting

2004-03-16 Thread N. Vaidya
t;From: Discussion list for Java 3D API >[mailto:[EMAIL PROTECTED] Behalf Of N. Vaidya >Sent: Montag, 15. März 2004 20:55 >To: [EMAIL PROTECTED] >Subject: [JAVA3D] Refelction Transform & Lighting > > >I'm using the following Transform3D > >m_00 = -1, m_11 = m_22 = m_

Re: [JAVA3D] Refelction Transform & Lighting

2004-03-16 Thread N. Vaidya
to achieve this easily. >On Tue, 16 Mar 2004 01:49:14 -0700, N. Vaidya <[EMAIL PROTECTED]> wrote: >Well, I have both CULL_NONE and normalflip always set to true since I need >to see 2 lit sides always. And the problem is that setting >backFaceNormalFlip to true kills b

Re: [JAVA3D] Reflection Transform & Lighting

2004-03-17 Thread N. Vaidya
tical-technical ramifications of it :). any thoughts ? Vaidya >On Tue, 16 Mar 2004 02:46:31 -0700, N. Vaidya <[EMAIL PROTECTED]> wrote: >The problem with reflection appears to be that the CCW winding and the >*transformed* normal direction are inconsistent, unlike the case of rotat

Re: [JAVA3D] ANNOUNCEMENT: Java 3D plans

2004-03-18 Thread N. Vaidya
Hi Doug, This is what I had to say on the javagaming forum on March 10: Doug T. is probably upto something... Let me guess... A new incarnation of Java3D A physics engine to go with jogl... - HeHe ! I think I'm psych

Re: [JAVA3D] Compiling

2004-03-18 Thread N. Vaidya
Jet ??? www.excelsior-usa.com/jet.html >On Thu, 18 Mar 2004 10:40:07 +0100, Dirk L. van Krimpen <[EMAIL PROTECTED]> wrote: >Probably not the right discussion list for this, but some time ago I >heard about compiling >the java source resulting in real bit-code (like C++) instead of >interpretin

Re: [JAVA3D] Reflection Transform & Lighting

2004-03-19 Thread N. Vaidya
combination of normal and reflected transforms in your >scenegraph. > >Cheers, > >Florin > >-Original Message- >From: Discussion list for Java 3D API >[mailto:[EMAIL PROTECTED] Behalf Of N. Vaidya >Sent: Mittwoch, 17. März 2004 19:53 >To: [EMAIL PROTECTED]

Re: [JAVA3D] Reflection Transform & Lighting

2004-03-19 Thread N. Vaidya
Check this picture out (hope the link works !): http://www.freewebs.com/matspring/ptrackone.htm Really pleased with the way Java 3D could handle this animation with particle tracking, multi-texturing, dynamic texture updates, and *reflection* (only the left half is animated and the right half ani

[JAVA3D] Plans for Java 3D Bug Fixes

2004-04-01 Thread N. Vaidya
Is Sun planning on releasing an interim version of Java 3D with fixes for all the currently filed bugs before Java 3D source goes public (around JavaOne 2004 ?!? ) ? Is it worthwhile to continue filing bug reports or simply wait till then ? Thanks in advance, Vaidya =

Re: [JAVA3D] AW: [JAVA3D] What happened?

2004-04-14 Thread N. Vaidya
When a BranchGroup is detached, Java 3D will not let go of the memory retained by that BranchGroup. The workaround, and a pretty dumb one at that, I've devised is to simply attach and detach a dummy BranchGroup to flush out the retained memory. And this has been acknowledged by Kelvin Chung as an e

Re: [JAVA3D] AW: [JAVA3D] What happened?

2004-04-14 Thread N. Vaidya
. Pfeiffer <[EMAIL PROTECTED]> wrote: >To make that clear: > >the method you described helps to free memory at the detached >BranchGroups formely parent? > >N. Vaidya schrieb: >> When a BranchGroup is detached, Java 3D will not let go >> of the memory >> ret

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] What happened?

2004-04-14 Thread N. Vaidya
;I've found some similar inside the forum: > >http://forum.java.sun.com/thread.jsp?forum=21&thread=404881 > >Regards Eike > > > > >-Ursprüngliche Nachricht----- >Von: Discussion list for Java 3D API >[mailto:[EMAIL PROTECTED] Im Auftrag von N. Vaidya >Ges

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] What happened?

2004-04-14 Thread N. Vaidya
ually. Vaidya >On Wed, 14 Apr 2004 09:22:23 -0600, N. Vaidya <[EMAIL PROTECTED]> wrote: >Have you tried invoking the GC ? - repeatedly and successively ? Though the >GC has a mind of its own, I've found that it usually responds if you coax it >well enough :). > >And about

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] What happened?

2004-04-14 Thread N. Vaidya
ne, if you have to do only >> little things, but if you want to go deeper inside, it seems to be too >> bugy. >> >> But now is hope! >> >> Regards >> >> Eike >> >> -Ursprüngliche Nachricht- >> Von: Discussion list for Java 3D API &g

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] What happened?

2004-04-14 Thread N. Vaidya
them for displaying with J3D? Couldn't >that be an interesting optimization of the code? > >Michael > >On Wed, 14 Apr 2004 12:47:20 -0600, N. Vaidya <[EMAIL PROTECTED]> wrote: > >> Eike's updates are made by user gesture. Wonder if he could be doing that &

Re: [JAVA3D] Geometry ByRef + UCIO

2004-05-07 Thread N. Vaidya
>On Thu, 6 May 2004 16:55:33 -0700, Chien Yang <[EMAIL PROTECTED]> wrote: >Vaidya, >Indexed geometry with the USE_COORD_INDEX_ONLY attribute set >should avoid unindexify before rendering. I'm not seeing anything >obvious in your code segment. Can you send me a test case ? > >thanks, > >- C

[JAVA3D] Geometry ByRef + UCIO

2004-05-06 Thread N. Vaidya
Chien, I'm using an IndexedTriangleArray with ByRef and UCIO bits and specified as below: IndexedTriangleArray ita = new IndexedTriangleArray ( vertCoordsFloat.length / 3, IndexedTriangle

Re: [JAVA3D] Java 1.5 beta and java3d

2004-04-28 Thread N. Vaidya
Wonder if I'm that statistical anomaly ! I was probably the first to give 1.5 a shot because I was deperately hoping that a memory leak that I was battling at the time it was released would simply go away. My apps. have no 1.5 specific code, and they seem to work just fine with 1.5 except probably

Re: [JAVA3D] Why does translation affect rotation values

2004-04-29 Thread N. Vaidya
Nikolai, See if the following modifications are what you're looking for: . t.getRotationScale(rotationScale); // begin mods: double tscale = t.getScale(); rotationScale.mul( 1.0 / tscale ); // end mods: . Your test results should now be identical. AxisAngle4d.set( Matrix3

[JAVA3D] Non-Passive Wakeup: Effect on Swing

2004-05-31 Thread N. Vaidya
I'm trying to get a measure of the impact of using a non-passive WakeupOnElapsedFrames WakeUp criterion on instantiating swing widgets such as JColorChooser and JFileChooser. It appears that regardless of the framecount number (0 - 1000, for example) the creation times of such widgets could be less

Re: [JAVA3D] Non-Passive Wakeup: Effect on Swing

2004-05-31 Thread N. Vaidya
Here's the testcase... /* * A hacked version of Sun's HelloUniverse.java */ import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import com.sun.j3d.utils.geometry.ColorCube; import com.sun.j3d.utils.universe.*; import javax.media.j3d.*; import javax.ve

[JAVA3D] Article on Java3D

2004-06-07 Thread N. Vaidya
dated June 3, 2004 on JDJ: http://sys-con.com/story/?storyid=45087&DE=1 === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [E

Re: [JAVA3D] problem with canvases

2004-06-08 Thread N. Vaidya
Some quick thoughts without actual testing... Create 2 VirtualUniverses as well (OR) use 2 ViewSpecificGroups - one for each View (look at the Java3D docs for info. on ViewSpecificGroup) ! -Vaidya >On Tue, 8 Jun 2004 08:21:52 -0600, Mikko Haapalehto ><[EMAIL PROTECTED]> wrote: >Hi, > > Could

Re: [JAVA3D] OrderedGroup doesn't works

2004-06-12 Thread N. Vaidya
>On Sat, 12 Jun 2004 12:57:26 -, Michael Pfeiffer <[EMAIL PROTECTED] >ONLINE.DE> wrote: >plane is always drawed first so that it appears behind of all other >objects, Based on my understanding of OG, I think this is the problem The plane will get drawn first alright...but if the plane occ

Re: [JAVA3D] ByRef Geom. Memory Usage

2004-06-15 Thread N. Vaidya
Is it possible, especially for the particular definition of IndexedTriangleArray used in my testcase, that Java3D is creating multiple copies of indices array even when the USE_COORD_INDEX_ONLY flag has been explicitly specified ? --Vaidya >On Fri, 11 Jun 2004 12:01:40 -0400, N Vaidya <

Re: [JAVA3D] ANNOUNCEMENT: Java 3D @ JavaOne 2004

2004-06-19 Thread N. Vaidya
Am I the only one to notice that Kevin is back in the thick of things in the Java 3D Forum after a hiatus :-) ? And should we not be saying Welcome Back, and also take that as a hint for Sun's renewed commitment to Java 3D ? We also need to appreciate Paul and Mark's continued presence and support

[JAVA3D] Java3D 1.3.2 on windows

2004-06-26 Thread N. Vaidya
(Wonder what happened to my previous post !) Just wanted to let you folks know that the new 1.3.2-build3-experimental source from cvs compiled OK with VC++6.0 on Intel P4 machines with WinXP. A few conversion warnings, probably minor, while compiling Canvas3D.c but that was just about all. Initi

Re: [JAVA3D] Windows XP has problem with Java -Xmx ?

2004-07-01 Thread N. Vaidya
Probably a combination of JDK version and OS. The following link may be of some help http://forum.java.sun.com/thread.jsp? forum=37&thread=532798&tstart=30&trange=15 unless, of course, you happen to be the OP of that issue too :). --Vaidya >On Thu, 1 Jul 2004 14:45:58 -0500, Hong Cao <[EMAIL

[JAVA3D] Issue with Runtime instantiation of Canvas3D

2004-07-08 Thread N. Vaidya
Hmm...This is really weird. All I'm trying to do is to instantiate a Canvas3D in Swing's EDT - simply instantiate and not even add it to the View - and I find that causes the app. to freeze. The testcase is HelloWorld.java in the Java3D demo bundle with the inclusion of the following code snippet

Re: [JAVA3D] Issue with Runtime instantiation of Canvas3D

2004-07-08 Thread N. Vaidya
t directly in the >swing event thread. > >Rgds > >Paul > >N. Vaidya wrote: > >>Hmm...This is really weird. All I'm trying to do is to instantiate a >>Canvas3D in Swing's EDT - simply instantiate and not even add it to the >>View - and I find that

Re: [JAVA3D] Issue with Runtime instantiation of Canvas3D

2004-07-09 Thread N. Vaidya
>On Fri, 9 Jul 2004 09:35:44 -0400, Mike Pilone <[EMAIL PROTECTED]> wrote: >Hello, > >I tested the code you posted in the HelloUniverse and it never caused >deadlock. I also modified the code to create a new frame and show it with >the canvas. This also worked. > >Linux/J2SDK 1.4.2_04/OGL/Java3D 1

Re: [JAVA3D] i have too problems with ModelClip

2004-08-05 Thread N. Vaidya
>On Wed, 4 Aug 2004 04:51:57 -0600, Adam B <[EMAIL PROTECTED]> wrote: >Hi all. >I see ModelClipTest and ModelClipTest2 and everything nice working, but i >need to use all planes that will make box, which is cutting visibility. In >this demos are use only 2 or 1 plane. And the problem is that when

Re: [JAVA3D] PolygonAttributes.setPolygonOffset(Factor)

2002-09-21 Thread Raj N. Vaidya
I found the one below helpful... http://www.opengl.org/developers/faqs/technical/polygonoffset.htm Vaidya >On Sat, 21 Sep 2002 10:31:33 +0400, Stanislav Mironov <[EMAIL PROTECTED]> >wrote: >Hi All! > >I try to render a 3D grid with POLYGON_FILL'ed polygons >and POLYGON_LINE'd polygons over th

[JAVA3D] GL_LINE_LOOP

2002-10-04 Thread Raj N. Vaidya
Is there a direct equivalent of GL_LINE_LOOP option in Java 3D ? What does Java 3D do anyways when one sets the POLYGON_LINE mode on the Appearance of a Triangle/Quad Array ? Is the approach different between OGL and DirectX ? The issue primarily is: How to render a wireframe using POLYGON_LINE m

Re: [JAVA3D] Drawing intersection of Geometry with Cutting Plane

2002-10-09 Thread Raj N. Vaidya
Well, a couple of ways that I could think of In software, you can generate a contour line through the elements of your GeometryArray - tris/quads. The contour line is the locus of points where the signed normal distance of the vertices from the cutting plane is equal to zero. In the case of a

Re: [JAVA3D] Drawing intersection of Geometry with Cutting Plane

2002-10-09 Thread Raj N. Vaidya
Well, try contouring :)... Actually, if you have the proper data structures and LUTs this can be fast. I do this anyways for other reasons. If your geometrical surface is everywhere orthogonal to the viewing direction then the problem you described can happen. Specifically, in the case of paralle

Re: [JAVA3D] Drawing intersection of Geometry with Cutting Plane

2002-10-09 Thread Raj N. Vaidya
edge has a value -5 and the other end 3,then you interpolate along the edge to find out where exactly the value goes to zero. This gets you the intersection point. And if you join all of them you get the outline contour. Vaidya > > >-Original Message- >From: Raj N. Vaidy

Re: [JAVA3D] Strange Effect with Transparency and modify Scenegraph

2002-10-23 Thread Raj N. Vaidya
Ok ! Here is what I know about rendering transparent geometries... If this probably confuses rather than clarifies the issues, y'all be my guests and make the corrections... Opaque/transparent geometries under an OrderedGroup are rendered before transparent geometries not under an OrderedGroup. So

Re: [JAVA3D] Strange Effect with Transparency and modify Scenegraph

2002-10-24 Thread Raj N. Vaidya
>On Thu, 24 Oct 2002 08:37:16 -0400, Roy Duffy <[EMAIL PROTECTED]> wrote: >This makes sense, but I don't think my problem has anything to do with how the >geometry is sorted. My problem is that the text is not fully transparent when under >the OrderedGroup. It sometimes occludes the text behind

Re: [JAVA3D] Strange Effect with Transparency and modify Scenegraph

2002-10-24 Thread Raj N. Vaidya
hat's what Andreas was saying he also saw in his >application. > > -Roy > >"Raj N. Vaidya" wrote: > >> Ok ! Here is what I know about rendering transparent geometries... >> If this probably confuses rather than clarifies the issues, y'all >> be my

[JAVA3D] Compiling Java 3D with JET

2002-12-20 Thread Raj N. Vaidya
Anyone here tried Excelsior-JET to compile a Java 3D application ? Looks like I'm running into problems because JET doesn't seem to be able to resolve all dependencies with the j3d*.jar files in the jre/ext directory. Specifically, JET doesn't seem to be able to resolve the import dependency for:

Re: [JAVA3D] Generating Spherical distributions

2002-12-27 Thread Raj N. Vaidya
JUST MY $0.02 ... My guess is that you probably need a (theta, phi) parameterization also. Assuming that the particles are exploding in the radial direction only, I might attempt something like the following: xnew = xold + sin(theta) * cos(phi ) * delT * randomVelocityMagnitude ynew = yold + sin(

Re: [JAVA3D] Generating Spherical distributions

2002-12-27 Thread Raj N. Vaidya
Hi Justin and Artur: Nice to know that I am not the only one doing OT at the end of the year :) What I had given out in my previous e-mail was just a "hint" to Justin to see if he has any kind of (theta,phi) parameterization in his overall logic to bring about a spherical effect. Just thought I w

Re: [JAVA3D] Java 3D API Jump Start

2003-01-13 Thread Raj N. Vaidya
The Java 3D Explorer code should be available here: http://www.web3dbooks.com/java3d/jumpstart/Java3DExplorer.html === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INT

Re: [JAVA3D] lighting calculation

2003-01-17 Thread Raj N. Vaidya
>On Fri, 17 Jan 2003 18:08:54 +0900, Haiquan Yang <[EMAIL PROTECTED]> wrote: >Hello, everyone, > > I have a question about Java3D, could someone help me? > > I found that the calculation of lighting in Java3D depend on the >view-axis, this cause some problems when I deal with some images

Re: [JAVA3D] lighting calculation

2003-01-20 Thread Raj N. Vaidya
>On Mon, 20 Jan 2003 17:46:15 +0900, Haiquan Yang <[EMAIL PROTECTED]> wrote: >Dear Raj N. Vaidya, > >Thank you. >>One parameter that I'm aware of is in the View class and is: >> View.setLocalEyeLightingEnable( boolean flag ) >> Check the docs to see

Re: [JAVA3D] lighting calculation

2003-01-21 Thread Raj N. Vaidya
Haiquan, Local eye lighting affects only the eye vector, and hence, just the specular part. BTW, your e-mail attachment was big enough to get people upset. Just make the images smaller and low resolution. Vaidya >On Tue, 21 Jan 2003 10:33:05 +0900, Haiquan Yang <[EMAIL PROTECTED]> wrote: >I r

Re: [JAVA3D] lighting calculation

2003-01-23 Thread Raj N. Vaidya
On View.setLocalEyelightingEnable( boolean flag ) : Checked with Kelvin and he confirmed that this flag doesn't work, and based on my testing it doesn't with Java 3D 1.3.1 beta1. Kelvin has filed Bug Id 4805797 to have it fixed in 1.3.1 beta2. Hope this helps Vaidya >On Tue, 21 Jan 2003 10:33:0

[JAVA3D] Picking BY_REF geometries

2003-01-27 Thread Raj N. Vaidya
Hi All, I've been running into problems in trying to get consistent pick hits on indexed geometries with the BY_REFERENCE bit set. If I do not choose to turn on that bit, however, picking works very well. Specifically, the problems with the BY_REF bit are as follows: 1. If I try to pick an index

Re: [JAVA3D] Java matrix solvers

2003-01-28 Thread Raj N. Vaidya
>On Tue, 28 Jan 2003 11:33:50 -0500, Alejandro Allievi <[EMAIL PROTECTED]> >wrote: >Hi all, > >This question may not seem appropriate in this list but, >since it is associated with my Java3D code, I will give >it a try. > >Does anybody know of Java libraries for sparse matrix >solvers? I searched

Re: [JAVA3D] GL_MODELVIEW_MATRIX equivalent...

2002-05-06 Thread Raj N. Vaidya
Hi Kovalan, I think what you are looking for is a composite transformation matrix that gets you from object to viewplatform coordinates. This is probably what the eye coordinates in OpenGL means, i.e., before clipping, perspective division, and transformation to window space. You may also want t

Re: [JAVA3D] GL_MODELVIEW_MATRIX equivalent...

2002-05-06 Thread Raj N. Vaidya
Hi Kovalan, If the object-to-viewworld and viewplatform-to-viewworld matrices are turning out to be identities, then it means that you're not manipulating the TransformGroups holding your Shape3D/ViewPlatform using Mouse/OrbitBehavior, and that your geometry is actually viewworld aligned. There

[JAVA3D] OrbitBehavior Callback

2002-05-07 Thread Raj N. Vaidya
Any chance we can get a callback facility in OrbitBehavior for transformChanged(..) notifications in the next release of Java 3D 1.3 ? - this is not critical but would be very convenient !!! Thanks and Regards Raj === To un

Re: [JAVA3D] Volume Rendering

2002-05-15 Thread Raj N. Vaidya
>On Wed, 15 May 2002 08:42:29 -0400, Vijayaraghavan Rajagopal <[EMAIL PROTECTED]> >wrote: >Hi, > >I know I have asked this question before. I would like to use 2D textures >to come up >with a 3D image of the brain. I have gone through a number of >websites and papers on >this subject-Ray Casti

[JAVA3D] View Transp. Sorting Policy

2002-05-16 Thread Raj N. Vaidya
Has depth-sorting transparent geometries by invoking View.setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY) been reported to result in a possible memory leak ? Seem to be running into one in my app. My scenegraph is: BG -> Shape3D - > multiple By_Ref Geometries w/ coordinates and col

[JAVA3D] New Bug Ids: [ Was View Transp. Sorting Policy ]

2002-05-20 Thread Raj N. Vaidya
Fri, 17 May 2002 14:34:36 -0700, Kelvin Chung <[EMAIL PROTECTED]> >wrote: >>Date: Thu, 16 May 2002 11:42:00 -0600 >>From: "Raj N. Vaidya" <[EMAIL PROTECTED]> >>Subject: [JAVA3D] View Transp. Sorting Policy >>To: [EMAIL PROTECTED] >>Delive

Re: [JAVA3D] Looking for best IDE for J3D, and also new platform - LINUX or Win ??

2002-06-03 Thread Raj N. Vaidya
Are the debuggers which come with Forte CE v3.0 and NetBeans v3.3 any good ? Don't seem to be having much luck in putting them to good use - they seem to freeze more often than not in the middle of a session. Just wondering whether I goofed in the installation kinda unlikely... Regards Vaidy

  1   2   >