Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6699405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:41:29+00:00 2026-05-26T06:41:29+00:00

Motive I’m trying to create a small demo application using WebGL. I chose to

  • 0

Motive
I’m trying to create a small demo application using WebGL. I chose to use SceneJS, because it seemed an easy framework and would more than suffice for this purpose.

I have downloaded a couple of .blend models (Amy Rose, amongst others) and exported them as a Collada (.dae) file using Blender. Then I used scenejs-pycollada to convert them to a json model.

I just spent a couple of hours getting the scenejs-pycollada convertor to work. Apparently getting those Python dependencies to work in Windows isn’t that easy if you’ve never used Python before. 😉

Problem
But now I’m stuck (again). My problem is that the models don’t have any textures or materials.

I used the Seymour Plane Example of SceneJS. The model I converted is hardly visible. It is black and doesn’t seem to respond to the lighting in the scene. If I load the plane and the model together, I can see the model is loaded, because its arms and legs are sticking out of the plane.

Now I followed a couple of tutorials that would let me export the texture as a PNG image. I then modified the texture file name in the JSON model to match the file name, but it doesn’t help.

So I hope someone can help me to find a way to export Blender models (or other common 3D models) to the JSON format used by SceneJS, including the textures.

Any other method of loading models in SceneJS will do too, as long as it works.

If one ‘s got a link to free downloads of body/figure JSON models, that would help for now, but I rather learn how this works. 🙂

I’m using

  • Windows 7 Home Premium 64bit
  • Python 2.7 (Windows 32bit)
    I chose the 32 bit version, because of seemingly better support for libraries, and more available installers. At first I mixed up 32 and 64 bit and it caused me trouble, but now everything seems to work (except for the textures, that is).
  • Blender 2.59
  • SceneJS 0.8.0

My workflow
In Blender I export the models to Collada (*.dae) files, and then convert them to Raw JSON using scenejs-pycollada. This gives me a JSON file with two objects in it. The first seems to be the scene, the second the model. I keep the second and put it in a Javascript variable that is used in the code of the SceneJS example. The model ends with the properties , "type": "library", "parent": "Scene" which I need to remove from the code to make it load at all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:41:29+00:00Added an answer on May 26, 2026 at 6:41 am

    I’m actually the author of scenejs-pycollada. Let me see if I can help you 🙂

    I see you’re using version 0.8 of SceneJS… Things have been rather in flux, so it might actually easiest to pull the 2.0 branch of SceneJS from github and scenejs-pycollada from my personal repo. I was basically targeting SceneJS 0.9 for the first release of scenejs-pycollada, but that version never got officially released. Also, in the long run you won’t have to rewrite everything if you just switch over now…

    The problematic windows compile is also a big thorn, I really wish the numpy devs would fix this up for you windows folk. Once SceneJS 2.0 is released I’ll release an official version of scenejs-pycollada that comes packaged with all the necessary dependencies for windows.

    So, feel free to comment on this answer or update your question. I’ll try to keep an eye on it.

    P.S. Alternatively, if you’re really frustrated I actually have a second blender exporter at https://github.com/rehno-lindeque/Blender-WebGL-exporter, but I don’t recommend using this one – it’s very outdated. The only other scenejs collada exporter was deprecated a long time ago.

    P.P.S. There’s also and example and some test models in scenejs-pycollada itself. If you just want a quick model to play with, check out https://github.com/rehno-lindeque/scenejs-pycollada/tree/master/example although admittedly it’s not the prettiest model ever.

    P.P.P.S. Actually one of the reasons why the Amy Rose model wasn’t working well for you is because scenejs-pycollada didn’t support multiple materials yet. I’m quickly adding some support for this tonight.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I create a table using PHP from a database, meaning the size of the
My motive is to get the hosting provider of a domain name using php.
I was wondering what is the design motive behind extension methods in C#
I am beginner to java and was trying out this code puzzle from the
I have never designed a database/data-model/schema from scratch, especially for a web-application. In some
I'm trying to stop a submit form with Javascript/jQuery, with a: $('form#checkRepair').submit(function() { return
I want to have something like MOTIVE { GET_PLAYER, GET_FLAG } . And in
I have a navigation-based application with 2 UIViewControllers (controller-2 is pushed onto controller-1 when
I have an application that I am developing for the iPhone. What it does
i wrote some html code and want to edit its view using the css

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.