"render only" build
Moderators: jesterKing, stiv
"render only" build
is there any way to build blender with no interface, no game engine, just the render engine. the purpose is for making DrQueue render nodes, where I don't want to have X11 in order to build.
i think you can get a copy from someone at burp for the same purpose.
http://burp.boinc.dk/
http://burp.boinc.dk/
-
- Posts: 0
- Joined: Tue Nov 23, 2004 1:57 am
- Location: Quebec City, Canada
- Contact:
Like piere I have no clue what I'm talking about.
I have the same question in other words:
Does blender need the X-Lib libs when started without the interface?
Blender can run without interface, but does it crash 'cause it can't find the libs?
(In the console type something like blender -B -s start -e end -a filename to force it in the background)
I have the same question in other words:
Does blender need the X-Lib libs when started without the interface?
Blender can run without interface, but does it crash 'cause it can't find the libs?
(In the console type something like blender -B -s start -e end -a filename to force it in the background)
Yes, Blender needs xlibs even if started from the command line.
However I think it would be possible for it to be compiled without linking to X11, as long as these functions are never called. (Like in console render mode)
Like I say, just add some ifdefs and an option to compile render only.
Probably discuss on BF-Commiters bvefore you go too far.. so what other developers think.
Personaly I like the idea. It opens up Blender render to other operating systems without a full port and allows a much smaller binary.
Even for people that use Blender on X11, Background rendering could be done with a console only exe.
-- Cam
However I think it would be possible for it to be compiled without linking to X11, as long as these functions are never called. (Like in console render mode)
Like I say, just add some ifdefs and an option to compile render only.
Probably discuss on BF-Commiters bvefore you go too far.. so what other developers think.
Personaly I like the idea. It opens up Blender render to other operating systems without a full port and allows a much smaller binary.
Even for people that use Blender on X11, Background rendering could be done with a console only exe.
-- Cam
I am skeptical about this. Blender uses OpenGL for rendering. On my linux box, running ldd on libGL says it wants libX11 and libXext.
Probably the easiest way to get to where you want to go is to do some linking magic and make a static build with both OpenGL and X built in.
No comment using a 120Mhz machine for rendering.
Probably the easiest way to get to where you want to go is to do some linking magic and make a static build with both OpenGL and X built in.
No comment using a 120Mhz machine for rendering.
Are you sure???, Software will still ask for libs it links to, even if they are not called.bannerboy wrote:correction: it does call it, I had to install X just so that blender would recognize opengl.ideasman wrote:Only opengl for interface stuff, not rendering with the -b option. though its still compiled linking to the library, the library needs to exist. But it does not call it.
Im thinking there could be a few issues with render only build.
* Python would have to be disabled since some python functions directly call openGL. ...this means removing the -Y option for running python scripts at rendertime.
Having a blender with no python hooks couldbe nice for a render build anyway. less bloat==more good.
* Some X11 calls may still be being used, by default.. may have to use IFDEFs to get around them and supply dummy values for blender to use.
I cant see Blender relying too heavily on X11, since it runs in Win32 also. Mabe just remove dependencies on ghost.
Remove USer interface code, theres no need for it No tool code, no tranfsorm code. - Renderscene seems fairly seperate anyway. maight not be as hard as all that.
An issue (Assuming its all possible and sombody wants to do it) how hard would it be to maintain? If it breaks all the time then mabe its not worth it.
- Would appretiate some advice from a more experienced programmer.