Re: [osg-users] OpenSceneGraph-3.6.1 release candidate 7

2018-05-29 Thread Mohammed Djeralfia
Hello,

I compiled this version on Windows 10 x64, Visual Stdio 2017 and it works very 
well.
But in the compilation I had an error on the dicom plugin, it detects the dcmtk 
included in ITK, but it did not add the inclusion path in the generated project 
until I did it manually.

Except that everything works.

Thank you very much.

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73891#73891





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.4.0-rc9 tagged

2015-08-05 Thread Mohammed Djeralfia
Works fine until now on Visual Studio 2013 + Qt 5.4.2 + Windows 10
Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64643#64643





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.3.7 developer release tagged

2015-04-16 Thread Mohammed Djeralfia
Hi,

thanks for this release, 
When I tried to compile OSG on VC2010, I found some errors:

1) on json_stream: the isfinite and isinf are not defined on VC2010 and should 
be replaced with _finite and !_finite. 

2) on cmake, it can not found QT5Widgets_DIR automatically, so I need to do it 
manually on QT 5.4.0 (not realy a porblem).

Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63425#63425





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.3.7 developer release tagged

2015-04-16 Thread Mohammed Djeralfia
Hi,
First thank you for the reply.

for my VC2010 _MSC_VER=1600, so I need to put =1600;

for QT5, I did my first test with QT5.4.0, all the previous compilations was 
with 4.8(that was detected  perfectly).
I notice that when I define the QT5Widgets_DIR in CMAKE, all the others 
QT5_DIR are automatically detected.

Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63429#63429





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgOcean] Some questions about osgRiver ???

2013-09-27 Thread Mohammed Djeralfia
Hi,

I have just tested osgRiver(from alphapixel.com) and the river is not displyed 
correctly, the water is on the right corner of the river.3DS but only 1 segment 
of 9 is displayed (-15 to 0).
I had tried to change the code of osgRiver in 
RiverGraph::MergeRiverFromPoints(vectorRiverControlPoint points) at :
RiverControlPoint next2 = curvePoint (changed to :(points[i-1] * 0.4 + 
points[i] * 0.6)) ; and now I have 3 segments from 9 that are displayed, I had 
done some other  modifications but it did not resolve the problem.

So my questions are:
1) Why the osgRiver does  not be integrated in the osgOcean trunk?
2) Has someone have another version of the RiverGraph.cpp to make differance ?

Any other suggestions would be welcome.


Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56516#56516





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgOcean] Some questions about osgRiver ???

2013-09-27 Thread Mohammed Djeralfia
Hi,

Thanks for the answers, so unfortunately there is no trace for its creator, so 
I must make some others efforts to find the problem and correct it.

In my case I think that to create a realistic 3D environement, the integration 
of the forest,building,roads,rivers, ocean and skys are very important, so :
1-for the forest and building I use osg+osgEarth directly(projected map),
2-for the roads I did not find a solution yet,
3-for the sea I use osgOcean,
4-for the sky I am trying with Silverlight(the demo),
5-for the river I need to find something to do that and it is the importance of 
the osgRiver (creation of continuous segment, a good direction of the water...) 

So I hope that its creator take it again and reanimate it.
 
I will thanks again Mr Chris Hanson to share this copy with us: THANK YOU VERY 
MUCH.

Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56522#56522





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] There's no water when osgRiver running, please help me?

2013-09-13 Thread Mohammed Djeralfia
Hi,

I have just tested osgRiver, the water is  on the right corner of the river.3DS 
but only 1 segment is displayed( (-15 to 0).
I had tried to change the code of osgRiver in 
RiverGraph::MergeRiverFromPoints(vectorRiverControlPoint points)  at :
RiverControlPoint next2 = curvePoint (changed to :(points[i-1] * 0.4 + 
points[i] * 0.6)) ; and now I have 3 segments from 9 that are displayed, I 
don't know what is the probleme exactly but I will do some search to find the 
probleme.
if you have any suggestion I hope that you share it with us.

Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56349#56349





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Can't see water in osgOcean, Can anyone help me?

2013-08-21 Thread Mohammed Djeralfia
Hi,

I am a user of osgOcean, but for your problem with osgRiver I can not help you, 
I searched for osgRiver on the NET but I have never find it, perhaps you can 
tell me where you download it to try it, and then I will see what is the 
probleme. 

I will be very grateful, and Thank you!

Cheers,
Mohammed

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55925#55925





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPlugins] Probleme with PNG plugin: when there are no_data value(generated by GDAL)

