Re: [Bf-committers] Multiple OpenGL Windows?

2013-07-04 Thread Brecht Van Lommel
I found some suspicious code in Blender that would set the environment
variable SDL_VIDEODRIVER=dummy. I'm not sure if that's the cause of
the problem, but I would expect such environment variables to
influence child processes. That code is removed now in svn revision
57992 or newer, please test if it helps.

On Thu, Jul 4, 2013 at 1:29 AM, Sinan Hassani sinan.hass...@gmail.com wrote:
 Hi,

 So I'm creating a plug-in that uses BGE's interface to run an external
 game engine (Urho3D). I add custom buttons to BGE and implement my own
 draw functions.

 However when I launch the engine, I get an error:

 ERROR: Could not open window

 I'm using Python's subprocess.Popen to launch the engine, and I've
 even tried os.system, and other similar python functions and methods
 (like executing a .sh script directly for example).

 Urho3D uses SDL 2.0 to create a window and opengl context on Linux, and
 it looks like it doesn't like to launch from within Blender. If I launch
 it from a shell script it runs fine.

 So for the time being I get Blender to prepare the shell script, but I
 have to go to a file manager or xterm to launch the engine.

 To fix this, is this something where the code has to be changed on the
 game engine side or is it something that has to be supported by Blender?

 Can Blender support multiple OpenGL Windows? I'm pretty sure it works
 for GameKit, why not an SDL 2.0 application?

 Sinan
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] error building with cuda, r57982

2013-07-04 Thread Yousef Hurfoush


 What Cuda version do you use?

  error building with cuda 5.5RC, trunk r57982


Regards
Yousef Harfoush
ba...@msn.com


  
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] error building with cuda, r57982

2013-07-04 Thread Jürgen Herrmann
Oops, I am overworked -.-
Hmm... Seems to be a problem with mingw scons settings. I still use vc9 and 
cuda 5.0 for mingw builds.
I'll take a look at this, but that'll take a while.


Am 04.07.2013 um 07:05 schrieb Jürgen Herrmann shadow...@me.com:

 Hi yousef
 What Cuda version do you use?
 
 
 Am 04.07.2013 um 06:07 schrieb Yousef Hurfoush ba...@msn.com:
 
 hi
 
 error building with cuda 5.5RC, trunk r57982
 using windows 8 x64, msvc11 express, scons, mingw64
 
 build log:
 http://www.pasteall.org/43753
 
 if i set
 WITH_BF_CYCLES_CUDA_BINARIES = False
 it builds successfully.
 
 Regards
 Yousef Harfoush
 ba...@msn.com
 
 
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Multiple OpenGL Windows?

2013-07-04 Thread Sinan Hassani
On 13-07-04 07:31 AM, Brecht Van Lommel wrote:
 I found some suspicious code in Blender that would set the environment
 variable SDL_VIDEODRIVER=dummy. I'm not sure if that's the cause of
 the problem, but I would expect such environment variables to
 influence child processes. That code is removed now in svn revision
 57992 or newer, please test if it helps.


Hm, yes I will test with this build as soon as possible, and report back.

To respond to the previous message. I've tested various parameters, like 
Shell=True, Shell=False, etc and it's all the same result.

Sinan
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Multiple OpenGL Windows?

2013-07-04 Thread Sinan Hassani
On 13-07-04 04:55 AM, Kevin Roy wrote:
 I've just try the following lines in blender console and the following worked
 for me:

 from subprocess import call
 call([glxgears])
Yeah, I just tried this with 2.67b and it works. So my problem could be 
specific to SDL 2.0 apps?

I will try build 57992, but I'm waiting for it to show up on the nightly 
buildbot builds (for Linux 64bit).

Sinan
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] error building with cuda, r57982

2013-07-04 Thread Jürgen Herrmann
Narf! I am really a bit overworked...
Thanks Brecht, seems that I missed the forrest for the trees ;)

Am 04.07.2013 um 15:32 schrieb Brecht Van Lommel brechtvanlom...@pandora.be:

 The relevant error is this:
 
 nvcc : fatal error : Microsoft Visual Studio configuration file
 'vcvars64.bat' could not be found for installation at 'C:\Program
 Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\x86_amd64/../../..'
 
 You can search online for solutions to that error. Something like this
 answer could work:
 http://stackoverflow.com/questions/8900617/how-can-i-setup-nvcc-to-use-visual-c-express-2010-x64-from-windows-sdk-7-1
 
 On Thu, Jul 4, 2013 at 6:07 AM, Yousef Hurfoush ba...@msn.com wrote:
 hi
 
 error building with cuda 5.5RC, trunk r57982
 using windows 8 x64, msvc11 express, scons, mingw64
 
 build log:
 http://www.pasteall.org/43753
 
 if i set
 WITH_BF_CYCLES_CUDA_BINARIES = False
 it builds successfully.
 
 Regards
 Yousef Harfoush
 ba...@msn.com
 
 
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Multiple OpenGL Windows?

2013-07-04 Thread Sinan Hassani
On 13-07-04 07:31 AM, Brecht Van Lommel wrote:
 I found some suspicious code in Blender that would set the environment
 variable SDL_VIDEODRIVER=dummy. I'm not sure if that's the cause of
 the problem, but I would expect such environment variables to
 influence child processes. That code is removed now in svn revision
 57992 or newer, please test if it helps.
Hey this worked!!! Thanks Brecht!

I tested using daily buildbot build: 57997

However, I'm currently using Blender 2.68 RC1, but I will switch to 
57997, and if I find any bugs, I will make a note that I'm using build 
57997 instead of 2.68 RC1.

So I can confirm that as of build 57997, SDL 2.0 applications can be 
launched from within Blender.

Sinan
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] bug with fcurves

2013-07-04 Thread Michael Fox
hey all has fcurve interpolation changed recently, i loaded up my old 
lets paint file to test some gsoc projects, and tought to see if it 
still works but i find its all jittery and i havn't changed anything and 
i have noticed there is little peaks between keys that are on the exact 
same vertical position, this is in trunk

.blend file
http://mfoxdogg.com/works/lets_paint/Lets_paint_main.blend
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] Depsgraph Refactor Design Overview (GSoC13)

2013-07-04 Thread Joshua Leung
Hi All,

For those following the Depsgraph Refactor project, I've posted
an overview of the design + goals for the refactored system over on
the bf-animsys list
(http://lists.blender.org/pipermail/bf-animsys/2013-July/000103.html)

A copy of this can be found from the link above (check the attachment there).
Apparently adding ~300kb pdf's is too large for the lists these days.

Please take a look and provide some feedback about
whether there's really anything missing/overlooked or likely to cause
us serious grief in future. Also, feel free to ask if any other
questions/issues come to mind while having a look.

Cheers,
Joshua

BTW: A friendly reminder to keep the discussion over on the bf-animsys list
(to avoid clogging this list with debates over this) :)
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers