Hello
It's just that the ViewPlatform has to be transformed with a TG with Vector with Z
component, for example (0.0f, 0.0f, 2.4f), and the ColorCube with a diferent TG. Here
is a modified file that works:
(See attached file: Test3D.java)(See attached file: Test3D.class)
Hope this helps
Da
re looking for?
-Lisa
Daniel Moscoso wrote: Hi all !!
I have been currently working with 3ds models, loading them with Starfire 3ds Loader.
The models are usually composed of sub-objects. Opening them with a model browser
(like 3D Exploration), the objects appear with a label.
Can these labels b
Hi all !!
I have been currently working with 3ds models, loading them with Starfire 3ds Loader.
The models are usually composed of sub-objects. Opening them with a model browser
(like 3D Exploration), the objects appear with a label.
Can these labels be imported from Java3D ? I have not found
Hi all !!
Just a question. Is it actually possible to run JAVA3D in Mac OS ?
The JRE and the Java3D RT doesn't exist for Mac, or I have not found them in JAVA page.
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht de
Dani
Hello Daniel!!
Congratulations for the degree!
Can we visit your web project?
Thanks!
- Original Message -
From: "Daniel Moscoso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 5:01 PM
Subject: [JAVA3D] Thanks a lot to all
Hi all !!
Today, the 19th of December, I have finally got my degree with a presentation of a web
project with applets of Java3D. I have been developing it along 18 months, and I have
got a very good result.
So I want to give my sincer thanks to all Java3D developers of this forum. All of you
Try with GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration().
Hope this helps
Dani
--
help please,
why the following code i an applet sometimes causes
java.security.AccessControlException:
protected GraphicsConfigTemplate3D tmpl = new GraphicsConfig
Hi all !!
Does anybody know a site where I can make questions about JavaScript & HTML ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
infor
Try to use f.load(urlFile) instead of f.load(filename).
Hope this helps
Dani
--
Hi
I´ve tried to load a obj file from an applet like this:
ObjectFile f = new ObjectFile();
Scene s = null;
try{
URL urlFile = new URL(getCodeBase(), filename);
}catc
Hi all !!
Does anyone know an URL with sample LWS Scenes (that can be loaded with Lw3dLoader) ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben
It's specified here:
http://www.j3d.org/utilities/loaders.html
Hope this helps
Dani
-
What file types does Java3D support as far as loading them (ie VRML, etc...)?
I need to know what types are developed already that I can get loaders for.
Thanks
Zak
--
Hi all !
I have some questions about VRML loaders:
- What are the features of portfolio VRML loader ? And the ones of VRML loader from
X3d task group ? Are there many diferences between the two loaders ?
- I know that they load VRML models (geometry). Do they load VRML animations ?
- Is there
Hi again !!
I have tested it and I have got the same exception.
Dani
--
At 15:14 21.09.2001 +0100, you wrote:
Hi,
I had this Problem some time ago.
Just using new URL(getCodeBase(), filename); in your Applet,
Hi all !!
I try to load a DXF file using portfolio from an applet. It works as an application,
but if I try to load it like this:
filename = "TestFile.dxf"
ModelLoader f = new ModelLoader();
Scene s = null;
try {
URL urlFile = getClass().get
Hi all !!
Does anyone know if is there any way to calculate the resulting Shape3D of the
intersection between two Shape3D's (for example, between two ColorCube's)?
I know that Java3D supports collision detection. Can it be done by calculating the
result of a collision, or someone like this ?
T
Hi all !!
Does anyone know if is it possible to set some default properties to NCSA Portfolio,
to avoid the reading of .properties files ? This is giving me problems if I use it
from an applet.
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte In
Hi all !!
For downloading JAR files from Netscape: Is this a way to download without displaying
them ? Making 'save as' from menu after displaying them saves with badly format, and
cannot be used.
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
What's the links to get Lightwave 3d and NuGrafx PolyTrans ?
Many thanks !!
Dani
_
Hi Daniel
> Does anyone know a tool to build LWS scenes ?
Well as LWS stands for Lightwave Scene. I would say the most
perfect tool to
Hi all !!
I have been using several loaders (Starfire 3ds, OBJ loader, etc), from some applets.
I usually load the 3d models passing the filename as an URL, to avoid the
AccessSecurityException thrown if a file is read from the local file system.
I can avoid this too using NCSA Portfolio loader
Hi all !!
Does anyone know a tool to build LWS scenes ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absen
Hi all !!
I want to know if is there a way to get the coordinates of intersection between
different Shape3D's (f.ex. two cubes), and then create a GeometryArray and a Shape3D
generated from this intersection. Is something like the code used in IntersectTest
provided by J3D ?
Thanks in advance
Hi all !!
I have an applet that switches between multiple Canvas3D and only one with the action
of a RadioButton (using a VirtualUniverse with multiple views). The problem I have is
that I have to call repaint() from alll the Canvas3D every time I switch (if not it is
not visible). But this wo
with Behavior's). Is there a loader to load , for example, the
animation behavior of 3ds files? If so, what of the existing ones ?
Thanks in advanced !!
-----
Daniel Moscoso Rivas
emagine Iberia Cons
I have already tried this, but although the method load() is provided with an URL as
parameter, it doesn't work. It is specified in the javadoc:
"Loading from a URL is not supported at this time"
Dani
--
Hi all !!
I'm trying to load 3ds models from applets using the Starfire 3ds loader. They are
loaded fine from Netscape, but I have a problem with IE. If I try to load them like
this:
Loader3ds loader = new Loader3ds();
Scene s = loader.load("models/testfile.3ds");
It woks i
Hi all !!
I'm trying to animate a VRML world using a Timer to change its viewpoint in a
specified number of milliseconds. But the calls to start(), stop() from the Timer give
an AccessControlException from an applet (it works as an application). Is this a
thread problem ? If not, how can it wo
Hello !!
What java.exe is being executed ? Make sure your path is set first to the one provided
by JRE and not the one in windows directory.
Hope this helps
Dani
I am trying to execute the J3D Fly Through (in the official Java 3D page)and
Estaré fuera del 13/8 al 19/8
I'm out of office from 13/8 to 19/8
-----
Daniel Moscoso Rivas
emagine Iberia Consulting and Technology, S.A.
Application Development
Access Solutions - O
In this application menu there are 'Start Animation', 'Stop Animation', etc. Should
this animate or let the user interact the VRML world ?
i have the same problem and i believe you can't do anything about it
regards, mattie
8/6/01 2:55:31 P
Hi all !
I'm interested in JavaHouse demo, because it browses WRL files, but when I execute it,
after going to File - Open and selecting house.wrl I get an exception:
Exception occurred during event dispatching:
java.lang.NullPointerException
at JavaHouse.actionPerformed(JavaHouse.java:
Hi
You have to install JAVA3D in your machine.
The detailed instructions are at: http://www.j3d.org/installing.html
Hope this helps
Dani
--
Hi,
I am not able to run a java3d applet in the server from my machine. I am having
windows 2000 in my machine
Hi all !
I 've been testing the VRML loader to load models. But my question is if the loader is
able to load VRML animations and play them.
I've also found classes named Player, VrmlScene, etc. Are there for this ? Does anyone
have an example of how to use them ?
Thanks in advanced !
Dani
-
Estaré fuera del 16/7 al 29/7.
I'll be out of office from 16/7 to 29/7
-----
Daniel Moscoso Rivas
emagine Iberia Consulting and Technology
This is a known bug in Netscape. It does work in IE. Unfortunately
Sun's only answer is to wait and pray it is fixed in a future version of
Netscape 6 (yuck! I do NOT want to support Netscape 6 - I like Netscape
4.7x).
- John Wright
Starfire Research
Daniel Moscoso wrote:
>
> Hi all
Hi all !!
I have a problem:
I want to call an applet method from an HTML link. It's easy in the normal way when
the applet is normally defined.
This is done in javascript.
If the applet is defined as follows:
And the applet has the method methodName(), the way to call it is
Just here:
http://www.j3d.org/utilities/loaders.html
--
Hi all,
Does anyone know where there may be file loaders available to the public? I didn't
see anything on Sun's site.
thanks,
John.
===
To un
I have tested it passing the file as an URL like this:
VrmlLoader loader = new VrmlLoader();
URL fileURL = getClass().getResource("test.wrl");
Scene s = loader.load(fileURL);
and it works.
Hope this helps !!
Dani
Hi,guys and gals,
Hi all !!
I want to implement applets that display a file model (3ds model with sub-objects).
The Starfire 3ds loader builds an scene graph like this:
BG (Main model BranchGroup)
|
/ | \
/ | \
Hi all !!
I have tested several file loaders, such OBJ loader from java3d API, Starfire 3ds
loader or VRML loader.
The problem I had before was to testing them from applets, because navigators don't
allow to read files from the local file system. Now the problem is solved, reading the
model fi
Hi all !!
I'm currently testing PickRotateBehavior. It works fine with primitives and simple
Shape3D's (the object is rotated around its center). If I test it with a 3ds loaded
model, (made with different sub-objects), the objects rotate around another different
point (sometimes the origin).
Hi all !
I'm currently testing the VrmlLoader (provided in vrml97.jar).
What is the exact URL where its javadoc is placed ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mai
You just have to pass the file as an URL:
URL textureURL = new URL("file:./background.jpg");
TextureLoader loader
=new TextureLoader(textureURL, this);
Dani
---
Like I said, I don't think you reference a file by name like that. The
browser supports a higher leve
Is there any program to convert 3ds animation to LWS scenes ?
__
Bob Dengle wrote:
>
> I am pretty sure that there is currently no loader capable of loading
> animations.
Sorry for the late post, but the Lightwave loader loads animations.
//Rikard
=
Hi all !
I have tried to test the VRML loader. It works fine from application.
But I have tried to use it from an applet. The way to do it is like the ObjLoader (I
think):
import com.sun.j3d.loaders.vrml97.VrmlLoader;
import com.sun.j3d.loaders.ParsingErrorException;
import com.sun.j3d.loader
a
loader to generate. If you want animations for your programs you will
probably have to implement your own keyframe or skeletal animation system.
-B.D.
P.S. There are also people working on integrating Java3D and VRML. Check out
the Web3D home page at http://www.web3d.org/
>From: Daniel Mo
Hi all !
I've been testing the 3ds model loading using 3DS loaders. I have still a question:
3ds format is a model format, but a 3ds model can be created by 3d Studio with
animation behaviour. I think that VRML files can also be created with animation
behaviour (I believe).
I have not tested
t work for VrmlLoader ?
-----
Daniel Moscoso Rivas
emagine Iberia Consulting and Technology, S.A.
Application Development
Access Solutions - Office Front-Ends
Parque de Actividades Económicas Can
ad(new URL(getCodeBase(), "test.wrl"));
Bob
>From: Daniel Moscoso <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] AccessControlException trying to using VRML loader from
>a
Hi all !!
I' m implementing an applet that is able to zoom an object (ex. pushing a pushbutton)
moving the ViewPlatform towards it. This makes the object appear nearer the observer.
I do this changing the transform vector of the ViewPlatform (the default one for the
SimpleUniverse is 0.0, 0.0,
Hi all !
I have tried to test the VRML loader from an applet. The way to do it is like the
ObjLoader:
import com.sun.j3d.loaders.vrml97.VrmlLoader;
import com.sun.j3d.loaders.ParsingErrorException;
import com.sun.j3d.loaders.IncorrectFormatException;
import com.sun.j3d.loaders.Scene;
...
Vr
Hi all !!
I'm implementing an applet that has to be able to get a 'Selection area' like in most
of draw programs.
To simulate this, I think on drawing a rectangle with a dash line according to the
mouse movement. This mean that a Shape3D with a QuadArray has to be drawn with every
mouse moveme
All installation information is in http://www.j3d.org/installing.html
Hope this helps
Dani
If someone could help me, i'd like to install the Java 3D API.
What file should i download ? Where do i install the file ?
I got in the sun's homepage these files:
java3d-1_2_1_01-win32-directx-sdk
ja
Hi all !!
I've been testing the loading of Java3D models. I usually work with OBJ and 3DS files.
Now I'm trying to load a j3d applet in an HTML page, and call it to re-load different
models according to the link I push (passing the filename and the scale as parameters
from the link call). I've
arted
- Original Message -
From: Daniel Moscoso
To: [EMAIL PROTECTED]
Sent: Tuesday, May 08, 2001 11:33 AM
Subject: Re: [JAVA3D]
Hello and welcome !
The java3d has to be installed in specific directories.
The installation instructions are at: http://www.j3d.org/installing
Hello and welcome !
The java3d has to be installed in specific directories.
The installation instructions are at: http://www.j3d.org/installing.html
Dani
dear sir
i am new to java 3d and i downloaded everyhting but whenever icompile my java3d
program (the examples in the book )it always get
anced !!
-----
Daniel Moscoso Rivas
emagine Iberia Consulting and Technology, S.A.
Application Development
Access Solutions - Office Front-Ends
Parque de Actividades Económicas Can Sant Joan
Vial Interpola
Hi all !!
I'm currently working with 3ds models using the Starfire 3ds loader. I know that it
builds the model scenegraph creating a BranchGroup node (and corresponding
TransformGroup and the rest of children nodes) for every object contained in the model.
I'm interested of implementing an 'ent
Hi all !!
Does anyone know a website with free solid 3D models ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort
Hi all !!
I'm developing applets that use loaders for OBJ and 3DS files. The scale I have to set
to the loaded BranchGroups of the files always depend on the model.
Is there any way to calculate the scale to represent a model to fit exactly the
Canvas3D ?
Thanks in advanced !!
Dani
--
Dies
Hi all !
I want to do it in the inverse way. For example, I have a j3d applet that loads a
model file. This applet receives the filename and the scale as parameters from the
HTML file. Pushing different links, I want to pass different parameters to the applet
and display different files.
Is th
is called when you run the applet as an application from the
command line. It doesn't even know about the html with the parameter values.
Look at the SphereMotion example on how to get values from the command line
into the mai method.
-Original Message-
From: Daniel Moscoso [mailto:
!!
Dani
Why don't you pass command line parameters in the main method when running
the applet as an application(which is what the main method is for) and use
the init getparameters for when running in browser ?
Jannie
-Original Message-
From: Daniel Moscoso [mailto:[EMAIL PROT
Hi all !!
I have a question. I know that the projection view policy can be changed with
setProjectionPolicy(View.PARALLEL_PROJECTION / PERSPECTIVE PROJECTION). But exists any
way to get an Isometric Perspective view of a j3d scene ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertra
ositions. The
projection policy of View1 and View2 can be different.
Hope that helps.
regards
Paul
>
>
> Daniel Moscoso schrieb:
>
> > Hi all !!
> >
> > I'm developing a Java3D project of a subject of solid-modeling. I wonder if it's
>possible, for exa
Hi all !!
I know that parameters can be passed to an applet from the HTML file with . But the parameter values can be caught with
getParameter(...) only in the init() method of the applet.
The applets usually written in java3d have the main() method and construct the applet
with new MainFrame(
One more question:
So if any change in the object affects all views, and I want to have a different
projection of the object in every view, do I have to instance the object in every view
?
Many thanks !!
Dani
Daniel Moscoso schrieb:
> Hi all !!
>
> I'm developing a Java3
Hi all !!
I'm developing a Java3D project of a subject of solid-modeling. I wonder if it's
possible, for example, to have multiple views: one for a solid model, and other views
for their projections in the same applet. My questions are:
a) I suppose that every view has to reference one Canvas3
Hi all !!
I have a question. Is it possible to work with context menus in a Java3D applet ? Have
anybody worked with this ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-M
Hi all !
There are the methods: rotX, rotY and rotZ, depending on what axis you want to rotate
on.
Dani
hi tanju,
i am new, too, but i found the following:
consider the default Transform3D is y axis, then rotate it 1/2 PI on x
axis and you'll get z axis Transform3D:
...
Tran
d all x's and divide by number of x's to get center of mass x etc
~Shlomo
On Tue, 3 Apr 2001, Daniel Moscoso wrote:
> Hi all !!
>
> I'm working with OBJ and 3DS files. When I load 3ds files, they don't appear at the
>center of the Canvas3D like the OBJ ones (I d
Hi all !!
I'm working with OBJ and 3DS files. When I load 3ds files, they don't appear at the
center of the Canvas3D like the OBJ ones (I don't know why). I want to center them and
I think I have to set TransformGroup's with translation to set them in the center.
How can I get the position coor
-V_8HV6JbAAAbM0#LR
Daniel Moscoso schrieb:
> Hi all !
>
> I have a simple question: How can I pass parameters to a Java3D applet from the HTML
>file ? (for example, a model file name to load, that could be received in the main()
>method of the applet). I mean in an HTML file changed with
Hi all !
I have a simple question: How can I pass parameters to a Java3D applet from the HTML
file ? (for example, a model file name to load, that could be received in the main()
method of the applet). I mean in an HTML file changed with HTML converter (into
tags).
Thanks in advanced !!
Dan
Hi all !!
I'm working with 3DS and OBJ models, and I want to know if exists a quick way to
change the attributes (PolygonAttributes, TransparencyAttributes, etc) from a model.
I understand it has to be done from the Appearance nodes.
Is there a quick way to get Appearance nodes from the model ro
Hi all !!
Could someone give me the exact link to download CVS VRML97 and X3D loaders ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
infor
Hello
You have to load the file as an URL, like this:
URL fileURL = new URL('.\filename.3ds');
Hope this helps
Dani
Date: 03/09/2001 01:41 PM
To:[EMAIL PROTECTED]
Reply to: [EMAIL PROTECTED]
Subject: [JAVA3D] Starfire 3DS Loader
Message text:
I'm us
Hello
You have to install the Java3D plugin (JRE and Java3D).
Installation process is in: http:\\www.j3d.org\installing.html
Hope this helps.
Hello,
I'm new to Java 3D, and I'm trying to do one applet that show a ColorCube.
It is a very simple thing to do. I've written the applet and I'm able
Hello !!
I think that attaching the ViewPlatform under a TG with a Transform3d (rotate the
corresponding degrees all the ViewPlatform) should work.
Dani
Hi,
Does anyone know how to define a viewer's view direction?
I try to make an avatar navigate in a virtual world. I think I need to attach
du/~srp/astro.wrl"));
should work.
At 10:24 AM 1/26/01 +0100, Daniel Moscoso wrote:
>Hi again !!
>
>The code that reads the portfolio.properties file is the standard one used
>by NCSA Portfolio loader:
>
> BranchGroup mainScene = createSceneGraph();
> ViewingPlat
loader.load(new
URL("http:/havefun.ncsa.uiuc.edu/~srp/astro.wrl"));
should work.
At 10:24 AM 1/26/01 +0100, Daniel Moscoso wrote:
>Hi again !!
>
>The code that reads the portfolio.properties file is the standard one used
>by NCSA Portfolio loader:
>
> BranchGroup main
ode? If it is, what's the correct way ?
Many thanks !!
Dani
Dani,
If you send me a test sample. I can look at it. or atleast provide full syntax lines.
so I can see what u r doing
Ahmed
-Original Message-
From: Daniel Moscoso [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 2
d getCodeBase() will give you that path. This will work if
both the applet and the file you are trying to access are in the same directory. I
have never done it with files being in different directories, but thats possible too.
Ahmed
-Original Message-
From: Daniel Moscoso [mailto:[EM
Hi all !
I'm writting an application that uses the NCSA Portfolio loader. It's working fine
from the command line but gives security exceptions if I try to run it as an applet
with a navigator. I also tried to configure the java.policy file to grant all
permission, or FilePermission, for the f
Hi all !
I know that Java3D supports intersection / colision detection of objects. But does
anybody know if it's possible to generate objects with the union / intersection of
another objects in the scene ? (I mean dinamically generation, with user's interaction
like translation or rotation). H
Hi, Karsten !
Sorry, I didn't understand you. You meant the policytool provided by JRE.
OK, I'm going to test it.
Dani
Hi Dani
you have to edit your policy file to set the applets permissions on files and/or urls,
or
get a certificate for yout access.
For development and testing try:
Just t
Thanks for your help !!
But still a question. I understand you mean the Navigator's Java console. It has some
commands represented by keys. Is it possible to type commands like 'policytool' ? How ?
Thanks in advanced !!
Dani
Hi Dani
you have to edit your policy file to set the applets permi
Hi all !
I'm implementing j3d applications based on file loaders (NCSA Portfolio Loader). They
work fine from the command line, but trying to run it with Netscape, I get the
AccessControlException
when the file has to be loaded (an .obj file in this case, this happens with other
kind of files
s when going
forward, or creating a turning axis and making 180deg swings left or right
to turn. The result was a "sphere" of ribbon in a polar maze looking thing.
But you should be able to figure it out from the code.
Good Luck
Don
-----Original Message-
From: Daniel Moscoso [mailto:[EMAI
Hi everybody !!
I'm interested if someone has been implemmenting the following effect: to create a 2D
shape
and rotate / translate it creating a 3D object (for example, like the cone obtained by
the rotation
of a triangle).
Thanks in advanced !!
Dani
=
Hi !
Java3d provides some reusable primitives like ColorCube, Box, Cylinder, Cone and
Sphere.
Is it possible to construct reusable primitives from various of this ones (f.ex, a
figure -solid- formed by two cilinders, or for several boxes) without having to
specify the geometry by hand ?
Anot
90 matches
Mail list logo