The basic method is to start small, create a wall class with size attributes and door
and window attributes. Then create a room class that uses wall. When you can draw a
complete room on screen all you have to do is repeat it. A school should have fairly
uniform layout so would be else to build
Yes works fine, after the initial JRE/J3D downloads/installs. Lucky for
me I guessed the correct order to do it in. :)
Looks good and I might have a sneak at the code for stuff I'm doing.
I get about 20-26 fps from the starting configuration, which is good
for my ATI Rage128Pro equipped work mach
A fairly common problem recently to do with ordering and Z buffers. Transparent
objects and LineArrays do not necessarily get ordered correctly by default, an
optimisation thing I believe. Especially if you are antialiasing the lineArray, which
effectively makes it a transparent object.
Or some
to work on omnicore on linux, font looks horrible and
trial version had no editing facility ( tried 3 months back, don't know
about the latest).
--srikanth
-Original Message-
From: Jason Taylor [mailto:Jason.Taylor@;WARWICK.AC.UK]
Sent: Thursday, November 14, 2002 3:03 PM
To: [EMAIL
My all time favourite (with no annoying GUI tools :) is Omnicore CodeGuide, it's cheap
if you're an academic/student and I find the best text editor of all I've tried. They
have a 30 day trial (30 actual days of use not 30 days from install).
www.omnicore.com
Jase.
>>> [EMAIL PROTECTED] 13/11
I think a node can only have *one* parent. If you wanted to move them
you'd have to either detach them from the old parent or clone them to a
new node and add the clone.
Jason.
>>> [EMAIL PROTECTED] 13/11/2002 11:30:48 >>>
Hi All,
I have a problem trying to add nodes which already has parents to
Hmmm... looks like a Z-Buffering problem, if I zoom out a lot and then
rotate I can see odd effects but at the default zoom it looks fine. From
what Alessandro says about the commenting the clip set out it appears
you are setting the front/back clip ranges too far away for your cards
Z-Buffer.
su.
I can not see any error either, this is with Jdk1.4.1 j3d1.3 OpenGL on
NT4 with an ATI Rage Pro 32mb card.
Have you tried using a differant machine with different VGA card?
I'm guessing it's a driver/card issue with your machine.
Good luck,
Jason.
>>> [EMAIL PROTECTED] 29/10/20
The first question has been discussed here recently, check the archives to see if
there's some answers.
For the second, check the class of the node and cast it back to it's original, then
just do the get/set appearance commands. Make sure you set the write capabilities of
the appearance *BEFORE
LineArray isn't polygons?
Can use LineAttributes to effect it, but that doesn't have CULL setting.
Need to check the Spec for PolygonAttributes, LineArray and Shape3d.
There might be a magic option somewhere or it could be one of these cases where you
have to overlay a couple of objects to
Without actually running the thing the only bit I'm not sure about is the bounds on
your TG's mouse behaviours (I presume that's how you are 'moving' the objects). The
bounds all appear to be the same and are I think the same as the global bounds of your
scene. If that is so you will always act
Like the exception says you can only add a BranchGroup while the scene
is live.
Hence in you Button action construct a cube and a BranchGroup, add the
cube to the new BranchGroup and then add this new BranchGroup to your
root.
You will probably have to do a couple of setCapacity (SP :) on the roo
Don't really understand what you're doing but it's probably worth making
sure they also install the latest NVidia driver for W2K as the default
ones aren't very good.
Jason.
>>> [EMAIL PROTECTED] 03/10/2002 14:48:58 >>>
Hello all,
I'm getting some strange results and I was wondering if
You may find that setting this will help (did for me), I think it might
be a new j3d1.3 feature...
SimpleUniverse.getViewer().getView().setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY);
Jason.
>>> [EMAIL PROTECTED] 27/09/2002 22:19:00 >>>
Hi,
i have tried the last version of Rast
Very strange. You shouldn't need to mess with signing etc to run any of the included
demos, they all run fine as they are.
I would expect some kind of error! :(
At first I thought that you might be on UNIX and your XWindow session started on
another terminal or something but as you mention C:
Have you tried running some as applications from the command line?
You may see more useful error messages that way.
Jason.
>>> [EMAIL PROTECTED] 16/09/2002 18:58:51 >>>
I have downloaded java3d and tried to run the demos in my browser - did not
get any error msgs but the applet doesn't do anyth
>1. ASUS V7100 Magic, with Nvidia GeForce2 MX-200 chip, 64 MB meory
>2. ASUS AGP-V3800Magic with TNT2 m64, with 32 MB memory
>3. ATI Rage 128 Ultra.
>
>my machine configuration is 256MB RAM, Intel PIII processor.
As others have mentioned these cards aren't exactly top notch.
The three cards/mach
You can always add a TG to a new BG before you add the BG to the scene.
Jason.
>>> [EMAIL PROTECTED] 11/09/2002 15:32:19 >>>
I've seen some posts to the list before about how you can dynamically
add BranchGroups to the scene but not TransformGroups. So, if you
wanted to allow the user to add sp
As pointed out there is a free online version of this book...
>From the 3-4 J3D books I own, the ones I've browsed (on the rare occations of finding
>one in a shop :) and those I've seen extracts of on the web I have to say that
>Daniel's is certainly one of the best. I've used the online versi
Rough guess the thing you are adding has already been added somewhere previously. You
can't do this. Either .cloneNode a copy or create a new one.
Good luck,
Jason.
>>> [EMAIL PROTECTED] 21/08/2002 12:13:41 >>>
Hi,
I am new in j3d and I have a problem.
I got the following mess
>>> [EMAIL PROTECTED] 20/08/2002 04:07:14 >>>
>(1) File path vs. URL
URL is defiantly a better way to go, I'd have to do some digging to find the methods
I've used in the past...
Let me know if you can't figure it out and I'll go hunting in my source.
>(2) Missing Swing components when config
Morning,
Managed to confuse myself again this morning with Java3D (something I
do quite often :).
When I do the following;
Geometry sphereGeo = new org.j3d.geom.Sphere(0.5f, 10, new
Appearance()).getGeometry();
Shape3D newSphere = new Shape3d(sphereGeo, someAppearance);
Two things I haven't f
eDuplicate
parameter"
Cheers,
Florin
-Ursprüngliche Nachricht-
Von: Jason Taylor [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 29. Juli 2002 12:12
An: [EMAIL PROTECTED]
Betreff: [JAVA3D] reusing geometry?
Morning!
I'm feeling with drawl symptoms from j3d.org already. :)
Can so
I've been wanting to check for some examples of sharing/reuseing geometry. I'm not
entirely sure how this is done properly, I'm presuming I can use cloneTree instead of
creating a new instance but the way I've coded it makes no differance on my memory
usage. I've not found a single use of clone
Morning!
I'm feeling with drawl symptoms from j3d.org already. :)
Can someone confirm for me how you go about 'reusing geometry' in order to reduce
memory usage.
What I've tried is;
newNode = node.cloneTree();
newNode.setAppearance(app);
addchild(newNode);
I had 4 basic source nodes with 3 d
Sorry if you get this again, I seem to have intermitant problems posting to this list.
I'm feeling with drawl symptoms from j3d.org already. :)
Can someone confirm for me how you go about 'reusing geometry' in order to reduce
memory usage.
What I've tried is;
newNode = node.cloneTree();
ne
Hmmm... last two messages I've sent have not come back to me, although I am still
receiving from the list.
Jason.
==To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-IN
and disapears fine but the label
remains.
I'll try to put a small example together now that I know where the bug is.
Cheers,
Jason.
>>> [EMAIL PROTECTED] 25/07/2002 02:22:34 >>>
> Date: Wed, 24 Jul 2002 20:16:10 +0100
> From: Jason Taylor <
5/07/2002 02:22:34 >>>
> Date: Wed, 24 Jul 2002 20:16:10 +0100
> From: Jason Taylor <[EMAIL PROTECTED]>
>
> With this enabled I can no longer travel my live tree to search for certain
> nodes. I'm still trying to locate which node is causing a Cant read children
>
>>> [EMAIL PROTECTED] 07/22/02 22:07 PM >>>
>to call View.setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY),
I tried this in my app and it fixed a load of depth sorting issues with transparent
and antialiased point/line arrays. How ever I've just found a really bizarre bug.
With thi
Alas my IDE has died so I can't check this myself but what I do is setUserData all my
nodes and then do searches from the root when live. As long as all the capibilities
are set I'm sure you should be able to find the object you need.
Of course I maybe talking complete cr*p! :)
Jase.
Morning all,
I've been looking at improving the performance of my old project as it looks like we
may be needing the code again for the next version of my friends PBeM game.
The basic context of the 3D components is to visualise information gathered on the
galaxy around you to aide your strate
I suspect it could be a matter of support, i.e.;
may only work in OpenGL or only in DirectX,
only works on certain cards,
only works with certain drivers or
only works in certain res/colour depths.
You should be able to see some differance when it's working and
possibly be able to ask
In case someone finds it useful attached is a version of this code with
a few fixes I've done.
1) Changed the transparency so you can see the label under j3d1.3
2) Added a line "graphics.setFont(labelFont);" so that the label
*actually* uses the optional font you specified (it always used the
de
Just found a clue, I'm no J3d expert so I don't understand why but if I
change the following line (~122)...
TransparencyAttributes ta = new
TransparencyAttributes(TransparencyAttributes.FASTEST, 1.0f);
to a transparency of 0f...
TransparencyAttributes ta = new
TransparencyAttributes(Transparenc
Just thought I'd have a look at this, I use a different raster label
based on a post from one of the Sun guys over a year ago and that works
fine. I tried todays CVS version of the org.j3d.Geom one and it just
won't show up in my scene. I've messed about with the attributes to no
avail.
No differ
It'll depend what you want it to do?
VR covers a lot of ground from simple PC with shutter glasses (~£2,000)
to SGI monster with head tracking headset and data glove (~£20,000) to
even a virtual cave with a stack of rendering boxes and projectors
(~£200,000).
Reason you don't see prices much is
Not much help but I think about a week ago one of the Sun guys posted a
compatibility table that said in effect that the only j3d that 'works'
with jdk1.4 is j3d1.3b2.
That confused me as I'd thought that j3d1.2.1_04 was released
specifically as a jdk1.4 compatible version!
So maybe try j3d1.3b2
>>> [EMAIL PROTECTED] 12/06/2002 12:54:25 >>>
> I think MGS2 impressed me much more than any screen from Q3. Okay
they
> have dynamic shadows? So what? Shadow algorithmen are over 20 years
old.
I agree MetalGearSolid2 does look very good, the attention to detail
does stand out above most PC based
>>> [EMAIL PROTECTED] 12/06/2002 11:59:03 >>>
> Well when I look at the videos of Doom3 alltough they look
impressive. I
> don't see anything which can not be done by a graphics programmer
with
> about 2-3 years experience. And I would go even that far that there
isn't
> anything in it which could
>>> [EMAIL PROTECTED] 12/06/2002 11:34:05 >>>
> Now I think about it, that was probably just agreeing with Jason,
actually, but in more words.
:)
But with one important point, I was concentrating mainly on the eye
candy FPS style of game as that's what I tend to play the most. But as
you point o
I'm no games programmer (least not since my Acorn Electron days or Mud
wizording :) but I think the basic problem with the question is the
context.
Here's some simple answers that are in my limited opinion;
Q1) You want to learn skills to become a pro game programmer for a
major label?
A1) No ja
>>> [EMAIL PROTECTED] 12/06/2002 04:01:31 >>>
> FYI: I use the Belkin at work and a Linksys KVM at home. The Linksys
is
> definitely superior.
IMO, over all Belkins are fairly bad desktop KVMs, they just have the
majority market share (like some OS's I can think of :).
We've found them generally
I think the J3D team have the right approach. They support an openGL
standard system for stereo, it's the graphics card makers that only
provide fully supported drivers for certain high end cards.
It is a pain yes, as I'd also love to use my GF3 with my Elsa shutters
with j3D! :(
If Sun could pu
>Looks fine to me too and that's on my crapy work machine!
Doh. I take it back, I hadn't read the original email.
Yes there is a flicker, tricky to spot unless you try to make it
happen. :) Not something I'd personally notice but yes doesn't look
right.
Still very impressive (other then the opt
Looks fine to me too and that's on my crapy work machine!
NT4, jdk1.4, j3d1.3b2 OpenGl, ATI Rage 128Pro
The blendy fire effect really kills my fps but the other models perform
okay.
Top stuff!
Jase.
===
To unsubscribe, se
The I used to use came from the Cosmo VRML browser.
Try http://ca.com/cosmo/
Jason.
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, se
Open the vrml file in a text editor and have a look at the lump of lines
around line 21.
If you post half a dozen lines around there someone might spot the
problem. (don't post the whole file! :)
I'm guessing it's an unsupported vrml node, a differant Loader may have
more luck.
Does the convert
Dave in a word NICE! :)
The elemental movement effect is very cool.
Now all you need is some roads with a horse and cart and it would be
perfect! :)
I really hope you guys manage to get this finished.
I think Sun should be sponsoring the Magicosm project!
Jase.
==
>>> [EMAIL PROTECTED] 23/04/2002 15:36:17 >>>
>> Given that consumer stereo hardware
>> for the PC has gotten dirt cheap it would be great to start using it with
>> Java3D. (would certainly wow the customers!).
>Got any reccomendations?
http://www.j3d.org/faq/stereo.html
Does mention the reason
You'll probably get a more detailed reply but from what I remember you need to be
running the Quantum faked drivers to get stereo working in J3d. I never got around to
trying it myself.
I'm sure it's mentioned on the www.j3d.org site somewhere?
To find the drivers look for where RivaTuner come
I'd say you need to make a study into what level of reality is required
to activate a craving on a typical subject.
A survey might be good enough for this part, ask something like
In which of the following media do you feel a craving when presented
with __ ?
A) Cinema/TV
B) Pictures/Pos
Yet again the question is asked... yet again no one else seems to use
*MY* preferred editor :)
CodeGuide from Omnicore Software ( www.omnicore.com )
Current version 3.0.1 supports stuff like;
colour coding
auto indent
auto complition
real time syntax checking
context sensitive javadoc popup
There already is a java3d newsgroup, this list however does tend to be
more informatively active then the newsgroup.
Jason.
[EMAIL PROTECTED] - Tel: +44 (0)24 765 22299
Room 108 - IT Services - University of Warwick
Effectivly a behaviour that monitors the FPS of a given Canvas3D and
triggers a switch node. So instead of creating a LOD with distances you
create something simular with FPS values...
I like it! :)
When the scene is still it would go back to full quality and just
change gear when moving.
Jason
I've been using it for years and it's very good, the new version is
good
too. If you're doing a lot of VRML coding it's worth it. But it's not a
graphic
app, it's a text coding one but does check syntax for you and command
complition.
Jason.
>>> [EMAIL PROTECTED] 30/08/2001 16:11:42
>>>
Ehlo
I
>- John Wright
>Starfire Research
>PS - This and all my comments are in no way an endorsement of one API
vs
>another. I'm just simply trying to illuminate the differences
between
>using the two different implementations of Java 3D. Ultimately we'd
>hope that Java 3D would completely isolate us f
In case no one else noticed it appeared on the sun site last night. :)
Jase.
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email
Will wrote:
>On Wed, 1 Aug 2001, Jason Taylor wrote:
>> There is a cube with 100*100*100 points in it.
>I am trying to understand what exactly your domain is. Do you have
>1,000,000 points randomly distributed in 3-space? What is the cube
exactly?
>Just a bounding box for your p
Thought I'd post this here as well as the newsgroup to increase my
chances! :)
Hi,
Yet to find a nice way to do this maths and now that I'm programming it
into
a Java3D program I was wondering if there was a simple & fast method to
do
it?
Basic problem is this;
There is a cube with 100*100*100
Rough guess is that it's using the bounds rather then geometry to
calculate the intersection. But that is a very rough guess. :)
Jason.
[EMAIL PROTECTED] - Tel: +44 (0)24 765 22299
Room 108 - IT Services - University of
I've tried Forte CE and JBuilder 3 and I found both a bit slugish and
over the top. I ended up using CodeGuide from www.omnicore.com and
haven't turned back since. It's got some very nice features and is
relatively small but written in Java! :)
Runs on unix & windows and is cheap for academics.
Seems that most of what I want to know about performance has actually
been covered by someone, one of the few J3D sites I hadn't got round to
looking at has plenty on this topic
http://trapdoor.surak.com.au/~chris/home/java/j3d/PerformanceSutras.html
>From this, I've reduced the FrameCycleTi
Hi all,
After some digging and finding nothing on performance with
Interpolators at the Sun site I did find a saving snippet from this
lists archive!
Maybe it should be added to one of the FAQs? As this seems to at least
trouble more then just me! :)
To sum up, as Interpolators are kicked into
>> As I guessed this slows things down a lot in my scene, I may try to
incorporate it into my LOD
>>structure as you can't really see the rotation when the textures are
turned off anyway.
> That is a good idea. ;)
Yep certainly was. :)
I got rid of the array of interpolators so now I just creat
> You need two TransformGroups like this:
>
>TG1 -- TG2 -- [Objects]
>
> Apply translations to TG1, and apply rotations to TG2. Doing so you will
>achieve what you're looking for, I think ;)
>
> Vïctor
Thanks!!! Works a treat and kind of makes sence. :)
As I guessed this slows thin
Futher investigation
It seems that by default all rotations are around 0,0,0 on the Y axis,
how do I apply a rotation to a TransformGroup that is not located at
0,0,0 so that the object it contains stays where it was and spins
around?
I tried this but ended up with objects moving to 0,0,0 an
>Can you use openGL and accomplish the same level of control you enjoy
with
>Java3D?
I've not read anything on openGL programming but I would suspect that
there is a lot of specific rendering/geometry tasks that you can't do in
Java3D but you can in openGL. But as openGL is a graphic language you
Hi,
I have a scene with 300 objects and thought I'd try adding some
Interpolators to spice it up. I managed a color one okay as I can
generate a single material object and associate it with multiple shapes,
just had to slow the cycle so that mouse responce was okay. But I wanted
to try a rotation
>I have seen your message. I am also going to work on a project of
using
>VRML, Java3D and Java EAI. Would you give me some journal or paper
about
>using the JAVA EAI and why you feel it is not good? I would like to
get some
>more details before I move to Java 3D.
>
>Many thanks,
>Kenneth
I'm no
I believe 1.3 is due 3rd or 4th Q this year don't think an exact date
has been published yet. Check the web site for confirmation.
On a simular line, anyone know when 1.2.1_02 is going to be released?
It's meant to fix a problem I have so I want to test it in case I still
have to write around the
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?
What is the refresh rate of your monitors?
That soft of info should help someone guess what to look at.
Cheers,
Jason.
REALLY SORRY NOW
It seems I guessed how to use it right the first time but my IDE
corupted the project and wasn't saving any of my changes before
compiling or not overriding the previous classes.
DOH!
Soon as I added some parenthasis around the value I noticed they didn't
appear and went an
Hi,
I'm getting tired of not finding any referance that has more then 10
words on this.
I know it's mentioned a lot in the archive but I can't find a single
example of how to use it there or on the java.sun.com site.
set/getUserData
All I need is one program that shows how to put something in a
>>> [EMAIL PROTECTED] 29/06/01 16:22:06 >>>
>Whats NURBS?
"NonUniform Rational B-Splines"
Do a web search, there's loads of referances. I reconise the term from
my VRML reading of last year. :)
Don't ask me to explain, it's all maths to me! :)
Jason.
==
Hi can't help much but I also get this error in my code, but this is my
first J3D program so I think I could do it cleaner and avoid it. I have
a few views in a tabbed swing panel and a menu which allows me to add
additional tabs with new views.
I can start the program with 1-8 tabs ok but if I a
76 matches
Mail list logo