|
From: Gal N. <gal...@gm...> - 2007-07-12 20:52:46
|
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. |
|
From: Trevor F. S. <tr...@tr...> - 2007-07-12 23:05:54
|
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 > |
|
From: Gal N. <gal...@gm...> - 2007-07-13 16:19:15
|
OK, got the bugger....
It seems that when sending the gif zipped the client throws an exception. For
now I commented out the lines and peace is back :)
//if ("gzip".equals(request.getHeader("Accept-encoding"))) {
// response.setHeader("Content-encoding", "gzip");
// StreamUtils.write(data, new
GZIPOutputStream(response.getOutputStream()));
//} else {
StreamUtils.write(data, response.getOutputStream());
//}
> -----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
|
|
From: Trevor F. S. <tr...@tr...> - 2007-07-13 16:46:26
|
You don't want to disable gzip compression completely, because obj
models are quite large if they're not compressed so load times are
slow and bandwidth charges are increased.
The default landscape model uses the Grid.gif as a texture. Did you
upload that to the template or perhaps it's trying to gzip nothing?
On OS X and linux we don't get that far when a template resource
doesn't exist, but perhaps there's something different about XP?
On 7/13/07, Gal Nitzan <gal...@gm...> wrote:
> OK, got the bugger....
>
> It seems that when sending the gif zipped the client throws an exception. For
> now I commented out the lines and peace is back :)
>
> //if ("gzip".equals(request.getHeader("Accept-encoding"))) {
> // response.setHeader("Content-encoding", "gzip");
> // StreamUtils.write(data, new
> GZIPOutputStream(response.getOutputStream()));
> //} else {
> StreamUtils.write(data, response.getOutputStream());
> //}
>
> > -----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
>
|
|
From: Gal N. <gal...@gm...> - 2007-07-13 16:28:46
|
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 |
|
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 > |
|
From: Gal N. <gal...@gm...> - 2007-07-13 18:14:07
|
Hi Trevor, Sorry... false alarm. I was accessing my local ip 192.168 instead of the domain name. I still haven't figure this out yet :( . Any way, all is working fine. Thanks, Gal. > -----Original Message----- > From: ogo...@li... [mailto:ogoglio- > dev...@li...] On Behalf Of Trevor F. Smith > Sent: Friday, July 13, 2007 7:49 PM > To: ogo...@li... > Subject: Re: [Ogoglio-developers] rendering problem? > > 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:6 > 57) > > at > com.ogoglio.viewer.j3d.J3DRenderer.access$700(J3DRenderer.java:71) > > at > > > com.ogoglio.viewer.j3d.J3DRenderer$SpaceListener.userAdded(J3DRenderer.jav > a: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 > > > > ------------------------------------------------------------------------- > 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 |