Re: [osg-users] i am having problem compiling program related to TraingleFunctor

2013-02-07 Thread om prakash Paliwal
call me Om 
by the way thanks Robert for the help. it fixed my errors and after this i
just have to add one more header file to complete my compilation .. i
included osg/TrangleFunctor ...

thanks again ...



On Thu, Feb 7, 2013 at 2:44 PM, Robert Osfield robert.osfi...@gmail.comwrote:

 Hi Om? Prakash? Paliawl?  Could you sign with your name so we know how to
 address you?

 As for you errors, it looks like you need to include osg/io_utils as
 this will provide the helper functions for writing Vec3's etc. to ostream.

 Robert.

 On 7 February 2013 05:01, om prakash Paliwal 
 omprakash.paliwa...@gmail.com wrote:

 i am not able to compile program using TriangleFunctor. at the first
 compilation i got some error saying cout is not a member of std + some
 other chunks . So i added a iostream header file. And when i comiled it
 again there are 3-4 screenful errors. am not able to understand these
 scripts of error ...


 Errors and My program is attached below ...

 thanks for the help in advance 





 i am attaching my program 
  main.cpphttps://docs.google.com/file/d/0B3dFjVubf5gKQ2RrQzdhOU9OR28/edit

 ___
 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


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


[osg-users] i am not able to build GLUT libraries in Ubuntu to use it in OSG program

2013-02-07 Thread om prakash Paliwal
i want to write the  Teapot program which requires GLUT libraries...
i am using Ubuntu 12.10 and downloaded GLUT-3.7.tar.gz file from the
official website of openGL... but i am facing problem in building these
pakages ...

i first replaces the Glut.cf file in the glut-3.7 dir with the file in
/glut-3.7/linux/Glut.cf  as the Readme file Said ... but when i
./mkmfiles.imake it replied

...
mv -f Makefile Makefile.bak   /dev/null






if ( -d /usr/lib/X11/config ) then


if ( -d /usr/lpp/X11/Xamples/config ) then


if ( -x /usr/openwin/bin/xmkmf ) then


if ( -d /usr/X11R6/lib/X11/config ) then


xmkmf
xmkmf: Command not found.
endif
endif
endif
endif
make Makefiles
make: *** No rule to make target `Makefiles'.  Stop.





make depend
make: *** No rule to make target `depend'.  Stop.

...

which means building process is not succesful  anything i am missing ??
plz help .
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] i am having problem compiling program related to TraingleFunctor

2013-02-06 Thread om prakash Paliwal
i am not able to compile program using TriangleFunctor. at the first
compilation i got some error saying cout is not a member of std + some
other chunks . So i added a iostream header file. And when i comiled it
again there are 3-4 screenful errors. am not able to understand these
scripts of error ...


Errors and My program is attached below ...

thanks for the help in advance 





i am attaching my program 
 main.cpp https://docs.google.com/file/d/0B3dFjVubf5gKQ2RrQzdhOU9OR28/edit



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


Re: [osg-users] 3D mice

2013-02-04 Thread om prakash Paliwal
please help me .. i m a begineer and stucked at very first program

i build OSG on ubuntu 12.10 with cmake using unix makefile generetor . i
build them succesfully. when i build cmake script and rum make command it
says

[100%] Building CXX object CMakeFiles/MyProject.dir/main.cpp.o
In file included from /home/heart-hacker/OpenSg/project/main.cpp:1:0:
/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/osgDB/ReadFile:19:20:
fatal error: osg/Node: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/MyProject.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
make: *** [all] Error 2

when i browsed my include file earlier only osg and OpenThread folders were
there. later i include other folder from downloaded source files ...

i dont' know what is going on with these header file ...

please help me . it would be great  and i will be thankful to u ..

thanks in advance





On Mon, Feb 4, 2013 at 1:17 PM, Sebastian Messerschmidt 
sebastian.messerschm...@gmx.de wrote:

 Hello Thomas,

 yes. I've more or less successfully integrated the 3dConnexion SpaceMouse
 into a custom Handler.
 Also there is some class in the osgVisual-project. Unfortunately it uses
 DirectX which is why I use a slightly modified OpenInputSystem.

 cheers
 Sebastian


  Hi,

 Has anyone taken a look at integrating a device such as a 3D mouse into
 OpenSceneGraph?

 Thank you!

 Cheers,
 Thomas

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





 __**_
 osg-users mailing list
 osg-users@lists.**openscenegraph.org osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.**org/listinfo.cgi/osg-users-**
 openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 __**_
 osg-users mailing list
 osg-users@lists.**openscenegraph.org osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.**org/listinfo.cgi/osg-users-**
 openscenegraph.orghttp://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


