How to choose initial view for a imported collada file?

I'm trying to put an 3d widget in a project using a model from Google Sketchup, exported in .dae format (collada).

The widget works fine, but my problem is that the initial view when I open the book on iPad is very different from that I used, when exporting from Sketchup. Example:

I want to shown a 3d animation for a motherboard, and I want the animation, as seen by the reader, starts in a default position, let's say a top view, but the animation is starting with the back of the motherboard.


Sorry about my english.


André Rosso

Brazil.

MacBook Pro, Mac OS X (10.7.2)

Posted on Jan 30, 2012 4:26 PM

Reply
7 replies

Jun 26, 2012 3:54 AM in response to AndreRosso

Hi André


I'm having the same issue. This issue is quite well documented, but there appears to be no real fix for it yet. The problem appears to be two differing elements.


1) The 'camera' tool that is used in Sketchup does not export to the collada file,


2) iBook Author apparently has a non-standard way of handling the Axis - the vertical Z up axis is all wrong.


Apple's suport page http://support.apple.com/kb/HT5093 doesn't really help at all.


I have tried changing the axis in the Sketchup file, but that has no effect on the exported .dae file. You can rotate the finished model in Sketch up (keeping the axis as is) but I have yet to hit on a 'miracle' number that sets the view as the default view in Sketchup.


Apparently, cameras can be set in other (much more expensive) 3D modelling software such as Maya, etc, but these packages are much more difficult to learn.


I will post back here with any progress I make on it.

Jun 26, 2012 4:43 AM in response to Mac_fool

Hi again André.


Not got a perfect solution by a long shot, but I'll share what I've done with you.


1) Open Sketchup and 'save as', so you don't muck up your original.

2) Rotate your model 180º on the horizonal plane.

3) Rotate the model 90º clockwise along the green axis.

4) you model should now be standing with it's bottom facing your default view, with it's 'front' facing down.

5) export as .DAE.


Like I say, it's certainly not perfect, but it's much closer than we were. Hope that helps.


Unless Apple put extra work into iBook Author that would involve setting the 'camera' in iBooks Author ( very unlikely), or Google updating Sketchup specifically for .dae for iBook (also unlikely), the best chance for a solution is a very clever person writing a 3rd party plug-in for Sketchup. That person isn't me, I'm afraid.

Jan 10, 2013 1:15 AM in response to stowler

Good one Stowler.


Unfortunately Apple arent interested in fixing this – its not really their issue to fix. I have actually taken a largher step for some 3D work and teken to using Blender.


Its a much bigger program, with a blisteringly high learning curve, but its free, more powerful, and the cameras work. Used it to create a 3D animation at the beginning of an iBook demo. Pretty cool stuff for a typesetter.

Feb 11, 2013 8:51 AM in response to Kay Pictures

Hey Iain.


I remember having a bunch of issues in Blender regarding the use of an image-mapped sky dome, that it wouldn't render at all. In the end I used a texture instead. Unfortunately my only Blender experience (other than tutorials) was for producing an intro movie, not a collada .dae.


In all honesty, the best place to get a resolution to this is the blender.artists forum. Most of the action happens in the States, so an answer can take a while, but they did give me some great pointers on making camera paths, etc.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to choose initial view for a imported collada file?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.