Notifications
Clear all

[Closed] render animation with region selected…please…urgent

 rsf

Hello.

Sorry for cross posting but this is very urgent :-S

Where’s a copy of the post in the 3dstudio forum:

“Hello.
I need to render just a small part of a view, arround a specific object, to fix an existing animation.
The problem is that I can only use “region selected” effectively in a single frame mode.
When rendering an interval it seams that the region is returned from the selected object but at the current position in the active viewport.
Anyone knows how to render “region selected” in an animation?
Being able to use backburner would be great also.
Any workarround? Any other method? Any scripts?
Thanks”

I trying to make a script to do it but don’t know if it is possible.
I’m using preRenderFrame callback but I still didn’t figure out if I can change the rendering region on each frame.
Can someone help? I’m really stressed about this one.
Thanks

5 Replies

– this is a simple example .

– if time is 1 to 100 , let use the render selected .
– active the camera view u want .
– then select what u want to render .

for i=1 to 100 do
(
at time i
(
render renderType:#selected
)

)

— if u want better scripts ,pls post again for i m busy now .

 rsf

Hello Lan.
Yes…thats the path I’m following now but it’s not working to well.
When using “#selected” it renders the whole scene…don’t know why…I have the object selected.
The problem is that #selected is no good fot me, I need #regionselected.
This rendertype seams to get the region coordinates from the viewport active frame and no the frame being rendered so…I have the viewport in frame 0 and that’s the region rendered on all frames.
How can I change the viewport active frame?
Nevertheless a callback would be much nicer and could be used with backburner.
Any sugestions? Please?
Thanks

im so sorry for i cant find a way to help u . the selected region maybe get by “get mouse position “? or get selection `s rectangle four pionts in view port ? and then give these points positions to render #regionSelected , i dont know how to do now .

 rsf

ok…found how to change current frame…its “[size=2]sliderTime” :-)[/size]
[size=2][/size]
[size=2]for f = 0 to 10 do (
sliderTime = f
render renderType:#regionselected
[size=1][size=2])
[/size][/size][/size]

 rsf

ok…found another thing…
If I use a prerenderframe callback to set the slidertime the renderer updates the region.
To use this with backburner I guess I just need a script to select the objects at startup.
The problem is that it render on top of the last rendered frame.
How can I clear the last rendered frame??
Thanks