17 posts • Page 1 of 1
i have got a problem. When I like to make a video of my animation with SketchyReplay, the view is allways the same. I would like to have the Scenes of SketchUp (View>animation>scenes) as the point of where I can watch my animation.
I am trying to change the sketchyreplay.rb, but I don't come along with it. Is here anyone who know how to change the script?
My idea is following:
First the animation changes from frame to frame with the command "nextFrame". At this moment the view shoult change, too. It's the second step. I think it's the class "page", which describes the view of the scenes I mentioned above. How can I add this in sketchyreplay.rb? The third steo is to save the view as a file.
My problem is step two. Who can help me?
Otherwise, does anyone of you have a PlugIn which can make pictures of the animation using the scenes? Twilight - the rendering software - is much too slow. The animation needed be rendered. Just snapshots of the animation will do.
Hope, anyone can help me.
If I understand this correctly you want the camera/view to move with the recorded animation?
So the page transition is not strictly necessary?
I did make a small modification to SketchyReplay that records the camera along with the model, and you can then go to Plugins -> SketchyReplay -> Export animation, to export frames as models or images.
I'll upload it if that is the sort of thing you are looking for.
I think it's just the thing I was trying to talk about.
But what do you mean with page transition? How did you make the transition? Did you use the camera of the scenes?
I'll be gladfull if you could send me your "sketchyreplay.rb". You can also send it by email. Therefor I would give you my adress via pm.
Attached the files, but here are a couple of things to know:
- the files are from SketchyPhysics 3.2, if you don't have that version get it first
- this modification will always record the camera, so if you want to go back you need the old files
- backup your SketchyPhysics3 folder, so if things don't work you can go back
If you got all that then extract this into your Sketchup/Plugins/SketchyPhysics3/ folder.
Please, register (free) to access all the attachments on the forums.
Good job Mr.K. But would it be possible to modify the sketchyreplay function so that it changes the camera position according to sketchup scenes. So you would be able to set some scenes and than export your recorded animation with the camera moving from scene to scene. and also to be able to specify how many sp frames it needs for each scene transition. and if you already modified sp files and you know whats what maybe you would know if its possible to make the joints less rubber-like?
Actually made a small script you can use for that too:
Copy the yellow box into your models and it should do the trick.
The flexing joints are how the underlying Newton physics engine works, I don't think it can actually be fixed with scripts, so the only way to really fix this is making the objects bigger to increase the connection strength
I've tried that yellow box before and it doesnt work with sketcghyreplay. it only moves the czmera while animation is being played. And with the joints i really don't know. but cphilips mentioned somewhere before that there is a value in that pphysics engine for joint strenght and that it isnt set to maximum. This thing is really anoying because adding weight only helps a tiny bit, the stretching remains almost the same.
The idea is to record while SP is running the scene transition script and then using that animation for exports and such.
Edit: seems I was a bit hasty, for some reason the recording will only replay minor parts of the camera move when combined with scene transition, not sure what's going on there
I'm not familiar with the details of the physics engine settings, I might dig into that someday.
The added weight usually needs to go overboard(bigger is better), and make sure all joints are as close to the connected object as possible
well yes. but still theres no way you can make things like double wishbone suspension because if you add weight the joints will still stretch a bit so the wheel will not stay straight upright, and the additional weight would make the matter even worse. I know you can add 64 other joints and objects to make it work but it only complicates the whole thing and still is far from perfect. And you see, the thing i do most with SP is tanks like this: http://www.youtube.com/user/shareck#p/a/u/0/9HQ_BjE8Lhk and while in this example it seems to work OK, in most cases the stretching of joints makes the tracks behave like they're made of rubber and thus to make the tank turn is a very tricky task. I figured out some walkarounds to make things work but if somebody could make them bloody joints stiffer i would be more than happy.
I know the joint flexing peril, and I wanted a stiffening feature for a long time but I just don't know how to do that.
Did figure out what's wrong with page transition + sketchy replay tho, sketchyreplay has an optimization feature where data will stop recording if no object moves, so if yo want it to record nonstop you need to add a simple block on a motor or something that will just move all the time.
Ok. Thats grand. But still i would like to be able to use different workflow. Let me explain this. It would be ideal if i could record animation with sketchyreplay (so that i drive a car around a track for example). Than i would play the animation setting up scenes every x number of frames so that the camera follows the car. Than i would export the aanimation using sketchyreplay export function and what i would like to achieve is the animation with physics objects and moving camera.
Ah I see, well I got to tell you that would take alot of work.
Essentially you would need to rewrite the entire skechyreplay script, maybe someday I'll get into that but for now it's a bit too much for my schedule.
For now I suggest using that page transition script, or the numerous object following scripts while you record the animation.
just want to share a video showing the sketchyreplay camera recording in action.
in this video, first thing you see is a twilight render that uses a number of scenes to animate the camera, next is video with a camera set to follow a trolley and track the tank, and last is a camera attached to the tank.
This is all thanks to you Mr. K.
This is cool stuff! I stumbled across this thread looking for a similar thing. I made a domino setup and I was hoping that I could set the scene transitions to occur at certain times to focus on various parts of the contraption. I'm guessing I would have to set this by the number of frames.
Anyway, I tried these files, set up some scene transitions, I figured even if the timing was wrong, it would do both. Anyway, it didn't work. I'm using SP3.2, and copied the scripts into the SP folder. Is there something else I am supposed to do?
Hey, thanks Mr.K! I downloaded yellow box, made few scenes and replaced that script, and sketchy animation with controllable camera works! I exported frames as models, because I want to render them. Now I have around 700 .skp files(11 gigs) and don't know how to import them in indigo automatically, only manually one by one. I didn't have problem with static camera sketchy animations where it creates series of .igi files which I can import into indigo all at once and let indigo render for few hours. So my question is how to do it here, how to make 700 indigo scenes out of these .skp files? or any other ideas maybe..
I am not an experienced sketchup user, so sorry if it's a dumb question
17 posts • Page 1 of 1