Re: [osg-users] getting errors in creating First OSG program

2013-02-04 Thread om prakash Paliwal
finally i did my first program ... thank you guys. surely without you i
would have gave up. i searched through some thread and found that it may my
header file OSG_DIR that was not set (May be) .. i still din't know the
exact cause of error but it is working now 


On Tue, Feb 5, 2013 at 8:27 AM, om prakash Paliwal 
omprakash.paliwa...@gmail.com wrote:

 ok , i got it now. i ran make VERBOSE=1 and i got this

 heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/OpenSg/project$
 make VERBOSE=1
 /usr/bin/cmake -H/home/heart-hacker/OpenSg/project
 -B/home/heart-hacker/OpenSg/project --check-build-system
 CMakeFiles/Makefile.cmake 0
 /usr/bin/cmake -E cmake_progress_start
 /home/heart-hacker/OpenSg/project/CMakeFiles
 /home/heart-hacker/OpenSg/project/CMakeFiles/progress.marks
 make -f CMakeFiles/Makefile2 all
 make[1]: Entering directory `/home/heart-hacker/OpenSg/project'
 make -f CMakeFiles/MyProject.dir/build.make CMakeFiles/MyProject.dir/depend
 make[2]: Entering directory `/home/heart-hacker/OpenSg/project'
 cd /home/heart-hacker/OpenSg/project  /usr/bin/cmake -E cmake_depends
 Unix Makefiles /home/heart-hacker/OpenSg/project
 /home/heart-hacker/OpenSg/project /home/heart-hacker/OpenSg/project
 /home/heart-hacker/OpenSg/project
 /home/heart-hacker/OpenSg/project/CMakeFiles/MyProject.dir/DependInfo.cmake
 --color=
 make[2]: Leaving directory `/home/heart-hacker/OpenSg/project'
 make -f CMakeFiles/MyProject.dir/build.make CMakeFiles/MyProject.dir/build
 make[2]: Entering directory `/home/heart-hacker/OpenSg/project'
 /usr/bin/cmake -E cmake_progress_report
 /home/heart-hacker/OpenSg/project/CMakeFiles 1
 [100%] Building CXX object CMakeFiles/MyProject.dir/main.cpp.o
 /usr/bin/c++
 *-I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/OpenThreads
 -I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/osg
 -I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include*-o
 CMakeFiles/MyProject.dir/main.cpp.o -c
 /home/heart-hacker/OpenSg/project/main.cpp
 /home/heart-hacker/OpenSg/project/main.cpp:2:20: fatal error: osg/Node: No
 such file or directory
 compilation terminated.
 make[2]: *** [CMakeFiles/MyProject.dir/main.cpp.o] Error 1
 make[2]: Leaving directory `/home/heart-hacker/OpenSg/project'
 make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
 make[1]: Leaving directory `/home/heart-hacker/OpenSg/project'
 make: *** [all] Error 2


 And i have highligted the -i flag. it would be easier to see . One
 thing i want to mention , when i browse through my include file earlier i
 only had two folders namely osg and openthread .. Rest of the header file
 were not there.. So i had to copy others from source directory 


 Anything i am missing?


 On Mon, Feb 4, 2013 at 5:02 AM, Ulrich Hertlein u.hertl...@sandbox.dewrote:

 On 3/02/13 22:51, om prakash Paliwal wrote:
  i executed make VERBOSE=1 and getting a screenful list of texts
 saying somthing has been
  depriciated and at the last is says
 
  make[2]: ***
 [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o] Error 1
  make[2]: Leaving directory
 `/home/heart-hacker/OpenSg/OpenSceneGraph-3.0.1'
  make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all]
 Error 2
  make[1]: Leaving directory
 `/home/heart-hacker/OpenSg/OpenSceneGraph-3.0.1'
  make: *** [all] Error 2

 The above is apaprently from the OSG build directory and any build error
 there may or may
 not be relevant but since that's not the error you're trying to solve
 I'll ignore it.

 What I meant was to compile *YOUR* program with 'make VERBOSE=1' and
 check what '-I' flags
 it sets to find the OpenSceneGraph headers.

 You should find the compiler command line for the file that's failing to
 compile and it
 will contain various '-I directory' lines, one of which should point to
 the directory
 where you have OSG installed.

 Cheers,
 /ulrich

 PS: Please respond to the mailing list thread rather than a private mail.



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


