Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (616)
Games in Android Showcase (173)
games submitted by our members
Games in WIP (659)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Art of Illusion compatibility with Xith3D  (Read 1260 times)
0 Members and 1 Guest are viewing this topic.
Offline ssstratton

Senior Newbie

7 years commercial java - still learning...

« Posted 2005-04-18 08:56:56 »

Very briefly - I have managed to get art of illusion models imported into xith3d - and wondered if anyone had any experience with some issues I am having:-

1. I'm using the new dawn obj loader - which seems to work fine, but the names of the objects don't seem to be transferred over. I was hoping to create multiple objects in a scene, then identify them and manipulate them (i.e make them appear and disappear) as need be. i.e. getName() returns empty.

2. I'm exporting the whole scene and generating an mtl file - but the rendered xith3d scene has some wierd artifacts that aren't visible in the aoi scene. I realise that there is a difference in the rendering - but wondered if there is a way to make aoi more closely represent the xith3d equivalent.

3. I was hoping to use some of the aoi texture and material generators - but it seems that really only images are supported. Does anyone know if anything else will work?  Sorry to be so vague on this...

 Andy Stratton
Offline kevglass

« JGO Spiffy Duke »

Medals: 272
Projects: 25
Exp: 18 years

Coder, Trainee Pixel Artist, Game Reviewer

« Reply #1 - Posted 2005-04-18 09:11:55 »

The generators in AOI don't get transferred into the mtl file (at least I don't remember seeing them in there). The names of the objects "should" get transferred if they're actually put into the .OBJ file.

The newdawn OBJ loader should come with source from what I can remember was pretty simple and light, you could also check it and change it Smiley


Offline hawkwind

Junior Devvie

Java games rock!

« Reply #2 - Posted 2005-04-18 22:10:44 »

i have mods to AOI that will save individual obj's as separate file.  Can't upload at the moment fer some reason will try again later and tell you where to find it.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ssstratton

Senior Newbie

7 years commercial java - still learning...

« Reply #3 - Posted 2005-04-19 06:32:28 »

Thanks for the offer of the individual file save. Does it do more than the standard single object export?  I've used that before - though I can't remember if the materials worked.

Offline hawkwind

Junior Devvie

Java games rock!

« Reply #4 - Posted 2005-04-19 23:06:42 »

Basically I have modified the obj exporter to generate N obj files for N objects.  One gotcha with AOI is when you duplicate an object it is given the same name (10 Cube 1's).  My solution was to generate sequentially numbered objects and an assoicated .ext file which contains the object name, location, bounds etc.  So opening boolean1.ext contains info related to the object Boolean 3, its bounds etc.

name: Boolean 3 bounds: Box: {-10.0, 10.0}   {-4.539179048177993, 5.460820951822006}   {-8.729053659903073, 11.270946340096929} coords:Vec3: -24.926546382539637, 3.4374913548318395, -24.12610571059229 rot 0.0 0.0 0.0

in the loc below is a zip ( containing my current (rough....rough...) source for the obj exporter and an Entity tool.  also a jar to stick in the AOI plugin  directory.

What this gives you is an additional obj exporter accessable from the export menu entry  (watch out there are two now, the original and mine,  use the first)

The entity tool is what makes this cooooll.  Under the tools menu is now an Entity entry.  Select an object and then select tool->entity and an entity object is added.  If you double click on this a Bout based dialog appears containing all of the obj specific flags I set in my game...mod as you see fit

I use this to say things like  "circle 2 is a light switch and is pickable and turns on PointLight 3, has comment 113, uses sound blah.wav etc"

A lot of the unique attributes for an object can be configured in this specific of course

When you export the scene you get N obj's, N .ext's and One Entity file containing all of the data. and a manifest file identifying the list of obj files.

Put in the jar, create a small scene, export it and look at whats produced.

A bit rushed at the moment so i can expand on this later.
Offline ssstratton

Senior Newbie

7 years commercial java - still learning...

« Reply #5 - Posted 2005-04-22 12:04:24 »

 Thanks for the obj export code - the attributes part looks really useful - but I haven't got that far yet!  I hope to be able to use it later...

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Coldstream24 (19 views)
2015-09-03 00:41:28

Andrew_3ds (31 views)
2015-09-01 19:08:10

afikri (20 views)
2015-08-31 09:30:22

afikri (27 views)
2015-08-31 09:30:07

afikri (15 views)
2015-08-31 09:27:24

afikri (17 views)
2015-08-31 09:26:40

Roquen (32 views)
2015-08-29 11:30:54

GamerC4 (41 views)
2015-08-22 20:38:50

GamerC4 (37 views)
2015-08-22 20:37:18

GamerC4 (43 views)
2015-08-22 20:37:01
HotSpot Options
by Roquen
2015-08-29 11:33:11

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!