I haven't tried it yet but that looks really useful. David should have
posted this on the newsgroup as soon as he wrote it. I remember he
said something about a problem flooding the undo buffer. I hope those
commands still work for the new VFB.

On Jan 20, 4:36 pm, damien_alomar <[email protected]> wrote:
> Through a scripting component, it is possible to manually bake the
> geometry (add it to the document) and render it.  However, you've got
> to also delete the object after you're done with it.  I used this on a
> project not too long ago.  Here's the base code that David supplied me
> with.  It will most likely need some modification to do what you're
> looking for, but at least its a starting point...throw this into a VB
> component and name the variables accordingly to try out
>
>     Dim obj As IRhinoBrepObject = doc.AddBrepObject(x)
>     doc.Regen()
>
>     Dim filename As String = "C:\GH_Animation\frame" & Chr(34) & y &
> Chr(34) & ".bmp"
>
>     app.RunScript("-_Render")
>     app.RunScript("-_SaveRenderWindowAs "& Chr(34) & filename & Chr
> (34) )
>     app.RunScript("-_CloseRenderWindow")
>
>     doc.DeleteObject(New MRhinoObjRef(obj), True, True)
>
> hth
> Damien
>
> On Jan 20, 10:20 am, dexter <[email protected]> wrote:
>
> > didnt knew that you can adjust the antialiasing in viewport.
> > thanks - ot makes it slightly better...
>
>

Reply via email to