Re: [osg-users] osgjs fix for 64 builds with some compilers

2016-02-18 Thread Robert Osfield
On 18 February 2016 at 10:36, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > Hi Robert, > > since this is one line and related to output info maybe this will be > enough to work on both platforms > > ss << (int64_t)image << ".inline_conv_generated.png"; // write the > pointer

Re: [osg-users] osgjs fix for 64 builds with some compilers

2016-02-18 Thread Trajce Nikolov NICK
Hi Robert, since this is one line and related to output info maybe this will be enough to work on both platforms ss << (int64_t)image << ".inline_conv_generated.png"; // write the pointer location On Thu, Feb 18, 2016 at 11:21 AM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: >

Re: [osg-users] osgjs fix for 64 builds with some compilers

2016-02-18 Thread Trajce Nikolov NICK
Hi Robert, I did fast fix hoping you will find a time to comment on this. I agree with you .. Let me try to do it more properly :) Thanks for finding a time to look at the issue! Cheers, Nick On Thu, Feb 18, 2016 at 10:45 AM, Robert Osfield wrote: > Hi Nick, > > I

Re: [osg-users] osgjs fix for 64 builds with some compilers

2016-02-18 Thread Robert Osfield
Hi Nick, I have just reviewed your change and don't feel it's the appropriate way to tackle this type of issue. If long int isn't being interpreted as 64bit int then it would be appropriate to use a typedef rather than #ifdef blocks. The include/osg/Types file contains int64_t, could you just

[osg-users] osgjs fix for 64 builds with some compilers

2016-01-29 Thread Trajce Nikolov NICK
Hi Robert, attached is small fix for 64 builds with some compilers. It is from the 3.5.1 dev release. Is there a chance to integrate this fix into the mentioned version? Was tested with MSVC and g++ -- trajce nikolov nick #include "WriteVisitor" #include #include #include #include #include

[osg-users] osgjs-plugin / opengl es

2011-11-24 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I refactored the osgjs-plugin and I thought that it could interest people working with opengl es. webgl is built ontop of opengles so optimization work for both. Maybe the part that split models into 64k drawelements, merge tristrip into one with

[osg-users] osgjs - RenderBin and Transparency

2011-10-04 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I commited new code to upgrade RenderBin code. You should be able to manage bin like in osg, but I implemented the minimum to have flexibility with render bin. There is no OVERRIDE_RENDERBIN_DETAILS. I added the transparent RenderBin that will

[osg-users] osgjs - Light

2011-10-03 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, osg.Light has changed in the trunk. Now the StateAttribute compute lighting per pixel and support Directional/Point/Spot light. An example should come quickly to demonstrate it. Cheers, Cedric - -- Cedric Pinson Provide OpenGL, WebGL and

[osg-users] osgjs - osgUtil.ShaderParameterVisitor

2011-09-16 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I added in osgjs a new visitor to help to fine tune shader parameters. The visitor look for program in the scenegraph and extract uniforms. Then it bind html slider (chrome) to modify uniform value. For more convenience uniform value are stored

[osg-users] osgjs

2011-03-29 Thread Cedric Pinson
Hi, I wanted to share improvement done on osgjs the last few months. It has been used for a firefox demo you can watch https://demos.mozilla.org/en-US/#globetweeter or http://plopbyte.com:2048/globetweeter/ if the previous server is overloaded. If you are interested by the project look on

Re: [osg-users] osgjs

2011-03-29 Thread David Callu
Hi Cedric, Really funny app. Good Idea, Good Job. See you David 2011/3/29 Cedric Pinson cedric.pin...@plopbyte.com Hi, I wanted to share improvement done on osgjs the last few months. It has been used for a firefox demo you can watch https://demos.mozilla.org/en-US/#globetweeter or