Hi Paul, I'm not sure the Alpha is supported in our current implementation.
Seb On Mon, Oct 21, 2013 at 2:49 PM, Paul Graham <[email protected]> wrote: > Hi Sebastien, > > Thanks for your instructions, they were very helpful. I basically changed > drawScene() to render just one scene in the cache (rather than all of them) > and the animation is working. > > Now I have to try and figure out why the alpha levels are not working. > > Paul > > > > > > On 21 October 2013 11:59, Sebastien Jourdain < > [email protected]> wrote: > >> As far a I remember, this.objects is only the cache of all possible >> objects that can compose the scene. >> To create an animation, you first need all your objects in the cache and >> then you need to update the scene to only pick the objects that are part of >> the scene for a given time step. >> >> Hopefully that will help you out. >> >> Seb >> >> >> >> On Sat, Oct 19, 2013 at 10:17 PM, Paul Graham <[email protected]>wrote: >> >>> 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 < >>> [email protected]> 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 <[email protected]>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 < >>>>> [email protected]> 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 <[email protected]>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 >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > > > -- > Paul Graham > Email: [email protected] > Mobile: 0403003784 >
_______________________________________________ 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
