[Bf-committers] opengl rendering

Ton Roosendaal ton at blender.org
Tue Oct 4 23:39:23 CEST 2005


Hi,

Thanks, although this might seem to work, it might not be the way to do  
it. No time for it now... i should have to check the full pipeline to  
be sure.

What Toni actually could have asked is OpenGL render without a  
window... thats ghost level stuff.

-Ton-


On 2 Oct, 2005, at 18:01, Shaul Kedem wrote:

> Ok,
>   I've been talking to eyecandy and he asked if the ogl render using  
> the 3d view or the camera view (as in regular internal blender);  
> checking this showed that the render is of the 3d view, always,  
> meaning it is not rendered "as if" it is blender internal.
>
>   So, the issues are (by order of importance):
>   1. ogl render does not render from camera view point
>   2. sequence preview fails
>   
>
>  also, batch rendering does not work, but it's not meant to work with  
> ogl,
>  Shaul
>
> On 10/1/05, malefico andauer <the3d_hut at yahoo.com.ar> wrote:
>> thank you guys ! (currently I'm stuck on elbeem
>> compilation)
>>
>> Best regards
>>
>> malefico
>>
>>  --- Shaul Kedem < shaul.kedem at gmail.com> escribió:
>>
>> > Ok.. sirdude found the problem with the sequencer,
>> > so now there is a
>> > sequencer open gl as well,
>> >
>> > Try it :)
>> >
>> > *please note that the sequence preview doesn't work
>> > yet with opengl*
>> >
>> > Shaul
>> >
>> > On 9/30/05, Shaul Kedem <shaul.kedem at gmail.com>
>> > wrote:
>> > >
>> > > sirdude and myself made this patch, currently it
>> > fails with sequences, so
>> > > don't try it, but it looks like it do ogl
>> > rendering right,
>> > >
>> > > check it out,
>> > > Shaul
>> > >
>> > > On 9/29/05, malefico andauer
>> > <the3d_hut at yahoo.com.ar> wrote:
>> > > >
>> > > > Hi, I have noticed this problem before when
>> > preparing
>> > > > animatics for "Plumiferos Project".
>> > > > I have also proposed that opengl render uses
>> > only the
>> > > > Passpartout area for resolution and aspect.
>> > > >
>> > > > So, I would greately appreciate some work on
>> > this too.
>> > > >
>> > > > Best regards
>> > > >
>> > > > malefico.
>> > > >
>> > > > --- Shaul Kedem <shaul.kedem at gmail.com >
>> > escribió:
>> > > >
>> > > > > I can give it a shot, if it's fine with
>> > everyone..
>> > > > >
>> > > > > On 9/28/05, antont at kyperjokki.fi
>> > > > > <antont at kyperjokki.fi> wrote:
>> > > > > >
>> > > > > > Greetings.
>> > > > > >
>>  > > > > > As some of you may have seen from the Orange
>> > blog,
>> > > > > it is animatic time in
>> > > > > > here. We are rendering it with opengl,
>> > 'cause it's
>> > > > > just a quick thing for
>> > > > > > adjusting timing, and the objects don't yet
>> > have
>> > > > > material settings etc.
>> > > > > > anyhow.
>> > > > > >
>> > > > > > There is the annoyance that there is no
>> > opengl
>> > > > > rendering engine in the
>> > > > > > scene
>> > > > > > buttons, just the viewport-dependent
>> > > > > opengl-to-image/videofile
>> > > > > > functionality
>> > > > > > in the 3d view. The problem with that is
>> > having to
>> > > > > set the viewport
>> > > > > > manually
>> > > > > > to match the desired resolution etc. That is
>> > > > > certainly doable, but we
>> > > > > > figured
>> > > > > > that for someone who knows opengl / ghost
>> > it's
>> > > > > simple to add the support
>> > > > > > for
>> > > > > > actual rendering. It probably needs to
>> > create a
>> > > > > new opengl context (with
>> > > > > > ghost?) and then .. something.
>> > > > > >
>>  > > > > > As became evident, I'm not too familiar with
>> > that
>> > > > > area, and it's not a
>> > > > > > showstopper for us, so i won't be doing it
>> > (soon)
>> > > > > .. but if someone
>> > > > > > catches
>> > > > > > the ball, great! Animatics can be as complex
>> > as a
>> > > > > a final film in terms of
>> > > > > > sequencing, and are for working with the
>> > timing,
>> > > > > so having (near)
>> > > > > > real-time
>> > > > > > rendering (to videos that can be shown to
>> > > > > producers etc) of them would be
>>  > > > > > useful.
>> > > > > >
>> > > > > > ~Toni
>> > > > > >
>> > _______________________________________________
>> > > > > > Bf-committers mailing list
>> > > > > > Bf-committers at projects.blender.org
>> > > > > >
>> > > > >
>> > > >
>> >
>>  http://projects.blender.org/mailman/listinfo/bf-committers
>> > > > > >
>> > > > > >
>> > _______________________________________________
>> > > > > Bf-committers mailing list
>> > > > > Bf-committers at projects.blender.org
>> > > > >
>> > > >
>> >
>>  http://projects.blender.org/mailman/listinfo/bf-committers
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> >
>> ___________________________________________________________
>> > > > 1GB gratis, Antivirus y Antispam
>> > > > Correo Yahoo!, el mejor correo web del mundo
>> > > > http://correo.yahoo.com.ar
>> > > >
>> > > > _______________________________________________
>> > > > Bf-committers mailing list
>> > > > Bf-committers at projects.blender.org
>> > > >
>> >
>> http://projects.blender.org/mailman/listinfo/bf-committers
>> > > >
>>  > >
>> > >
>> > >
>> > > Index: source/blender/makesdna/DNA_scene_types.h
>> >
>> ===================================================================
>> > RCS file:
>> >
>> /cvsroot/bf-blender/blender/source/blender/makesdna/ 
>> DNA_scene_types.h,v
>> > retrieving revision 1.44
>> > diff -u -b -B -r1.44 DNA_scene_types.h
>> > --- source/blender/makesdna/DNA_scene_types.h 24 Aug
>> > 2005 20:37:25 -0000   1.44
>> > +++ source/blender/makesdna/DNA_scene_types.h 30 Sep
>> > 2005 20:04:44 -0000
>> > @@ -360,6 +360,7 @@
>> >  /* yafray: renderer flag (not only exclusive to
>> > yafray) */
>> >  #define R_INTERN     0
>> >  #define R_YAFRAY     1
>> > +#define R_OPENGL     2
>> >
>> >  /* scemode */
>> >  #define R_DOSEQ                      0x0001
>> > Index:
>> > source/blender/render/intern/source/initrender.c
>> >
>> ===================================================================
>> > RCS file:
>> >
>> /cvsroot/bf-blender/blender/source/blender/render/intern/source/ 
>> initrender.c,v
>> > retrieving revision 1.64
>> > diff -u -b -B -r1.64 initrender.c
>> > --- source/blender/render/intern/source/initrender.c
>> > 25 Aug 2005 13:11:04 -0000    1.64
>> > +++ source/blender/render/intern/source/initrender.c
>> > 30 Sep 2005 20:04:49 -0000
>> > @@ -1182,6 +1182,11 @@
>> >       if (R.r.renderer==R_YAFRAY)
>> >               yafrayRender();
>> >       else
>> > +     if (R.r.renderer==R_OPENGL) //sk
>> > +             BIF_do_ogl_render( G.vd, 0);
>> > +     else
>> >               mainRenderLoop();
>> >  }
>> >
>> > Index: source/blender/src/buttons_scene.c
>> >
>> ===================================================================
>> > RCS file:
>> >
>> /cvsroot/bf-blender/blender/source/blender/src/buttons_scene.c,v
>> > retrieving revision 1.90
>> > diff -u -b -B -r1.90 buttons_scene.c
>> > --- source/blender/src/buttons_scene.c        22 Sep 2005
>>  > 19:47:31 -0000        1.90
>> > +++ source/blender/src/buttons_scene.c        30 Sep 2005
>> > 20:04:53 -0000
>> > @@ -1083,7 +1083,7 @@
>> >       uiBlockBeginAlign(block);
>> >       uiDefBut(block, BUT,B_DORENDER,"RENDER",        369, 164,
>> > 191,37, 0, 0, 0, 0, 0, "Start the rendering");
>> >       /* yafray: on request, render engine menu is back
>> > again, and moved to Render panel */
>> > -     uiDefButS(block, MENU, B_SWITCHRENDER, "Rendering
>> > Engine %t|Blender Internal %x0|YafRay %x1",
>> > +     uiDefButS(block, MENU, B_SWITCHRENDER, "Rendering
>> > Engine %t|Blender Internal %x0|YafRay %x1|OpenGL
>> > Render %x2",
>> >                                                                      
>>                           369, 142, 191, 20,
>> > &G.scene->r.renderer, 0, 0, 0, 0, "Choose rendering
>> > engine");
>> >
>> >       uiBlockBeginAlign(block);
>> > Index: source/blender/src/sequence.c
>> >
>> ===================================================================
>> > RCS file:
>> >
>> /cvsroot/bf-blender/blender/source/blender/src/sequence.c,v
>> > retrieving revision 1.26
>> > diff -u -b -B -r1.26 sequence.c
>> > --- source/blender/src/sequence.c     21 Sep 2005
>>  > 20:28:44 -0000        1.26
>> > +++ source/blender/src/sequence.c     30 Sep 2005
>> > 20:05:06 -0000
>> > @@ -1971,6 +1971,7 @@
>> >                                               oldx= R.rectx; oldy=  
>> R.recty;
>> >                                               /* needed because  
>> current 3D window cannot
>> > define the layers, like in a background render */
>> >                                               vd= G.vd;
>> > +                                             if  
>> (R.r.renderer!=R_OPENGL)
>> >                                               G.vd= NULL;
>> >
>> >                                               RE_initrender(NULL);
>> > > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at projects.blender.org
>> >
>> http://projects.blender.org/mailman/listinfo/bf-committers
>> >
>>
>>
>>
>>
>>
>>
>>
>>
>> ___________________________________________________________
>> 1GB gratis, Antivirus y Antispam
>> Correo Yahoo!, el mejor correo web del mundo
>> http://correo.yahoo.com.ar
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list