360 Camera
-
Does anyone have a script that can rotate the camera around an object for exporting a series of images?
I wanted to see what type of results could be achieved with this little bit of javascript to create "animations" on a web page. The animations on the page are a series of still images.
And actually, it could be used for a shade study animation being discussed here.
-
Wouldn't be that tough to write, but I don't have one.
Wanna do a community project?
-
Maybe two options?
Around an object/selection or Out from the center of an object/selection?
-
-
@jclements said:
Maybe two options?
Around an object/selection or Out from the center of an object/selection?
Toward the object.
I was thinking... group everything you want to view and use the BoundingBox center for the camera target and center of rotation.
If you look at the page, the script can have 1 - 7 camera levels (heights), and any number of positions around each circular level.
-
@gata said:
Yes, I've already looked at it. What I want to do is a good candidate for a "been there, done that" script.
-
@unknownuser said:
Wouldn't be that tough to write, but I don't have one.
Wanna do a community project?
Sounds like fun!
# 3dnp.rb # require "sketchup.rb"
Ok, pick it up from there. All kidding aside, this is a great idea Todd! It would be a great learning experience for anyone who would like to participate, or just follow along.
If there's enough interest, I suggest starting a new topic for the project.
-
Not sure I can contribute much, but I sure like to follow the development.
-
I'm with Pixero on this one (I am totally script challenged)
But am interested to learn how a script comes together (said in A-team theme)
-
Jim,
Why not use the flightpath.rb? You can draw a circle around the object you want to take the animation of and create the camera positions on it by using the model extent tool. Afterwards you can export the animation as standalone images.
Nice effect with that javascript, too!
I have a panorama (pure photo though) rotated by a javascript here, too (it wasn't me who wrote the script of course - I just edited it to my needs). -
-
Those spinning tables made me dizzy!
-
later edit: quick test using wikii script + my Xporter and another javascript
project space created on http://code.google.com/p/su2web/ - feel free to join
-
@unknownuser said:
later edit: quick test using wikii script + my Xporter and another javascript
project space created on http://code.google.com/p/su2web/ - feel free to join
Looks better already! How about a larger image with shadows?
-
here is another try with a car (not that smooth as it has only 10 images - 205kb)
-
... and shadow test (needs a limit so that shadows doesn't jump
-
The car looks quite good. I supose the model is bigger as well. Cool.
-
@jclements said:
Maybe two options?
Around an object/selection or Out from the center of an object/selection?
That's another good idea! I can't think of any reason a panoramic animation wouldn't work using the same technique (basically, a digital flip-book.)
-
The javascript ptviewer enables viewing both of Object VR and panoramic VR. Didier wrote a script back in Dec'06 that exports images around an object(vrobj_exporter.rb). With the right HTML template to give instructions to PTViewer.jar, the images created from TBD's Xporter, Didier's VObj exporter, or my cubicpanoout.rb.
I have already created the template for use with cubicpanoout, it's just a matter of finding the time to alter the script to use ftools to copy ptviewer.jar and the template into the same folder as the images are exported. It looks like Google may beat me to it, since they already have a slick interface and everything (from Web Exporter).
-wehby
-
This would be a great script as it is something like I asked for but I wanted the camera to rotate in place 360 degrees, but I will take this one just as well. PLEASE develop this one.
Scott
Advertisement