vishalchunne / blender-webgl-exporter

Automatically exported from code.google.com/p/blender-webgl-exporter
0 stars 0 forks source link

Doesn't work in MacOS #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download WebGLExport.py
2. Drop it in /Applications/blender.app/Contents/MacOS/2.57/scripts/
3. Start Blender, go to File->Export

What is the expected output? What do you see instead?
I expected to see the WebGL exporter. I did not find it in the File->Export 
menu.

What version of the product are you using? On what operating system?
Blender 2.57 on MacOS 10.6.7.

Please provide any additional information below.
The path on the wiki does not exist on my system. The path in the wiki says 
/Applications/blender/blender.app/Contents/MacOS/.blender/scripts/. I found the 
alternate path by searching my hard disk and also by noticing thomas's comment 
in the wiki.

Original issue reported on code.google.com by sloi...@gmail.com on 14 May 2011 at 11:43

GoogleCodeExporter commented 9 years ago
The "WebGLExport.py" file is only for older Blender, 2.49 or earlier.

For Blender 2.5x and above, use "io_export_webgl.py" from the source/trunk 
folder here:

http://code.google.com/p/blender-webgl-exporter/source/browse/#svn%2Ftrunk

(But see my comments in Issue 14 as well, there are more problems...)

Original comment by elm19...@gmail.com on 16 May 2011 at 6:29

GoogleCodeExporter commented 9 years ago
As comment 1 this is not self-explanatory:

[Linux]

Step 1:
For newer Blender versions (2.5x+) you need to copy the file 
"io_export_webgl.py" mentioned in comment 1 to directory:

blender-2.57b-linux-glibc27-x86_64/2.57/scripts/addons/

Step 2:
Start Blender

Step 3:
Goto Blender menu "File" -> "User Preferences..." -> Tab "Add-Ons"
Make sure having "All" selected in left part of the opening window.
Scroll down until you see "Import-Export: WebGL Native formats (Javascript or 
JSON)"
-> Check the box at the end of this line
Close the preferences-window.

Now the new export options are available in Blender menu by accessing "File" -> 
"Export" as
"WebGL (.js)"
and
"WebGL JSON (.json)".

Original comment by badminto...@googlemail.com on 1 Jun 2011 at 2:28