Hi,

(btw what is your real name? Just check, we address everyone  by real
names, it is a policy of this mailing list )

you might take a look for a code in osgWorks
https://code.google.com/p/osgworks/

namely
https://code.google.com/p/osgworks/source/browse/trunk/src/osgwTools/Shapes.cpp

Regards
Sergey

On Thu, Dec 26, 2013 at 12:16 AM, [email protected] <
[email protected]> wrote:

> Dear List members!
> Warning: This is a „help a noob” kind of question.
>
> Sorry for sending my request or rather question, directly in mail. I'll
> try to keep it short.
> After spending an enormous amount of time looking for a tutorial or some
> good guide, I stumbled upon this message from the very same mailing list.
> Though, it's years old.
>
> http://lists.openscenegraph.org/pipermail/osg-users-
> openscenegraph.org/2007-December/004923.html
>
> The code works perfectly. And I could modify it to make sphere out of
> that. But I fear the result would be really taxing, even on modern
> hardware. I read Stackoverflow questions and various articles I found, and
> some of those said that I could just use a „mathematical shape” to do this.
> I have lost my browsing history since then, so I cannot link the exact page
> right now. It was a geometrical shape that would "become" a sphere with the
> right "resolution". (You get the point, catch my drift. Like how you make a
> cylinder.)
>
> But. Which one should I go with?
> More importantly: Is there a pre-existing code that I could use my base
> and that I could build upon?
> Or any foundation would be much appreciated. The more shapes I could learn
> the better.
> (So far I got basic things like cubes, rectangles, circle [from the
> message], pyramid, cylinder.)
>
> Best regards,
> LSSND
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to