When I needed one, I did this, and called it
AttenuatedCone. It's a set of quadrilaterals arranged around the top and bottom
"hoops" like a barrel. I hope the comments explain what I was
after.
-Allan
www.infoviz.biz
- Original Message -
From:
Γιάννης
To: [EMAIL PROTECTE
My vote is for importing 3D models, although the balance between
models and "do-it-yourself" isn't a clear one.
For example, simple floors, walls, ceilings, are probably
easy enough to knock together inside your own code.
Chapter 9 of my online gaming book is about loading models
(http://fivedots
I have a background using a sphere with inward normals and a texture.
I am noticing that the center of my view of the background shows
where the edges of the texture image meet, while I'd rather be
looking at the center of the image instead. I cannot simply rotate
the view because I am rendering o
Any ideas?
Smith, David wrote:
Thanks Kelvin.
I removed the threading aspect. And that caused me
to reorg my code a little, and voila, no NullPointerException.
However, I get only the background color in my buffer.
The things I noticed differently in the examples, is
that they add the off screen canvas to
> My basic design is to create an offscreen canvas on the fly,
>
And by "on the fly", I mean scenegraph is built and
objects added and currently displayed.
:-)
Thanks,
-DaveS
==To
unsubscribe, send email to [EMAIL PROTECT
Thanks Kelvin.
I removed the threading aspect. And that caused me
to reorg my code a little, and voila, no NullPointerException.
However, I get only the background color in my buffer.
The things I noticed differently in the examples, is
that they add the off screen canvas to the view, befor
Thanx guys, this really helped me a lot.
And Peter, I udnerstand what you are saying and I totally agree with you. I'm just
like you and deep down iside me it almost hurts to take an easier way out =P Hehe, as
you've said, you learn more by programming everything yourself.
However, as I've said
A good reference for this sort of thing is Chapter 2 of "Introduction to
Robotics Mechanics and Control" by John J. Craig (Addison Wesley). Here's
equation 2.66 from section 2.8:
beta = atan2(-r_31, sqrt(r_11^2 + r_21^2))
alpha = atan2(r_21/cos(beta), r_11/cos(beta))
gamma = atan2(r_32/cos(
John Wright wrote;
"once you start wanting to make arches or other curved surfaces the strength
of a 3D modeling tool becomes essential."
I disagree with that, for situations where you want to do anything serious.
For casual users, a modelling tool is fast and fun at the beginning. By the
time the
Yeah it worked! Thank you very much!
- Original Message -
From: Silvano Maneck Malfatti <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 10:09 PM
Subject: Re: [JAVA3D] Calling a class error
> Try run it:
>
>
>
>
> import com.sun.j3d.utils.geometry.*;
> import javax
Try run it:
import com.sun.j3d.utils.geometry.*;
import javax.media.j3d.*;
import java.awt.*;
import javax.vecmath.*;
import javax.media.j3d.GeometryArray;
import java.applet.Applet;
import com.sun.j3d.utils.geometry.GeometryInfo;
import com.sun.j3d.utils.universe.*;
import javax.media.j3d.Bran
I suggest you to do a method that return the shape3D
For example
Class Polyhedron
{
.
.
.
Shape3D getPolyedron()
{
shape.setGeometry(myPolyhedron);
return shape;
}
}
So, in the second class you must use this:
Polyhedron polyhedron=new Polyhedron(
We've created a 3D VRML model of our research lab using CosmoWorld (a
tool similar to but not as powerful as 3DStudio) and visualize it in
Java3D. You can see a screenshot of the results at:
http://www.discover.uottawa.ca/~mojtaba/AOIMpics/labviz.jpg
to get an idea of the complexity. The geometry
Smith, David wrote:
I looked at the bug parade, and there is a bug fix
as well as a workaround for this problem in Java3D1.3_beta1.
(Now you know why I wanted to see what version I was running :)
The error is this:
Modeler.Command.ExportToJPEG.Execute(ExportToJPEG.java:60)
D:\gedavesm\src\jav
Is there such a class.
___
/ \
/\
/
\
--
Could i have light everywhere within
the Universe? I would like to rotate the shape and see all its
faces
You need to set the
influencing bounds for the light. For example:
light.setInfluencingBounds(new BoundingSphere(new Point3d(0,0,0),
100));
-Original Message-From: Discussion list for Java 3D
API [mailto:[EMAIL PROTECTED]On Behalf Of
ΓιάννηςSent: Tuesday, June 17, 2003 1
I did what you said and the result was that
Exception in thread "main" javax.media.j3d.MultipleParentException:
Group.addChi
ld: child already has a parent
at
javax.media.j3d.GroupRetained.checkValidChild(GroupRetained.java:440)
at javax.media.j3d.GroupRetained.addChild(GroupRetai
Here is my codeColor3f light1Color = new Color3f(0.0f, 1.0f, 0.0f);AmbientLight light=new AmbientLight(light1Color);BoundingSphere bounds =new BoundingSphere(new Point3d(0.0, 0.0,0.0), 100.0);light.setInfluencingBounds(bounds);group.addChild(light);But the color isn't as
Florin Herinean wrote:
Update to java3d 1.3.1 fcs. Previous versions contained a number of
bugs related to memory usage, which (in my case) were solved in the
current release.
Cheers,
Florin
-Ursprüngliche Nachricht-
*Von:* hterrolle [mailto:[EMAIL PROTECTED]
*Gesendet:* Dien
Here is my attempt
Color3f light1Color = new Color3f(0.3f, 1.0f,
0.3f); AmbientLight light=new
AmbientLight(light1Color);
group.addChild(light);
But i can see nothing :(
- Original Message -
From:
Kevin Glass
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 200
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
I'll comment on this a little as I've done both.
In my opinion, except for making trivial examples it is far too much
code to write to hand code every building you may have in a world. Hand
coded walls, ceilings, etc are not very tough to do and you can be more
efficient with doing just exactly w
Hello,
I'm getting confused by the tons of methods of the Transform3D class.
Is it possible to retrieve the rotational component stored in a matrix?
I mean "just the three angles around the three axes".
I normally use the (misleading, at least for me) .setEuler(Vector3d
euler) method. I'm looking
I have a the following class which make a
polyhedron
-
import
com.sun.j3d.utils.geometry.*; import javax.media.j3d.*; import
java.awt.*; import javax.vecmath.*; import
javax.media.j3d.GeometryArray; import
java.applet.Applet; import
com.sun.j3d.utils
the thing is, this is my first shot at a 3d world...so I really don't know which way
to go...I can't say I know 3d studio max better, but I don't know java 3d really good
either =P
which is the easiest and fastest way? with fast I don't mean how long it takes to
actually design the building but
You can do it in both ways.
If you feel better at 3D Studio Max when building geometries, do it there.
But is possible do the same inside Java3D. Of couse it can be ligther and
faster this way. As well easier to add behaviors. But there is no rules. You
say the rules of your application ;-)
I am using JBuilder7 to develop my Java3D application without problems.
I just copy the java3d jars to jbuilder's jdk jre, i.e, to folder
C:\JBuilder7\jdk1.3.1\jre\lib\ext
and copy the J3D dlls to
C:\JBuilder7\jdk1.3.1\jre\bin
Alessandro
- Original Message -
From: "Ahmet Balci" <[EMAIL
I was readign a little about the light system in j3d and wanted to make a sun. I have
a sphere with some sort of sun texture on it and I want to add a light source on the
same location as the model so it would iluminate the other objects in the Virtual
world. First I tried to use directional li
it is not only J3D momeries problem. I find out J3D cost
at the begining but then it is alritgh and recover (let said) correctly
the memorie. But i got problem with JAVA sdk. how does not destroy all the
component i create.
-Message d'origine-De :
Florin Herinean <[EMAIL PROT
Update
to java3d 1.3.1 fcs. Previous versions contained a number of bugs related to
memory usage, which (in my case) were solved in the current
release.
Cheers,
Florin
-Ursprüngliche Nachricht-Von: hterrolle
[mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 17. Juni 2003
16:08
I looked at the bug parade, and there is a bug fix
as well as a workaround for this problem in Java3D1.3_beta1.
(Now you know why I wanted to see what version I was running :)
The error is this:
Modeler.Command.ExportToJPEG.Execute(ExportToJPEG.java:60)
D:\gedavesm\src\java\Modeler\Test1.jpg
Hi,
i incease the RAM on my machine so JAVA is able to consume
more memories than before. The great things is that my application run much
fasrter and can hold more information. But when i for example destroy 100
frames i do not see any recover of the memori on my systyeme memory
monitor.
Thanks for your reply. I have already added the libraries which you mentioned. But it
didn't solve the problem. It gives lots of error messages similar to the following
message again for the HelloUniverse application in JBuilder3 environment. Isn't there
another probable solution to the problem?
Fabrizio NUNNARI wrote:
Are there other "deep" implications? Differences in performances?
Reliability? Memory usage?
We prefer to use WakeUpOnAWTEvent because on Win32 with MouseListener we
loose many mouse clicks.
It could be that we have made some errors, but when we switched from
MouseListener
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 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
Hello,
I'm going to customize a "bit" the MouseBehavior (and subclasses)
utility class for my purposes.
I was wondering why two modes have been implemented to listen to mouse
events.
One is based on WakeupOnAWTEvent, native in the Behavior mechanism,
the second is based on the MouseBehavior class
I was just wondering, say you want to create a building in which you can walk
around...what ways are there to create this geometry? Could you use for example 3D
Studio Max to design the entire building and then just load it into your J3D program?
Or is it better create the walls, and floor, etc
39 matches
Mail list logo