thedworak / dfg_3dviewer

2 stars 2 forks source link

Bug: conversion to gltf didn't work #40

Closed igorbajena closed 2 months ago

igorbajena commented 1 year ago

Yesterday I've tried to upload one of the upgraded models of synagogues from students, but it didn't work properly. I've got message, that gltf conversion didn't happen and dae format will be loaded, but I have no textutes: image https://3d-repository.hs-mainz.de/wisski/navigate/2180/view?wisski_bundle=bd3d7baa74856d141bcff7b4193fa128

The same problem was for rar file with obj package. Despite of that I couldn't upload ZIP file. Processing was stopped in the middle without any notification, file was not uploaded to the server. image image https://3d-repository.hs-mainz.de/wisski/navigate/2185/view?wisski_bundle=bd3d7baa74856d141bcff7b4193fa128 Sy_Olkieniki_Model3D_IgB.zip

thedworak commented 1 year ago

This FBX file was uploaded without textures so it will only have default material colors image

thedworak commented 1 year ago

Someone deleted PHP zip extension, so I had to install it again: https://3d-repository.hs-mainz.de/wisski/navigate/2185/view?wisski_bundle=bd3d7baa74856d141bcff7b4193fa128

ClemensBeck commented 1 year ago

Many thanks, now it's working again!

igorbajena commented 1 year ago

Problem is back for RAR files with OBJ inside.

Here is the example.: https://3d-repository.hs-mainz.de/wisski/navigate/2433/view?wisski_bundle=bd3d7baa74856d141bcff7b4193fa128

image

thedworak commented 1 year ago

As I mentioned many times you need to upload files that naming of textures are done in proper way. It won't guess which texture should be loaded if there would be wrong names, containing forbidden chars or non-existent paths. Have a look at mtl file: map_Ka STGER800_SP_Textures/Stonework - 07 -opt.jpg

ClemensBeck commented 1 year ago

@igorbajena Will add a line to the guidelines

ClemensBeck commented 2 months ago

@igorbajena Since I'm migrating all the isuses to the new github repo. Is this isue still open?

igorbajena commented 2 months ago

If we are talking just about adding the part about textures to the guidelines - yes, it's done. But I have concerns that the issue will return. People often do not read warnings; they want things to work out of the box. I believe that we should invent a way how to deal with it when someone uploads data which are not correctly prepared.

ClemensBeck commented 2 months ago

@igorbajena All right. I will open a new issue in the new repo: https://github.com/slub/dlf-3d-viewers/issues/22