2013-08-03 Thread Mohammed Djeralfia
Hi

I have generated a png image from GDAL with no_data values to set the black 
color to transparant with this command line:
gdal_translate.exe --a_nodata 0 -of PNG -ot byte thumbnail.png 
thumbnail_no_data.png 

the image is loaded correctly in any viewer (Windows , photoshop...) 
BUT when I load it with osgViewer --image thumbnail_no_data.png the image is 
zoomed and not dispalyed correctly:
[Image: http://forum.osgearth.org/file/n7581916/badImage.png ]

if I don not specify the no_data in GDAL transformation it will be displayed 
correctly in the osgViewer:
[Image: http://forum.osgearth.org/file/n7581916/goodImage.png ]

When I maked a comparison between them with photoshop , I see that both have a 
GRAY CHANNEL , but for the image with no_data there is another CHANNEL that is 
a mask(perhaps to specify  where there are the no_data???)

So I think that the PNG Plugin can not read the mask generated by GDAL.

I hope that someone can help me with this.

I have post before  this probleme on the GENERAL brunch:
 http://forum.openscenegraph.org/viewtopic.php?t=12492

The attached images

Thank you!

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55752#55752




Attachments: 
http://forum.openscenegraph.org//files/tempview_512.png
http://forum.openscenegraph.org//files/tempview_hide_419.png


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Cant't read PNG image correctly?

2013-08-02 Thread Mohammed Djeralfia
First THANK YOU for your answer :D 

With the old photoshop I know that it does not work like he said Alexandre, but 
with the new one like CS5.1 the image is displayed correctly,
Both images tempView.png (http://forum.osgearth.org/file/n7581916/tempView.png) 
AND tempView_hide.png 
(http://forum.osgearth.org/file/n7581916/tempView_Hide.png)(with no_data) have 
the same channel=GRAY; BUT with the no_data we have a mask(in photoshop it is 
displayed like a channel) and I think that the osgPlugin(or the libtif) can not 
recognize it.

I am a newbie with osg but I will try to take a look on how it work the png 
plugins,
And if there is any idea or suggestion,I will be very grateful.

THANKS.
 (http://forum.osgearth.org/file/n7581916/tempView_Hide.png)

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55736#55736





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [ANN] New versions of the SilverLining Cloud, Sky Weather SDK and the Triton Ocean SDK

2013-07-31 Thread Mohammed Djeralfia
Hello,
I am new with Triton, I want to set Water  to a specific area in my project -- 
use Patch but all my objects were covered by water. So can you give us a simple 
code for osg using patch to try it.
Thank you in advance.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54324#54324





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Cant't read PNG image correctly?

2013-07-31 Thread Mohammed Djeralfia
I have a tiff image that I create from it an thumbnail with gdal_translate:
gdal_translate.exe  -outsize 300 400 -of PNG  -ot byte -scale image.tif 
thumbnail.png

than I load it on the earth(osgEarth) and it look correct: 
[Image: http://forum.osgearth.org/file/n7581916/goodImage.png ]

But when I remove the no_data from the image (png):
gdal_translate.exe --a_nodata 0  -of PNG  -ot byte thumbnail.png 
thumbnail_no_data.png

it look correct in the Windows viewer, but when I load it, I have a strange 
result: 
[Image: http://forum.osgearth.org/file/n7581916/badImage.png ]

I tested my image with:osgviewer --image file.png and it look wrong.

I had attached my two images:
[Image: http://forum.osgearth.org/file/n7581916/tempView.png ]
[Image: http://forum.osgearth.org/file/n7581916/tempView_Hide.png ]

So what can be the probleme?THANKS.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55199#55199




Attachments: 
http://forum.openscenegraph.org//files/tempview_hide_881.png
http://forum.openscenegraph.org//files/tempview_105.png


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org