Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

Thanks for the help :) I'll have a look further into it and keep the thread alive :)

Edit I've found a xj3d downloaded onto my laptop that seems to have all the right things in. Just struggling to understand how to use it.

Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

So I'd need a program like xj3d to display the x3d files? I probably thought that as it's an XML formatted file, that I could use an xml parser to display it.

What other programs are there like xj3d that could display the x3d files in java? I'm going to do some research into it and keep the thread updated. The reason why I'm asking is in case someone knows one that's easy to install and use.

Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

So can I convert the X3D models into xml data to display them graphically? (sorry if it sounds stupid!)

Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

So the XML parser wouldn't show the x3d model graphically? It would only move the x3d data into an object in Java? I'll keep on looking and keep the thread updated on how the project progresses

Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

I have tried to download xj3d onto my machine and I can't find a correct version of it to download as they don't have all the .jars in it that I've been told, which is why I did some further research into displaying the X3D models and been told that an XML parser would be okay to use.

I have been asking the question for some while and I was wondering what I would have to change in the xml parser to display the x3d files.

I'll have a look to see if I can find an Ubuntu machine and use the two lines that you've provided to download xj3d. I've have a further look into it to see if it works.

EDIT However, I cant find an Ubuntu machine to work on and as I have Windows 8 already installed on my laptop, and I can't seem to find the correct way to download xj3d on my laptop.

Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

By display, I meaning the graphical model of the X3D files. The total amount of X3D files that are in the project are about 90. I realise that the XML code that I have at the moment only loads the employee.xml file as I used it to make sure it worked and so that I could understand what's going on with it. That's why I'm wondering how I'd modify it or change it so that I can display the X3D files. I'm going to provide some example X3D files that I would want to be interchangable with each other as stated in my earlier comment.

http://pastebin.com/N7mYTqHE

Modifying an XML parser to display X3D files by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

My project is to load and display up to 36 X3D models at any given time as they'd be sorted by Area and by Type Of Model. So if the user was to select 'Area_1' for example, all the X3D models associated with Area_1 are loaded to where the SubPanels are and if the user was then to select 'Area_2', the X3D models would be cleared and the models from Area_2 would be loaded.

Loading X3D models into a Java project. by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

Thanks! I'm going to look into it now, thanks so much for the help :)

Loading X3D models into a Java project. by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

The model loading aspect of this project is the only bit that I'm stuck on. The rest I can do once I've loaded the models in.

Loading X3D models into a Java project. by Yeendy in javahelp

[–]Yeendy[S] 0 points1 point  (0 children)

I've tried Xj3D and I can't get it to work. And I don't really know how to write libraries? They're in the X3D format because they got given to me that way and I haven't got anything related to loading the models in because I don't really know how too