[Paraview] Paraview Webgl Scene
Paul Graham
meteorpaul at gmail.com
Sun Oct 20 00:17:55 EDT 2013
Hi Sebastien,
I attempted to setup a basic animation as proof of concept by creating an
array of scenes and then, in 'drawScene()', updating
'this.objects[scenelayer].data = newdata', where scenelayer is one
component of the static scene and 'newdata' is a base64 decoded string from
the array of scenes.
Unfortunately, thus far I have not been successful in getting the scene to
update. I wonder if it might be an object scoping issue with
'this.objects'.
Any ideas as to what might be the best approach?
Thanks,
Paul
On 17 October 2013 07:17, Sebastien Jourdain <sebastien.jourdain at kitware.com
> wrote:
> Yes you got it.
> It is exactly that, providing all the objects needed with all the time
> steps and just then a list of scene graph for each time step. Then just
> switching from one scene to another.
>
> Seb
>
>
> On Wed, Oct 16, 2013 at 3:57 AM, Paul Graham <meteorpaul at gmail.com> wrote:
>
>> Hi Seb,
>>
>> Thanks for your reply. I have to say the Webgl scene export is
>> excellent, even as simple as it is at the present time. I hope it will be
>> developed further.
>>
>> Unfortunately I cannot see the axes in the exported Webgl scene, though
>> they appear in Paraview.
>>
>> I am still interested in animating the scene and have been delving into
>> the code. As far as I can tell, at least simplistically, I would have to
>> update the 'objects' array at regular intervals to get a basic animation.
>> My plan is to take the relevant base64 scene files and somehow incorporate
>> them into an animation (hopefully!).
>>
>> Cheers,
>>
>> Paul
>>
>>
>>
>> On 16 October 2013 14:38, Sebastien Jourdain <
>> sebastien.jourdain at kitware.com> wrote:
>>
>>> Hi Paul,
>>>
>>> the WebGL exporter is very limited and just export basic geometry but
>>> the exported scene should reflect what you were seeing in ParaView with no
>>> animation or possible customization of the generated scene. The axes should
>>> be present though if they were while exporting.
>>>
>>> Seb
>>>
>>>
>>> On Sun, Oct 13, 2013 at 6:45 AM, Paul Graham <meteorpaul at gmail.com>wrote:
>>>
>>>> Hi Everyone,
>>>>
>>>> In creating and exporting a Paraview scene to Webgl, I have been unable
>>>> to:
>>>>
>>>> i) Set opacity
>>>> ii) Show axes
>>>> iii) Zoom
>>>> iv) Animate
>>>>
>>>> Does anyone know if these features are available in Paraview's Webgl
>>>> feature at the present time (Oct 14, 2013) or have I overlooked something
>>>> that would enable them?
>>>>
>>>> Thanks,
>>>>
>>>> Paul
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>> http://paraview.org/Wiki/ParaView
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131020/a0948051/attachment.htm>
More information about the ParaView
mailing list