Re: [JAVA3D] Try to see a color cube

2001-12-31 Thread Daniel Moscoso
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: [JAVA3D] Object labels from a 3ds model - Can they be loaded ?

2001-12-21 Thread Daniel Moscoso
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

[JAVA3D] Object labels from a 3ds model - Can they be loaded ?

2001-12-21 Thread Daniel Moscoso
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

[JAVA3D] Can J3D be executed in Mac OS ?

2001-12-20 Thread Daniel Moscoso
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

Re: [JAVA3D] Thanks a lot to all

2001-12-19 Thread Daniel Moscoso
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

[JAVA3D] Thanks a lot to all

2001-12-19 Thread Daniel Moscoso
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

Re: [JAVA3D] java.security.AccessControlException

2001-11-15 Thread Daniel Moscoso
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

[JAVA3D] Non j3d question: A site with a JavaScript forum ?

2001-11-13 Thread Daniel Moscoso
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

Re: [JAVA3D] loading a file (obj) from an applet

2001-10-18 Thread Daniel Moscoso
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

[JAVA3D] Sample LWS scenes

2001-10-09 Thread Daniel Moscoso
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

Re: [JAVA3D] Loaders

2001-10-02 Thread Daniel Moscoso
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 --

[JAVA3D] Questions about VRML Loaders

2001-09-28 Thread Daniel Moscoso
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

Re: [JAVA3D] Exception loading a file from an applet (using portfolio)

2001-09-21 Thread Daniel Moscoso
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,

[JAVA3D] Exception loading a file from an applet (using portfolio)

2001-09-21 Thread Daniel Moscoso
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

[JAVA3D] Please help: Calculating the intersection between two Shape3D's. Can it be done ?

2001-09-17 Thread Daniel Moscoso
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

[JAVA3D] Setting NCSA Portfolio to not read .properties files

2001-09-06 Thread Daniel Moscoso
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

[JAVA3D] Stupid / non-Java3D question: downloading JAR files.

2001-09-05 Thread Daniel Moscoso
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

Re: [JAVA3D] Tool to build LWS scenes

2001-09-03 Thread Daniel Moscoso
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

[JAVA3D] Using portfolio loader from applets

2001-09-03 Thread Daniel Moscoso
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

[JAVA3D] Tool to build LWS scenes

2001-08-31 Thread Daniel Moscoso
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

[JAVA3D] Getting coordinates of intersection between Shape3D's - Is it possible ?

2001-08-31 Thread Daniel Moscoso
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

[JAVA3D] Problem with Canvas3D repainting

2001-08-30 Thread Daniel Moscoso
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

[JAVA3D] Loading animation behavior (like LWS loader)

2001-08-30 Thread Daniel Moscoso
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

Re: [JAVA3D] IOException using Starfire 3ds loader from IE

2001-08-22 Thread Daniel Moscoso
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 --

[JAVA3D] IOException using Starfire 3ds loader from IE

2001-08-22 Thread Daniel Moscoso
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

[JAVA3D] javax.swing.Timer gives an AccessControlException from an applet

2001-08-21 Thread Daniel Moscoso
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

Re: [JAVA3D] Executing java 3D Fly Through ?

2001-08-20 Thread Daniel Moscoso
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

[JAVA3D] ... is out of office from 13/08/2001 until 19/08/2001 (additional information)

2001-08-12 Thread Daniel Moscoso
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

Re: [JAVA3D] JavaHouse demo crashes opening a WRL file

2001-08-06 Thread Daniel Moscoso
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

[JAVA3D] JavaHouse demo crashes opening a WRL file

2001-08-06 Thread Daniel Moscoso
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:

Re: [JAVA3D] Running Applet From Server

2001-08-03 Thread Daniel Moscoso
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

[JAVA3D] Animation behavior of VRML worlds

2001-08-02 Thread Daniel Moscoso
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 -

[JAVA3D] ... is out of office from 16/07/2001 until 29/07/2001 (additional information)

2001-07-16 Thread Daniel Moscoso
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

Re: [JAVA3D] Calling an applet method from HTML link

2001-07-12 Thread Daniel Moscoso
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

[JAVA3D] Calling an applet method from HTML link

2001-07-12 Thread Daniel Moscoso
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

Re: [JAVA3D] FileLoaders for Java3D

2001-07-10 Thread Daniel Moscoso
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

Re: [JAVA3D] About Vrmlloader: how can a Java3d-based applet load VRML files?

2001-07-10 Thread Daniel Moscoso
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,

[JAVA3D] PositionInterpolator

2001-07-09 Thread Daniel Moscoso
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) | / | \ / | \

[JAVA3D] NCSA Portfolio - Testing from an applet.

2001-07-09 Thread Daniel Moscoso
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

[JAVA3D] PickRotateBehavior

2001-07-09 Thread Daniel Moscoso
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).

[JAVA3D] Javadoc of vrml97.jar

2001-07-06 Thread Daniel Moscoso
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

Re: [JAVA3D] Jesus! can run it in sun's applet viewer but can't run in IE5.5

2001-07-05 Thread Daniel Moscoso
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

Re: [JAVA3D] Loading animation behaviour from 3ds files

2001-07-05 Thread Daniel Moscoso
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 =

[JAVA3D] Has anybody loaded a VRML model from an applet !?

2001-06-29 Thread Daniel Moscoso
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

Re: [JAVA3D] Loading animation behaviour from 3ds files

