|
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 > |