Mrkebubun / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

o3dconverter fails to correctly create relative path #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try running o3dconverter on Windows on a .dae file with textures
2. Try loading the scene file in a browser from a webserver

What is the expected output? What do you see instead?
The loaded scene is the expected output. Instead I get an error saying that an 
unknown error has occurred.

What version of the product are you using? On what operating system?
Using version 20100503, Windows Vista, Firefox 4.0a3, and Google Sketchup as 
the scene creator.

What hardware are you using:  graphics card type?  motherboard type?
nvidia geforce 9600m
Please provide any additional information below.

The reason for this is that o3dConverter writes file path separators as "\\", 
but since the example is running on a server, the current filepath is a url 
that should use "/". In fact, manually changing all filepath separators in 
scene.json allows the file to load.

Original issue reported on code.google.com by ibwoo...@gmail.com on 3 Aug 2010 at 7:47