2001-06-28 Thread Daniel Moscoso
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

[JAVA3D] Loading animation behaviour from 3ds files

2001-06-27 Thread Daniel Moscoso
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

Re: [JAVA3D] vrml97

2001-06-05 Thread Daniel Moscoso
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

Re: [JAVA3D] AccessControlException trying to using VRML loader from an applet

2001-05-31 Thread Daniel Moscoso
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

[JAVA3D] Zooming an object moving the ViewPlatform towards it.

2001-05-30 Thread Daniel Moscoso
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,

[JAVA3D] AccessControlException trying to using VRML loader from an applet

2001-05-25 Thread Daniel Moscoso
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

[JAVA3D] Selection area and zooming the scene graph

2001-05-24 Thread Daniel Moscoso
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

Re: [JAVA3D] Install Java 3D

2001-05-16 Thread Daniel Moscoso
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

[JAVA3D] Loading 3D models in a j3d applet from HTML links.

2001-05-11 Thread Daniel Moscoso
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

Re: [JAVA3D]

2001-05-08 Thread Daniel Moscoso
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

Re: [JAVA3D]

2001-05-08 Thread Daniel Moscoso
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

Re: [JAVA3D] Viewing examples

2001-05-07 Thread Daniel Moscoso
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

[JAVA3D] 'Entering in Scene' behaviour of single objects from a 3ds model.

2001-05-07 Thread Daniel Moscoso
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

[JAVA3D] Solid Models

2001-05-02 Thread Daniel Moscoso
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

[JAVA3D] Automatic calculation of scale

2001-04-26 Thread Daniel Moscoso
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

Re: [JAVA3D] Not related question

2001-04-26 Thread Daniel Moscoso
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

Re: [JAVA3D] Applet parameters

2001-04-25 Thread Daniel Moscoso
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:

Re: [JAVA3D] Applet parameters

2001-04-24 Thread Daniel Moscoso
!! 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

[JAVA3D] Isometric Perspective

2001-04-23 Thread Daniel Moscoso
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

Re: [JAVA3D] Multiple Subviews in a Java3D applet

2001-04-23 Thread Daniel Moscoso
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

[JAVA3D] Applet parameters

2001-04-20 Thread Daniel Moscoso
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(

Re: [JAVA3D] Multiple Subviews in a Java3D applet

2001-04-17 Thread Daniel Moscoso
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

[JAVA3D] Multiple Subviews in a Java3D applet

2001-04-17 Thread Daniel Moscoso
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

[JAVA3D] Context Menus in a Java3D applet

2001-04-04 Thread Daniel Moscoso
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

Re: [JAVA3D] Rotating ColorCube on x-axis or z-axis....

2001-04-03 Thread Daniel Moscoso
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

Re: [JAVA3D] Centering a 3DS model in the Canvas3D

2001-04-03 Thread Daniel Moscoso
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

[JAVA3D] Centering a 3DS model in the Canvas3D

2001-04-03 Thread Daniel Moscoso
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

Re: [JAVA3D] Simple question: Passing parameters to an applet.

2001-03-26 Thread Daniel Moscoso
-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

[JAVA3D] Simple question: Passing parameters to an applet.

2001-03-26 Thread Daniel Moscoso
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

[JAVA3D] Changing attributes from a loaded OBJ / 3DS model

2001-03-20 Thread Daniel Moscoso
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

[JAVA3D] Link of VRML/X3D loaders

2001-03-15 Thread Daniel Moscoso
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

Re: [JAVA3D] Starfire 3DS Loader

2001-03-09 Thread Daniel Moscoso
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

Re: [JAVA3D] Java3D Applet

2001-03-08 Thread Daniel Moscoso
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

Re: [JAVA3D] Viewer direction

2001-01-30 Thread Daniel Moscoso
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

Re: [JAVA3D] Configuring java.policy for testing fileloaders in local from an applet.

2001-01-29 Thread Daniel Moscoso
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

Re: [JAVA3D] Configuring java.policy for testing fileloaders in local from an applet.

2001-01-26 Thread Daniel Moscoso
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

Re: [JAVA3D] Configuring java.policy for testing fileloaders in local from an applet.

2001-01-26 Thread Daniel Moscoso
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

Re: [JAVA3D] Configuring java.policy for testing fileloaders in local from an applet.

2001-01-25 Thread Daniel Moscoso
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

[JAVA3D] Configuring java.policy for testing fileloaders in local from an applet.

2001-01-24 Thread Daniel Moscoso
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

[JAVA3D] Generating objects with the union / intersection of another objects.

2001-01-18 Thread Daniel Moscoso
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

Re: [JAVA3D] AccessControlException trying to load a file from anApplet.

2001-01-18 Thread Daniel Moscoso
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

Re: [JAVA3D] AccessControlException trying to load a file from anApplet.

2001-01-16 Thread Daniel Moscoso
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

[JAVA3D] AccessControlException trying to load a file from an Applet.

2001-01-15 Thread Daniel Moscoso
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

Re: [JAVA3D] Generating a 3D object rotating a 2D shape

2001-01-10 Thread Daniel Moscoso
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

[JAVA3D] Generating a 3D object rotating a 2D shape

2001-01-09 Thread Daniel Moscoso
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 =

[JAVA3D] How to create reusable primitive classes from existing ones ?

2000-11-10 Thread Daniel Moscoso
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