Re: Simple question before diving into JPython.

Bruce Sherwood <[email protected]> Thu, 20 Dec 2012 09:07:28 -0700
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFDG03gMHfxvEy0=HuT3YkGcbccPZixhSQ_6ejkwWWkihY8Z7g@mail.gmail.com>
I should have said: You can execute statements to position the camera in a
VPython program and not rely on manual zoom and rotate, if that is
important to you. Also, note that you can write an animation in VPython and
generate a series of POVRAY scene-description files to process.

Bruce Sherwood


On Thu, Dec 20, 2012 at 9:05 AM, Bruce Sherwood <[email protected]>wrote:

> In the Contributed section of vpython.org is a module you can import into
> a VPython program which generates a file containing POVRAY scene
> description language equivalent to the VPython scene. You can then process
> that file with POVRAY. Unless you make the VPython scene invisible, the
> execution of the VPython program will display the scene, which apparently
> you don't want to happen. However, a typical way to use the POVRAY export
> module in VPython is to wait for a mouse click before generating the POVRAY
> file, so that you can use the mouse to zoom and rotate the scene before
> generating the file.
>
> Bruce Sherwood
>
>
> On Thu, Dec 20, 2012 at 7:42 AM, Denis BEURIVE <[email protected]>wrote:
>
>> Hello,
>>
>> Before I dive into JPython, I have a simple question.
>>
>> I am looking for a tool that can generate a 3D image (and eventually a 3D
>> animation) from a script.
>>
>> I know POVRAY, that I've already used. But POVRAY language used to
>> describe the scene is too limited for what I need to do.
>>
>> Python, which I already used, would be excellent.
>>
>> So, can I follow this procedure :
>>
>>    - I write a Python script that creates one (or several successive)
>>    scene(s).
>>    - Then a run Python on the script in order to generate an image (or a
>>    list of images).
>>
>> What I mean is : Do I need to run the user interface in order to create
>> an image (or a list of images) ?
>>
>> Note : A problem with POVRAY is that we can not call the renderer without
>> executing the user interface. Well... we can call POVRAY with some command
>> line arguments. But it is really limited. And the INI file must be assigned
>> with the user interface...
>>
>> Best regards,
>>
>> Denis
>>
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Visualpython-users mailing list
>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
>>
>

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users