Comments (16)
Nope, not yet. Collada files tend to be pretty big and every software exports them slightly differently. I usually prefer exporting to custom format. Like the blender exporter. But yeah, would be nice to have.
from three.js.
Sketchup->collada->blender->obj->3js works fine ..instructions inside the python object converter in the distribution - utils/exporters/convert_obj_threejs_slim.py
from three.js.
Sketchup->collada->blender->obj->3js works fine
It's also possible to export Blender -> Three.js directly, just for the moment only ascii format is supported and if you want to export multiple meshes as one object, you will need to merge them before (object->join).
Though I plan to add multiple-selection / scene format to Blender exporter soon.
from three.js.
Hey Alterdq!,
Thanks, we are using the somewhat longer model conversion chain because we want to produce both high and low poly versions of every model.
Just to introduce ourselves. Tulio and I are professors at the University of Southern Mississippi. Our research group is about 15 students in
Computer Science, Architecture, Art and Construction working on various projects to develop web-based Virtual Reality Applications for Simulation and Training.
We recently built a fairly large application in O3D but have been very disappointed with the performance of the final product and are looking to adopt three.js
which has the best performance of any webgl js library and has some really impressive examples.
One example we didn't see was shadow mapping? Any plans to produce an example? We would probably be willing to be willing to contribute some
getting started and pulled apart example wiki pages which we are working on anyway in exchange for a little nudge.
thanks
Andrew Strelzoff PhD
Associate Professor,
Assistant Director for Advanced Technology of USM Center for Logistics, Trade and Transportation, and
Director of Graduate Studies
School of Computing
University of Southern Mississippi
_DISCLAIMER_*************
- Note: Privileged/Confidential information may be contained in this message *
- and may be subject to legal privilege. Access to this e-mail by anyone other *
- than the intended is unauthorized. If you are not the intended recipient (or *
- responsible for delivery of the message to such person), you may not use, *
- copy, distribute or deliver to anyone this message (or any part of its contents ) *
- or take any action in reliance on it. The views, opinions, conclusions and other *
- information expressed in this electronic mail are not given or endorsed by The *
- University of Southern Mississippi unless otherwise indicated by an authorized *
- representative independent of this message. This e-mail may NOT be construed *
- as a proposal for work to be performed by Dr. Strelzoff, his students or research *
- group at The University of Southern Mississippi. All correspondence pertaining *
- to the development of research projects is of an informal and exploratory nature. *
_DISCLAIMER_*********
From: alteredq [[email protected]]
Sent: Monday, March 14, 2011 6:16 PM
To: Andrew Strelzoff
Subject: Re: [GitHub] COLLADA import? [mrdoob/three.js GH-63]
Sketchup->collada->blender->obj->3js works fine
It's also possible to export Blender -> Three.js directly, just for the moment only ascii format is supported and if you want to export multiple meshes as one object, you will need to merge them before (object->join).
Though I plan to add multiple-selection / scene format to Blender exporter soon.
Reply to this email directly or view it on GitHub:
#63 (comment)
from three.js.
One example we didn't see was shadow mapping? Any plans to produce an example?
There are plans for dynamic shadows. But it will take some time to get there.
If you just need baked static shadows, there is already support for lightmaps using second set of UVs (for the moment only FBX converter produces this).
If you would like to give shadow maps a try in meanwhile, the most painless way is probably to use RenderTarget
for rendering into FBO from point of view of light in a separate pass using MeshShaderMaterial
to get encoded depth map (MeshDepthMaterial
uses just single color component to look pretty but precision may not be enough).
Then in another render pass another MeshShaderMaterial
would take this RenderTarget
texture as parameter and render shadowed scene to the screen.
Structurally the most similar example to this should be depth-of-field one.
from three.js.
Hey Alteredq,
I have a couple of students working on facebook and youtube experiments with webgl who went nuts when they saw the three.js video material example. Their idea is to allow facebook users to create a 3.js scene with a video chosen from youtube which would then then appear in their facebook videos section.
Youtube doesn't officially allow scrapes off their videos so we would need to actually show the embedded youtube webpage on the 3.js material. Is this possible? Any examples we could have?
Andrew Strelzoff PhD
Associate Professor,
Assistant Director for Advanced Technology of USM Center for Logistics, Trade and Transportation, and
Director of Graduate Studies
School of Computing
University of Southern Mississippi
_DISCLAIMER_*************
- Note: Privileged/Confidential information may be contained in this message *
- and may be subject to legal privilege. Access to this e-mail by anyone other *
- than the intended is unauthorized. If you are not the intended recipient (or *
- responsible for delivery of the message to such person), you may not use, *
- copy, distribute or deliver to anyone this message (or any part of its contents ) *
- or take any action in reliance on it. The views, opinions, conclusions and other *
- information expressed in this electronic mail are not given or endorsed by The *
- University of Southern Mississippi unless otherwise indicated by an authorized *
- representative independent of this message. This e-mail may NOT be construed *
- as a proposal for work to be performed by Dr. Strelzoff, his students or research *
- group at The University of Southern Mississippi. All correspondence pertaining *
- to the development of research projects is of an informal and exploratory nature. *
_DISCLAIMER_*********
From: alteredq [[email protected]]
Sent: Monday, March 14, 2011 6:16 PM
To: Andrew Strelzoff
Subject: Re: [GitHub] COLLADA import? [mrdoob/three.js GH-63]
Sketchup->collada->blender->obj->3js works fine
It's also possible to export Blender -> Three.js directly, just for the moment only ascii format is supported and if you want to export multiple meshes as one object, you will need to merge them before (object->join).
Though I plan to add multiple-selection / scene format to Blender exporter soon.
Reply to this email directly or view it on GitHub:
#63 (comment)
from three.js.
@strelz Maybe you could reply with mails without signature and includes of old posts? GitHub makes big mess from this :(. For posting comments to issues the best is to use GitHub website directly.
Youtube doesn't officially allow scrapes off their videos so we would need to actually show the embedded youtube webpage on the 3.js material. Is this possible? Any examples we could have?
This can be tricky:
a) normal YouTube videos are Flash, there is I think also some experimental version of YouTube which uses HTML5 videos, so maybe these could be used
b) there is "same origin" security restriction for accessing content from canvas. In some other experiment, just to be able to manipulate 2d images (submitted by users as urls) in 2d canvas I had to proxy them through my server.
This may be problem for videos, you would need to pass them through your server. I don't know, you would need to try if WebGL could read videos located at other server (then the location of your HTML / JS).
from three.js.
Alteredq and three.js team,
- streaming to the video tag seems to be no problem - see this sample http://bigcat.cs.usm.edu/~strelz/cycle11_three/examples/webgl_streaming.html
- for youtube, the jquery media player 'jmedia' seems to be able to wrap up a youtube embed as a html5 video tag - see here - http://www.protofunc.com/jme/demos/youtube.html
I copied one student from my class and one from my research group who are both exploring video in webgl - I'll get them both to try it - poke poke
thanks for the advice
from three.js.
- streaming to the video tag seems to be no problem - see this sample http://bigcat.cs.usm.edu/~strelz/cycle11_three/examples/webgl_streaming.html
This is cool. Thanks for trying it out. This opens a lot of possible use cases.
I checked specs and it seems "same origin" problem comes only when you use readPixels
(to get data back to JavaScript layer):
http://www.khronos.org/registry/webgl/specs/latest/#4.2
from three.js.
Hmm... this is very interesting... :)
from three.js.
Mr D,
Hey thanks, We have to get replication of avatars, physics, and fancy terrain ported over from our o3d application and work a bit on basics of save and load and then we'll be ready for advanced ideas. The students are all fired up by the idea of making a facebook ap which gives the user a virtual world in which they can play preset videos for friends and visitors in a shared environment.
Andrew Strelzoff PhD
Associate Professor,
Assistant Director for Advanced Technology of USM Center for Logistics, Trade and Transportation, and
Director of Graduate Studies
School of Computing
University of Southern Mississippi
_DISCLAIMER_*************
- Note: Privileged/Confidential information may be contained in this message *
- and may be subject to legal privilege. Access to this e-mail by anyone other *
- than the intended is unauthorized. If you are not the intended recipient (or *
- responsible for delivery of the message to such person), you may not use, *
- copy, distribute or deliver to anyone this message (or any part of its contents ) *
- or take any action in reliance on it. The views, opinions, conclusions and other *
- information expressed in this electronic mail are not given or endorsed by The *
- University of Southern Mississippi unless otherwise indicated by an authorized *
- representative independent of this message. This e-mail may NOT be construed *
- as a proposal for work to be performed by Dr. Strelzoff, his students or research *
- group at The University of Southern Mississippi. All correspondence pertaining *
- to the development of research projects is of an informal and exploratory nature. *
_DISCLAIMER_*********
From: mrdoob [[email protected]]
Sent: Thursday, March 17, 2011 11:01 PM
To: Andrew Strelzoff
Subject: {Spam?} Re: [GitHub] COLLADA import? [mrdoob/three.js GH-63]
Hmm... this is very interesting... :)
Reply to this email directly or view it on GitHub:
#63 (comment)
from three.js.
strelz: Signature is a fail... :(
Maybe you're not seeing what's going on... take a look at this:
from three.js.
sorry, I'll try to remember to remove it when communicating with you guys - its a university requirement
from three.js.
Try not to reply by email then :)
from three.js.
For collada i use Scenjs. Its very god and can handel the collada on the server or client.
the collada is converted to a JSON serialised format, so it can be "run" on the client.
from three.js.
r44 finally has some collada support :)
from three.js.
Related Issues (20)
- DoubleSided transmission broken with `WEBGL_multisampled_render_to_texture` (Oculus Browser) HOT 1
- GLTFExporter duplicates mesh vertices (from 6k to 2millions) HOT 3
- EXRLoader: Add support for `B44_COMPRESSION`. HOT 1
- Object3D.copy documentation missing description HOT 3
- STLExporter export three times the amount of indices, positions and normals resulting to doubling the filesize HOT 1
- FBX mesh breakage morphing MTIs HOT 1
- GLTFLoader addon is missing (import from examples?!) HOT 1
- Distortion of the model due to being too far from the origin HOT 2
- MapControls requires enableRotate=false on IOS HOT 1
- wrong z order when rendering material with alpha mode "BLEND" HOT 7
- It appears that the resources associated with DRACOLoader may not be completely released, leading to memory consumption issues HOT 4
- I wish an example for the outputStruct node HOT 3
- Adding postprocessing support to the three. js editor HOT 1
- WebGLRenderer.setSize cannot set properties of undefined (setting 'width') HOT 2
- Enhance target type for SpotLight and DirectionalLight HOT 1
- Build a grid through custom coordinates HOT 1
- `.equals` in class `Spherical` HOT 6
- FBXLoader loads default Unreal model with wrong rotation HOT 4
- Editor can't import glTF with .ktx2 textures HOT 1
- MRT needs a filter if there are several objects with different shader counts in the scene HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.js.