Well i don't know,  i just build my raytracer this morning on mac os/x with
osg trunk. (svn 9999)

i will send the code and cmake file

/adrian


2009/4/11 ami guru <dosto.wa...@gmail.com>

> Thanks
>
>
> For the code skeleton, that will pave a way to get started i believe. Now i
> am going through  the following issues:
>
> Just updated the installation from the trunk to 2.9.3.
>
>  i executed the make file to compile the code that you have sent and the
> following error showed up:
>
>
> ******************
> g++  -c kdTree.cpp
> g++  -c main.cpp
> g++  -c plymeshreader.cpp
> g++  -c sphereunitvecpool.cpp
> g++  -c TriangleNodeVisitor.cpp
> TriangleNodeVisitor.cpp: In member function ‘void
> TriangleNodeVisitor::processGeometry(osg::Geometry*)’:
> TriangleNodeVisitor.cpp:294: error: cannot declare variable ‘pif’ to be of
> abstract type ‘PrimitiveIndexWriter’
> TriangleNodeVisitor.cpp:79: note:   because the following virtual functions
> are pure within ‘PrimitiveIndexWriter’:
> /usr/local/include/osg/PrimitiveSet:134: note:     virtual void
> osg::PrimitiveIndexFunctor::setVertexArray(unsigned int, const osg::Vec2d*)
> /usr/local/include/osg/PrimitiveSet:135: note:     virtual void
> osg::PrimitiveIndexFunctor::setVertexArray(unsigned int, const osg::Vec3d*)
> /usr/local/include/osg/PrimitiveSet:136: note:     virtual void
> osg::PrimitiveIndexFunctor::setVertexArray(unsigned int, const osg::Vec4d*)
> make: *** [TriangleNodeVisitor.o] Error 1
>
>
>
> ******************
>
>
> I checked the code but i have not found any function with pure virtual as
> the message above said.
>
> Any hint to get around that issue?
>
>
> Regards
> Sajjad
>
> On Sat, Apr 11, 2009 at 7:54 PM, Adrian Egli OpenSceneGraph (3D) <
> 3dh...@gmail.com> wrote:
>
>> :-) Once you have some questions,  i could answer them, the code is fast
>> but not very fast :-) have also a look at ompf.org
>> and search for arauna / bikker
>>
>> /adrian
>>
>> 2009/4/11 Charles Cossé <cco...@gmail.com>
>>
>> Hi Sajjad,
>>>
>>> Attached I have tgz'd-up a file posted earlier (by Adrian Egli?) with
>>> his first cut at raytracing using a kd tree.   I saved all the links
>>> to the various posts/threads on this subject, also, which can share
>>> with you if interested.
>>>
>>> Charles
>>>
>>> On Fri, Apr 10, 2009 at 10:16 PM, ami guru <dosto.wa...@gmail.com>
>>> wrote:
>>> > Hello Forum,
>>> >
>>> >
>>> > I was wondering if there is anyone have done ray tracing using OSG.
>>> >
>>> >
>>> > So far i have got from the forum Jean-Sébastien Guay did his Masters
>>> thesis
>>> > on that domain and it would be really nice
>>> > if he provide the link to the report, at least it would be a starting
>>> point
>>> > for me.
>>> >
>>> > What do you think Jean?
>>> >
>>> >
>>> > Regards
>>> > Sajjad
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > osg-users mailing list
>>> > osg-users@lists.openscenegraph.org
>>> >
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> AsymptopiaSoftware|softw...@thelimit
>>>          http://www.asymptopia.org
>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>
>>
>>
>> --
>> ********************************************
>> Adrian Egli
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to