|
From: Trevor F. S. <tr...@tr...> - 2007-07-13 16:48:59
|
Hey, Gal. Please put a println in J3DRenderer.SpaceListener.userAdded(...) to see if you're getting the same user added more than once. Thanks, - Trevor On 7/13/07, Gal Nitzan <gal...@gm...> wrote: > One more issue :( > > This exception shows up on the plugin console: > > Adding Default Land > Exception in thread "Thread-37" javax.media.j3d.MultipleParentException: > Group.addChild: child already has a parent > at javax.media.j3d.GroupRetained.checkValidChild(GroupRetained.java:452) > at javax.media.j3d.GroupRetained.addChild(GroupRetained.java:461) > at javax.media.j3d.Group.addChild(Group.java:271) > at > com.ogoglio.viewer.j3d.J3DUserRenderable.setCamera(J3DUserRenderable.java:206) > at > com.ogoglio.viewer.j3d.J3DRenderer.createUserRenderable(J3DRenderer.java:657) > at com.ogoglio.viewer.j3d.J3DRenderer.access$700(J3DRenderer.java:71) > at > com.ogoglio.viewer.j3d.J3DRenderer$SpaceListener.userAdded(J3DRenderer.java:394) > at com.ogoglio.client.model.Space.addListener(Space.java:126) > at com.ogoglio.viewer.j3d.J3DRenderer$1.run(J3DRenderer.java:236) > > > > > -----Original Message----- > > From: ogo...@li... [mailto:ogoglio- > > dev...@li...] On Behalf Of Trevor F. Smith > > Sent: Friday, July 13, 2007 2:05 AM > > To: ogo...@li... > > Subject: Re: [Ogoglio-developers] rendering problem? > > > > Hey, Gal. > > > > The question mark model is used when the client either can't get the > > obj data or can't parse the data it gets. You can manually check that > > the obj data is being served by opening the following URL in firefox: > > > > http://<host and port>/og/account/<username>/template/<template > > id>/geometry/data/0 > > > > For example: > > http://example.com:8080/og/account/library/template/1/geometry/data/0 > > > > If you get a 404, then the server can't find the template data, either > > because it wasn't uploaded or it wasn't stored. Double check that the > > obj file that you uploaded is in your media directory in a file named > > templateGeometry-<template id>-0, for example templateGeometry-1-0 for > > template 1. > > > > If you don't get a 404 and you do get the obj data when you hit the > > URL, then I'm not sure what's going on. Try debugging (or adding some > > println's to) the SpaceClient to check that it's getting the data. > > > > For what it's worth, using the current trunk I just created a template > > and loaded defaultLand.obj and defaultLand.mtl into a template and > > they rendered in a space. So, it could be a local change you've made. > > Double check that in the template editor UI you're uploading the obj > > into the "lod 0 .obj" field and the mtl file into the "resource" > > field. > > > > - Trevor > > > > On 7/12/07, Gal Nitzan <gal...@gm...> wrote: > > > Hi Trevor, > > > > > > I seem to have some problem with rendering. > > > > > > I create a space and add the "Default Land".obj and mtl. > > > > > > When I enter the space I get a question mark. > > > > > > Any idea what I'm doing wrong? > > > > > > Thanks, > > > > > > Gal. > > > > > > > > > > > > ------------------------------------------------------------------------ > > - > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Ogoglio-developers mailing list > > > Ogo...@li... > > > https://lists.sourceforge.net/lists/listinfo/ogoglio-developers > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Ogoglio-developers mailing list > > Ogo...@li... > > https://lists.sourceforge.net/lists/listinfo/ogoglio-developers > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Ogoglio-developers mailing list > Ogo...@li... > https://lists.sourceforge.net/lists/listinfo/ogoglio-developers > |