Title: Re: improving performance in access to multidimensional array elements
Alan,
(suppose this is relevant to the list
too)
I re-read your email just now. I always try to
allocate the full array (2-dimensional or n-dimensional) at the point of
declaration. I had an incle-ing that this
Title: improving performance in access to multidimensional array elements
Hi Alan,
Great program! I have a question for you - I use 2D
arrays of integers in my program either of 400x400 cells or 800x800 cells, and
operate on the values (perhaps 5-10 accesses to each
value) individually. I c
float getHeight()
Returns the height of the cone
from the java3d (1.3) docs.
:)
N
- Original Message -
From: "Brobbey,Isaac (neuron)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 6:46 PM
Subject: [JAVA3D] java3d cones
> Dear all,
>
how are you measuring "used memory"? If using the system monitor thingy I
dont think it will show any internal releases of memory inside the JVM at
runtime.
Im sure I listended to someone say something about this at one point, but I
cant quite remember. I THINK the VM never releases resoursces tha
If the grid of vertexes is regular (x point by y points of constant
separation), Delaunay triangulation would not be needed, and is 1000x less
efficient than a regular grid triangulator that I have.
So i presume something must be wrong with the implementation.
Is it possible for your data to have
OK, I dont have SMP on my machine, and Im wondering if anyone has used
java3d on a multi-processor setup. As far as I understand J3D is written to
take advantage of MP, and XP and 2000 are supposed to be fairly good
(perhaps that should just be "better") at it.
Is the system more responsive when r
each time
something is attached rather than at the end of the default initialize()
methods running.
Please note initialise is my preferred spelling - not a mistake.
Kind regards,
Nathan
- Original Message -----
From: "Nathan Bower" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Hi,
Simple question really, and I suppose there is a simple answer.
I have a behaviour that loads objects into the scenegraph. After each object
is attached I want the screen to update and show the changes before the next
object starts to load (takes 4 minutes to load all objects).
Currently its
260FPS
PIII 800 Geforce3-Ti200 @ default clock speeds
- Original Message -
From: "Florin Herinean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 3:19 PM
Subject: [JAVA3D] WG: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?
Again me,
Was anybody curious enough to tes
>
> For the system you're trying to run it on, yes, that's quite a complex
> model. I'm guessing something around 10 - 15K polygons and a collection
> of scripting. TNT cards are not known for being fast, and practically
> become graphics decelarators when textures are applied.
Not quite! I used t
Hello List,
Ive been piddling around with a problem for a while now, and have not yet
found an elegant solution.
I have an array [x][y] that holds height values (x always equals y) and
another identically sized array that holds importance values. From these
arrays I extract height values only if
I don't think this is really in the spirit of things. The first step on the
path to knowing everything is knowing nothing you know.
N
> - consider this code snippet : ...
> Vector comp1 = new Vector();
> comp1= processComplement(hix,viis);
> objRoot.addChild(makeOneGraph(k,comp1))
Hello List,
Ive been piddling around with a problem for a while now, and have not yet
found an elegant solution.
I have an array [x][y] that holds height values (x always equals y) and
another identically sized array that holds importance values. From these
arrays I extract height values only if
Test: can anyone see this?
N
===
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
why is it essential to output directly to a
browser?
I dont understand why you would want to do
this.
N
- Original Message -
From:
André Barbosa
To: [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 11:15
AM
Subject: [JAVA3D] JPEG 3D - output
People,
how much memory do you have? setting max to 1024 on
a 128 meg system will cause disk swapping which is orders slower in terms of
performance (40MBs-1 instead of upto well 1000MBs-1 in ram).
N
- Original Message -
From:
Bura Tino
To: [EMAIL PROTECTED]
Sent: Sunday,
it could be garbage collection is running at those
points.
do you compile your graph? what attributes do you
set? Can you perform this transform somewherere farther up the scene graph - ie
transform only 1 node and the subnodes automatically show the
canges?
As a last resort I would down
Hi,
Ive found that whenever I uses nVidias stereo driver for my GeForce3 Ti200
my Java3D application (under XP and the DirectX API) will reliably crash
when it is run for a second time.
First time ok, second time crash.
Strange.
Anyone have similar experiences?
Nathan
How about this - create a sphere then set the culling so that front facing
triangles are culled, and back facing triangles are drawn. This way you
should see the inside of the sphere.
N
> I think the sphere classes which are present create it using the triangle
> array, so it would not be poss
I have a Geforce3 Ti200, using the latest drivers. When i turn anti-aliasing
on in the nvidia control panel thing it makes a difference.
N
> Well, I am using a GeForce2Go card (in my laptop), Windows 2000, OpenGL,
> Java3d 1.3.
>
> Other applications I use have antialiasing features I can turn o
Time to buy a book I think Sagar.
... But briefly, Hardware texture mapping removes load from the cpu by
"painting" the textures onto the shapes (there are several ways) instead of
having the CPU do it before sending the results to the graphics card.
But the CPU is hardware too I hear you cry? Y
I think that the stencil buffer is basically an overlay image that is
rendered "flat" on top of the 3d stuff.
Well I think the "stencil" outlines which bits of the image are displayed,
and which bits are transparent allowing you to see the 3d view.
Good examples of using a stencil buffer would b
http://www.asus.com.tw/vga/agpv8200t2/overview.htm
That is the graphics card and glasses that I use. I have had it work well
with java3d, from 120hz at 800*600, to 85hz at 1600*1200... in stereo mode.
I use the stereo enabled drivers from the nvidia site.
Search the archives for a post by me abo
Hello,Quick question: I think that when you run a
java3d application as anapplet the maximum amount of memory assigned to the
java process(es) is64 megs. When running my program as stand-alone, I use
the -Xmx switchto allocate 512 megabytes.Is there any way of
allowing applets to use more
m
> I have an orbit behavior attached to my view platform,
> and I've noticed that if I zoom out past the bounds on
> the behavior, the behavior disables and I can't zoom
> back in. Is there a way around this?
set the behavior bounds to double posative infinity?
Alternativly you could have differe
well its not that much slower and with a
geforce 4 well I dont think speed is the foremost concern when choosing an
api / language anymore. If you write efficient code, java3d will not be
slow.
The main problem I think is that java3d is not
going to use vertex shaders / displacemen
> I tried GeForce 2, 3 and 4, but none of them worked with Stereo image
(e.g.,
> left/right eye separated images) automatically. I am really sad about it!
Hi,
Ive had the geforce 3 running in stereo, using page flipping, and "blinky"
glasses. Is this what you mean, or do you use the goggles wit
> Here's a screenshot to show off what I've been able to do in a short
amount
> of time. These shots are a little dated already, but they show signs of
> something coming together.
> http://vp2.onebigvillage.com/screens/tofutti.jpg
> http://vp2.onebigvillage.com/screens/biggroup1.jpg
Did anyone
List / Sunteam,
I have been having stability problems when
developing my code. About every one in thirty or so runs the program would
seemingly break. I would not be able to interact with the system at all, yet
MP3's kept playing and the net (my computer is gateway) kept on working. The
p
Good News! I have been waiting for this book for a while. However I have a
problem; I live in the UK.
Amazon.co.uk price = £44.99 (projected release March 31st)
Amazon.com price = $34.96 (released now)
So I decided to order the e-book version... but my card was refused! I use
VISA, and have used
Dearest Java3D,
I am currently re-vamping a program I wrote in
java3d. This time I want the product to be equally 'at home' in either applet or
stand alone form. I think that I have resolved most of the simple issues now,
however it is not clear how it is best to handle the creation of fram
Emacs for win32
How much is this Jbuilder? Do students get discount or anything?
N
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, sen
Hello All,I am writing to report my success
at enabling stereo viewing with java3d. Read on for a description of my
setup
HardwareAsus
8200 ti 200 deluxe (can clock core to 220 with mem at 450 fyi),
Standard shutter glasses included with the
above,
Running at 1024*768*32bit @ 120 hertz on a
ill be *finally*
> finished in the course of this month.
>
> Best of luck.
>
> Sincerely,
>
> Daniel Selman
>
> -Original Message-
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Bower
> Sent: Sunday, January 06,
> I would try switching on verbose GC output for the JVM and see if the
delay
> coincides with GC. What platform/versions are you running on?
OK I turned verbose on (very funky output) but this failed to show any
problems, the fps is still written to the console (the stutters co-incide
with this)
Hi all,
Just been mucking around with the overlay packages,
and davids OvelayTester class. I have a problem! The system becomes unresponsive
about every second or so!
I have removed the chat dialouge test overlay, and
the overlapping overlay sections leaving just the fps counter, but the
Hi David, list,You mentioned in your release of
the overlay classfiles that it wasnt thefinal version. Do you have the final
version now? I dont think I everrecieved it through the list
:(TIA,NathanFrom a while back:> From: "David
Yazel"> Here is our first cut at an overlay library. This isn
A slightly better explanation would be:
DirectX and OpenGL are the mechanisms that "render" the scene that you have
created in java3D's scene space. They create the actual pixel color values
that you see on your screen. They dont change the way that shape information
is stored.
The fact that you
heh, I suppose Im pretty lucky then...
N
> for some chipsets running under Windows 2000 and can
> result in the machine becoming non responsive and
> resulting in the reinstall of Windows 2000. Under 6
> systems tested, only 1 was very happy with the
> change to an ACPI-less state.
__
I can almost gaurantee that this is a problem with
ACPI and your motherboard (which will use a VIA
chipset). I had the same problem... and it drove me
nuts... then one day it just stopped.
Im not complaining, but im afraid that this means I
cant really help you out!
I have an abit VA6 I think, a
plz ignore.
N
I use D3D implementation of J3D - fullscreen (and alt-enter) works fine,
N
> > I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED
> > MyApp with
> > no success. How can I get fullscreen or at least delete the menubar.
> Thanks
> >
> > Jack S. Gundrum
=
the URL in a method
> that isn't called by the applet, i.e. the main() method. When you are
ready
> to actually retrieve your image(maybe in a getTexture() method), you use
the
> global URL.
>
> B.D.
>
> >From: Nathan Bower <[EMAIL PROTECTED]>
> >Reply-To:
Hello guys, and gals,An appletizing problem (yum)
for you here.Ive been turning my java3d standalone program into an
applet for erm about a week now. Ive had a few tricky problems and this one I
think somone else would have experienced before.In accessing a file
(.jpg texture) I am using FIL
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
Justin,
> You'd be surprised about how much programmers don't understand many
> really fundamental things about computer programming. That is, they are
> never taught (and probably rightly so) this like about how a for loop
> gets converted to a set of CPU op-codes and then what those opcodes
> m
Im not sure this will work, but its worth
trying
PointArray starGeom1 =
new PointArray(7,
PointArray.COORDINATES); Appearance
starAppear1 = new Appearance();starGeom1.setCoordinate( 0, new Point3f(
0.79483311f, -0.58810995f, 0.14955615f));
starGeom1.setColor (index, new
Hi mona,
You are constructing a canvas-3d without first
setting a graphics configuration, which is naughty according to
1.2.1
This is what you need to do :
// Sets the requred or
preffered rendering options
GraphicsConfigTemplate3D
template = new GraphicsConfigTemplate3D(); templat
Rich,
I have just had to solve this problem and would suggest looking at the UI
framework located here :
http://www.manning.com/Barrilleaux/
The ones you are interested are /navigating/oribtcamera.java
The ebook probably wouldnt be a bad idea either...
Hope that helps,
N
> Is there a meth
Mistake, reconfigured below should be PRECONFIGURED!
> After further investigation I have discovered that there seems to be no
way
> to fix this as the AppDisplay class provided and used by the code in the
> book does not have a constructor that can be called with a Canvas3D, which
> can of cours
Hello,
I'm reading the 3D User Interfaces with JAVA3D, and have been experimenting
with the CameraNavigating example.
I have noticed that every single example in this book constructs Canvases
without first getting the GraphicsConfiguration of the local machine.
After further investigation I hav
x4096 texture
> could be 64 Meg (depending on the color depth you are using). I doubt
> this has anything to do with Java 3D.
>
> - John Wright
> Starfire Research
>
> Nathan Bower wrote:
> >
> > Hello everybody,
> >
> > I am texturing a triangle
Hello everybody,
I am texturing a triangle strip array with a standard jpeg image. Renders
fine when using any (2^n) resolution upto and including 2048 * 2048, however
it does not work with 4096 * 4096.
Has anyone else had this problem? Is it a simple restriction of java-3d, or
is there a work a
Allthough offtopic, I think that everyone here will appreciate the link :
http://www.dailyradar.com/features/game_feature_page_2363_1.html
Regards,
Nathan
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in
54 matches
Mail list logo