[osg-users] OSG Ellipsoid to Sphere Conversion

Wojciech Lewandowski w.p.lewandowski at gmail.com
Mon Sep 26 16:05:06 PDT 2016


Hi,

Not sure if this helps but I believe you may define own Ellipsoid with
EllipsoidModel. Just define it with both Radii the same and voila you have
the sphere ...

Cheers,
Wojtek Lewandowski

2016-09-26 23:54 GMT+02:00 Sebastian Messerschmidt <
sebastian.messerschmidt at gmx.de>:

> Hi Inna,
>
> It still doesn't make a lot of sense, The ellipsoid model is to abstract
> geographic coordinates to geocentric coords. Lat, long however is spherical
> coordinates and can be mapped to an ellipsoid...
> So please try  to rephrase your question: What is it what you want to do,
> or present some code that is not working for you.
>
> Cheers
> Sebastian
>
>> Hi Mr. Robert, geoc
>>
>> Thanks for the reply. Sorry , Seems  I explained very badly . Well , my
>> issue is that I want to make sphere  and text on it. I was able to do with
>> the EllipsoidModel and using log , lat and height. I want to do the same
>> with same Sphere. But I dont have idea how to do with sphere the same
>> thing. I want to make sphere with radius which varys basing on the screen
>> coordinates. In osg::Sphere I can see setradius(), but how can i set radius
>> to screen coordinates ?
>>
>> ...
>>
>> Thank you!
>>
>> Cheers,
>> Inna
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=68777#68777
>>
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160927/c66271cd/attachment-0003.htm>


More information about the osg-users mailing list