Re: [osg-users] getting errors in creating First OSG program

2013-02-04 Thread om prakash Paliwal
thanks again for the help and assistance ... i am very delighted to be with
u all



On Tue, Feb 5, 2013 at 10:40 AM, Ulrich Hertlein u.hertl...@sandbox.dewrote:

 On 5/02/13 14:29, om prakash Paliwal wrote:
  /usr/bin/c++
  */-I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/OpenThreads
  -I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/osg
  -I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/*-o
  CMakeFiles/MyProject.dir/main.cpp.o -c
 /home/heart-hacker/OpenSg/project/main.cpp
  /home/heart-hacker/OpenSg/project/main.cpp:2:20: fatal error:
 osg/Node: No such file
  or directory
  compilation terminated.
  make[2]: *** [CMakeFiles/MyProject.dir/main.cpp.o] Error 1
  make[2]: Leaving directory `/home/heart-hacker/OpenSg/project'
  make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
  make[1]: Leaving directory `/home/heart-hacker/OpenSg/project'
  make: *** [all] Error 2
 
  And i have highligted the -i flag. it would be easier to see .
 One thing i want to
  mention , when i browse through my include file earlier i only had
 two folders namely
  osg and openthread .. Rest of the header file were not there.. So i
 had to copy others
  from source directory 
 
  Anything i am missing?

 The directory you've set in OSG_DIR is the build directory, which only
 contains the
 binaries and generated files.  The header files are never supposed to be
 there.

 If you do a 'make install' you'll get the libraries *and* the header files
 installed into
 a common location, such as /usr/local.

 Cheers,
 /ulrich

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


Re: [osg-users] getting errors in creating First OSG program

2013-02-02 Thread om prakash Paliwal
I fixed this error as directed by you . but the problem of compilation
with make is still there ...

heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/osgproject/program-2$
make
[100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o
/home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error:
osg/ref_ptr: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
make: *** [all] Error 2



here is the error 




On Sat, Feb 2, 2013 at 11:55 PM, Michael W. Hall hal...@att.net wrote:

 Well on all the items that have the following:

${OSGVIEWER_INCLUDE_DIR

 They all need to be have a closing brace, }.  Putting that at the end
 should get rid of that error.

 On Sat, 2013-02-02 at 11:12 +0530, om prakash Paliwal wrote:
  one more problem i have ... when i complile/build using cmake and then
  use make i get an error .. i have to modify the code genereted by
  cmake to get is corrected .. why so ... the error that is genereted
  are pasted below  is there any problem with installation ..
 
 
 
 
 
 
 
  heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/osgproject/program-2$
 cmake ./
  -- Configuring done
  -- Generating done
  -- Build files have been written
  to: /home/heart-hacker/osgproject/program-2
  heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/osgproject/program-2$
 make
  CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16
  (SET):
Syntax error in cmake code at
 
 
 
 
 /home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:17
 
 
when parsing string
 
 
  ${OPENTHREADS_INCLUDE_DIR
 
 
syntax error, unexpected $end, expecting } (25)
 
 
Policy CMP0010 is not set: Bad variable reference syntax is an
  error.  Run
cmake --help-policy CMP0010 for policy details.  Use the
  cmake_policy
command to set the policy and suppress this warning.
  This warning is for project developers.  Use -Wno-dev to suppress it.
 
 
  CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16
  (SET):
Syntax error in cmake code at
 
 
 
 
 /home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:19
 
 
when parsing string
 
 
  ${OSG_INCLUDE_DIR
 
 
syntax error, unexpected $end, expecting } (17)
 
 
Policy CMP0010 is not set: Bad variable reference syntax is an
  error.  Run
cmake --help-policy CMP0010 for policy details.  Use the
  cmake_policy
command to set the policy and suppress this warning.
  This warning is for project developers.  Use -Wno-dev to suppress it.
 
 
  CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16
  (SET):
Syntax error in cmake code at
 
 
 
 
 /home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:20
 
 
when parsing string
 
 
  ${OSGDB_INCLUDE_DIR
 
 
syntax error, unexpected $end, expecting } (19)
 
 
Policy CMP0010 is not set: Bad variable reference syntax is an
  error.  Run
cmake --help-policy CMP0010 for policy details.  Use the
  cmake_policy
command to set the policy and suppress this warning.
  This warning is for project developers.  Use -Wno-dev to suppress it.
 
 
  CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16
  (SET):
Syntax error in cmake code at
 
 
 
 
 /home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:21
 
 
when parsing string
 
 
  ${OSGUTIL_INCLUDE_DIR
 
 
syntax error, unexpected $end, expecting } (21)
 
 
Policy CMP0010 is not set: Bad variable reference syntax is an
  error.  Run
cmake --help-policy CMP0010 for policy details.  Use the
  cmake_policy
command to set the policy and suppress this warning.
  This warning is for project developers.  Use -Wno-dev to suppress it.
 
 
  CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16
  (SET):
Syntax error in cmake code at
 
 
 
 
 /home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:22
 
 
when parsing string
 
 
  ${OSGVIEWER_INCLUDE_DIR
 
 
syntax error, unexpected $end, expecting } (23)
 
 
Policy CMP0010 is not set: Bad variable reference syntax is an
  error.  Run
cmake --help-policy CMP0010 for policy details.  Use the
  cmake_policy
command to set the policy and suppress this warning.
  This warning is for project developers.  Use -Wno-dev to suppress it.
 
 
  [100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o
  /home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error:
  osg/ref_ptr: No such file or directory
  compilation terminated.
  make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1
  make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
  make: *** [all] Error 2
 
 
 
 
  any correction you suggest ? thanks for the help ..
 
 
  i am also pasting the CMakeLists.txt file

[osg-users] getting errors in creating First OSG program

2013-02-01 Thread om prakash Paliwal
i am a beggineer ... and i stuck at very begining . i created my first OSG
program in ubuntu i get this error message ...


Scanning dependencies of target MyProject
[100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o
/home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error:
osg/ref_ptr: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
make: *** [all] Error 2

 i have used cmake to build CMakeLists.txt .. suceeded

 but when run make command , above errors occured.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] getting errors in creating First OSG program

2013-02-01 Thread om prakash Paliwal
one more problem i have ... when i complile/build using cmake and then use
make i get an error .. i have to modify the code genereted by cmake to get
is corrected .. why so ... the error that is genereted are pasted below
 is there any problem with installation ..




heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/osgproject/program-2$
cmake ./
-- Configuring done
-- Generating done
-- Build files have been written to: /home/heart-hacker/osgproject/program-2
heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/osgproject/program-2$
make
CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16 (SET):
  Syntax error in cmake code at


/home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:17

  when parsing string

${OPENTHREADS_INCLUDE_DIR

  syntax error, unexpected $end, expecting } (25)

  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
  cmake --help-policy CMP0010 for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16 (SET):
  Syntax error in cmake code at


/home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:19

  when parsing string

${OSG_INCLUDE_DIR

  syntax error, unexpected $end, expecting } (17)

  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
  cmake --help-policy CMP0010 for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16 (SET):
  Syntax error in cmake code at


/home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:20

  when parsing string

${OSGDB_INCLUDE_DIR

  syntax error, unexpected $end, expecting } (19)

  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
  cmake --help-policy CMP0010 for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16 (SET):
  Syntax error in cmake code at


/home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:21

  when parsing string

${OSGUTIL_INCLUDE_DIR

  syntax error, unexpected $end, expecting } (21)

  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
  cmake --help-policy CMP0010 for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeFiles/MyProject.dir/DependInfo.cmake:16 (SET):
  Syntax error in cmake code at


/home/heart-hacker/osgproject/program-2/CMakeFiles/MyProject.dir/DependInfo.cmake:22

  when parsing string

${OSGVIEWER_INCLUDE_DIR

  syntax error, unexpected $end, expecting } (23)

  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
  cmake --help-policy CMP0010 for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

[100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o
/home/heart-hacker/osgproject/program-2/test.cpp:1:23: fatal error:
osg/ref_ptr: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/MyProject.dir/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
make: *** [all] Error 2


any correction you suggest ? thanks for the help ..

i am also pasting the CMakeLists.txt file

cmake_minimum_required( VERSION 2.6 )
project( MyProject )

find_package( OpenThreads )
find_package( osg )
find_package( osgDB )
find_package( osgUtil )
find_package( osgViewer )

macro( config_project PROJNAME LIBNAME )
include_directories(${${LIBNAME}_INCLUDE_DIR } )
target_link_libraries(${PROJNAME} ${${LIBNAME}_LIBRARY})
endmacro()

add_executable( MyProject test.cpp )
config_project( MyProject OPENTHREADS )
config_project( MyProject OSG )
config_project( MyProject OSGDB )
config_project( MyProject OSGUTIL )
config_project( MyProject OSGVIEWER )









On Sat, Feb 2, 2013 at 10:55 AM, om prakash Paliwal 
omprakash.paliwa...@gmail.com wrote:

 #include osg/Referenced
 #include iostream

 class MonitoringTarget : public osg:Referenced {
 public:
 MonitoringTarget(int id) : _id(id) {
 std::cout  Constructing target
 _idstd::endl;
 }

 protected:
 virtual ~MonitoringTarget() {
 std::cout  Destroying target _idstd::endl;
 }

 int _id;
 };

 int main() {

 osg

[osg-users] OpenSceneGraph, om prakash Paliwal has invited you to open a Gmail account

2013-02-01 Thread om prakash Paliwal
I've been using Gmail and thought you might like to try it out. Here's an
invitation to create an account.


  You're Invited to Gmail!

om prakash Paliwal has invited you to open a Gmail account.

Gmail is Google's free email service, built on the idea that email can be
intuitive, efficient, and fun. Gmail has:

 *Less spam*
Keep unwanted messages out of your inbox with Google's innovative
technology.

*Lots of space*
Enough storage so that you'll never have to delete another message.

*Built-in chat*
Text or video chat with om prakash Paliwal and other friends in real time.

*Mobile access*
Get your email anywhere with Gmail on your mobile phone.

You can even import your contacts and email from Yahoo!, Hotmail, AOL, or
any other web mail or POP accounts.

Once you create your account, om prakash Paliwal will be notified of your
new Gmail address so you can stay in touch. Learn
morehttp://mail.google.com/mail/help/intl/en/about.htmlor get
startedhttp://mail.google.com/mail/a-9036e4cde3-7fde3cf9ed-PtWAGQI3_3ghvXuXrc-5yVX4W5c?pc=en-rf---a
!
Sign 
uphttp://mail.google.com/mail/a-9036e4cde3-7fde3cf9ed-PtWAGQI3_3ghvXuXrc-5yVX4W5c?pc=en-rf---a

Google Inc. | 1600 Ampitheatre Parkway | Mountain View, California 94043
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] GPU stats on ATI Cards.

2008-07-10 Thread om

hi all,

I am facing a problem with statistics display in ATI cards. The GPU time 
isn't getting displayed if I am running with ATI cards where as there is 
no such issue with NVDIA cards. Is this a known issue? Is there a way in 
which I can get around ?


Thanks

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


[osg-users] Set userdata in Plugins

2008-05-05 Thread om

Hi,

I am having some problems with the .dbf plugin. Can sombody please tell 
what setUserData() method (in ESRIShapeReaderWriter.cpp)does? or where 
the data passed to the method is used?


Thanks

Om
 
___

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


Re: [osg-users] Incorrect geometry display

2008-04-09 Thread om
I would have loved to :-) . Somebody got to persuade my customer ;-) .
Thanks for you response.

Om.
Robert Osfield wrote:

 Hi Om,

 This is a known ATI/Prism driver bug related to wireframe display.

 Personally I'd just get a cheap linux box stuff in a NVidia graphics 
 card, take out the contents of the prism and hide the linux box inside
 and then just pretend you have a prism.  It'll be faster, better 
 software support/hardware, consume less power.

 Robert.

 On Wed, Apr 9, 2008 at 3:51 PM, om [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 I am facing some problems with geometry display in Prism.
 OSG version 2.0, Sgi Prism -IA64 in SLES.
 I am attaching the snapshot of cow model. I am not facing any
 problem in other machines.
 Is this a known issue for Prism? or because some other reasons.

 Thanks

 Om



 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 mailto: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
  


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


Re: [osg-users] I can't use VirtualPlanetBuilder..!

2007-11-26 Thread om

Hi Umit,

The time consumption is because you have not specified the number of 
levels to be generated and the default is 10 levels.
You can reduce the time taken by specifying the number of levels and 
reducing it to 2 or 3.
And  the  improper data  generation  may be due to the  scaling 
factor.Since the data is of very low resolution try giving a scale 
factor in the range of around 10^(-3).


Om



ümit uzun wrote:


Hi Robert;

I wrote all thing what I have done! And I insert all my result in OSGDEM folder 
which you can download from 
http://rapidshare.com/files/72243472/OSGDEM.tar.gz.html . It is almost 15 MB! 
İf you download this folder you can look at images, step by step command and 
created pegout.osga database! Could you open pegout.osga with osgviewer and 
tell me what you see on your monitor?
I only do what you say! But I can't find the problem!

Thanks to all your help..!

Umit UZUN


 


Date: Sun, 25 Nov 2007 12:36:39 +
From: [EMAIL PROTECTED]
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] I can't use VirtualPlanetBuilder..!

Hi Umit,

Big builds can take quite a long time, 2 days for the puget sound data
is odd though, and the strips aren't normal either especially for such
a small dataset as 1kby1k, this I'd expect to complete is
seconds/minutes.

As to what is up at your end, I have no clue.

Robert.

On Nov 24, 2007 2:05 PM, ümit uzun  wrote:
   


Hi All,

I want to ask you simple question? I working to make my terrain database
during a week but I cound'n do it! I only have stripted screen! I try to use
osgdem -t  -d  -o  command
to 1kb images which stayes in
http://www.cc.gatech.edu/projects/large_models/ps.html web site. When I use
this command to make database it takes almost 2 days :) Is it normal period
to make database? And when it finished I only see the strips on the screen!
What is the problem I can't find?

Thanks to Everbody...

Ümit UZUN


Yeni nesil Windows Live Servisleri'ne şimdi ulaşın! Buraya tıkla!
___
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
   



_
Yeni nesil Windows Live Servisleri’ne şimdi ulaşın!
http://get.live.com
___
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


[osg-users] osgterrain

2007-11-07 Thread om
Hi,

Which are the file formats supported by osgterrain?
I tried running the osgterrain example using .osga, .ive and geotiff 
files without any success.
Is their any info available about osgterrain in detail?

Thanks in advance,
Om
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] LOD levels in Terrain generation.

2007-10-18 Thread om
Hi,

I tried to generate paged LOD database using osgdem (Using texture map 
and .dem file as input).
The application is unable to generate the LOD database in case of high 
no of levels(I tried with a level 9 input but only 6 levels were created).
Application quits after generating these levels without any warning or 
error message.
Is there any dependency between the image resolution and no of levels? 
Or is it because of some other reasons?

Thanks.

Om


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


[osg-users] Problem with combining texture maps.

2007-10-04 Thread om
I tried to combine two texture maps with the following command line 
script using osgdem.

osgdem -t W180N90.tif  -t W180N90.tif -l 1 -a output.osga
output.osga shows the second texture map only. It'll be great if 
somebody can enlighten me on where it is going wrong.
I can send the texture maps if required

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


[osg-users] Error while building Virtual Planet Builder

2007-09-21 Thread om
hi,
I am using Open Scene Graph version 2.1.11 and I have checked out latest 
version of Virtual Planet Builder dated 20/09/07.
I am getting the following errors while build.

/VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp: In member function 
`bool TemplateSerializerC, P::read(osgDB::Input, osg::Object , bool)':
/VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp:212:  error: 'class 
osgDB::Input' has no member named 'read'

/VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp: In member function 
`bool Vec4SerializerC::read(osgDB::Input, osg::Object, bool )':
/VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp:255:  error: 'class 
osgDB::Input' has no member named 'read'

/VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp: In member function `bool
GeospatialExtentsSerializerC::read(osgDB::Input, osg::O bject, bool)':
/VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp:343:  error: 'class 
osgDB::Input' has no member named 'read'

Can anybody please suggest which version of OSG to be used or how to 
resolve this problem?

Thanks

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