POV-Ray : Newsgroups : povray.windows : Python, subprocess, error! : Python, subprocess, error! Server Time
16 Apr 2024 01:25:14 EDT (-0400)
  Python, subprocess, error!  
From: LanuHum
Date: 29 Jul 2014 15:30:01
Message: <web.53d7f4e6f9a4be657a3e03fe0@news.povray.org>
Hellow!
I want to make a render in a shadow mode for a preview of materials in Blender
In Linux - no problem, preview very good
In Windows don't work
http://blender-3d.ru/forum/index.php?action=dlattach;topic=753.0;attach=2930;image

pov_binary = os.path.join(win_home, "bin", "pvengine64.exe")
self._process =
subprocess.Popen(["%s"%pov_binary,"%s/Preview.ini"%previewDir],stdout=subprocess.PIPE,stderr=subprocess.STDOUT)

ini:
Version=3.7
Input_File_Name='C:\\povray\\preview\\Preview.pov'
Output_File_Name='C:\\povray\\preview\\Preview.png'
Width=100
Height=100
Bounding_Method=2
Display=0
Pause_When_Done=0
Output_File_Type=N
Output_Alpha=1
Antialias=on
Sampling_Method=3
Antialias_Depth=3
Antialias_Threshold=0.1
Antialias_Gamma=2.5


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.