[osg-users] Is OSG for iOS a good candidate for displaying PLY files?

2013-12-26 Thread aaron wetzler
Hi I have asked some students under my supervision to display PLY files that they have created and are stored on a server. The idea is they have built an app in iOS and then they connect to the server, download the PLY files and then display them on the iPhone\iPad. They have no experience with

Re: [osg-users] render depth buffer to image for one time

2011-07-02 Thread aaron wetzler
Sergey, thank you so much for your help. Its been very useful and has helped me focus my attention on the right things. I have almost finished what I needed to do. I have one last question: I now have an RTT camera which I take its depth and color attachments from. The RTT camera is a slave to

Re: [osg-users] render depth buffer to image for one time

2011-07-02 Thread aaron wetzler
I was being silly. I simply didnt pick the right values for the near and far planes. This was my solution: Code: viewer.getCamera()-setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); double left,right,bottom,top,fovy,aspectratio,near,far;

Re: [osg-users] render depth buffer to image for one time

2011-07-01 Thread aaron wetzler
Hi Sergey I would like to understand exactly how the graphics pipeline works and am struggling to figure this out by digging through the code (are there free books that deal with OSG and its implementation details in-depth? I dont mean the QSG by Paul Martz...). Also, my understanding of

[osg-users] Displaying depth buffer

2011-06-27 Thread aaron wetzler
Hi, I would like to render the depth buffer of my scene instead of the color buffer. I would also like to be able to save the depth buffer and the colorbuffer to a file (i.e. bmp or jpg or whatever). How can I do this? Cheers, aaron -- Read this topic online here:

Re: [osg-users] unable to save render-to-texture image

2011-06-27 Thread aaron wetzler
Hi loveRiceee Did you manage to get this working? Aaron loveRiceee wrote: Hi,all I was trying to save a render-to-texture image file many ways, however, failed each time. when i attach texture to camera.it works fine. but i attach image to camera. it doesn't work right. I saved the

Re: [osg-users] render depth buffer to image for one time

2011-06-27 Thread aaron wetzler
SOLUTION For anyone who struggled with this here is my solution. I really have no idea how correct it is but it works for me Code: //Setup of the viewer and scenedata here osg::ref_ptrosg::Camera osgCam = viewer.getCamera(); osg::ref_ptrosg::Image colorImage= new osg::Image;

Re: [osg-users] render depth buffer to image for one time

2011-06-27 Thread aaron wetzler
Thanks hybr and robertosfield for your comments. Both useful and I will use those tips. Although my solution does work its not enough and Im now stuck on a couple of things. If you could point me in the right direction or to the right links that would be great 1)How do I render the depth

Re: [osg-users] [osgPlugins] Export Blender to OSG

2011-06-03 Thread aaron wetzler
This is for anyone who is struggling to install osgExport on windows or mac for use with Blender. The configuration which currently works for me uses Blender 2.49 (thanks Cedric!) Windows 7 1)Download and install Blender 2.49 2)The scripts folder is in your hidden AppData folder. So on my PC

Re: [osg-users] [osgPlugins] Export Blender to OSG

2011-05-30 Thread aaron wetzler
Hi Alberto You are right. I found the osgExport and osgAnimation. Im currently really stuck on the osgExport though and would really like to be able to find a version of blender and a version of osgExport that work together. Do you have any experience with this? Do you know which versions of

Re: [osg-users] osgexport for blender?

2011-05-29 Thread aaron wetzler
damyon wrote: Hi Alberto, Here is an updated script that should fix this crash. Cheers, Damyon Hi Damyon I have been struggling to install the exporter. Could you tell me what the steps are for using the file you have attached above are in Blender 2.57 on Windows 7? The steps I took

Re: [osg-users] [osgPlugins] Export Blender to OSG

2011-05-29 Thread aaron wetzler
Hi, I have the following task to do: 1. Import a mesh of a hand (.obj) into blender. Create an armature in Blender 2. Skin the armature with the hand mesh. 3. Export this armature and mesh into OSG. 4. Alter the armature poses in OSG and output a set of jpgs or bmps of the depth maps of the

Re: [osg-users] osgexport for blender?

2011-05-29 Thread aaron wetzler
Hi Damyon Thanks for your reply. I didnt manage on windows so Im now trying on Mac OSX. I did as you suggested and copied the folder osg and the file osgExport.py into /Applications/blender.app/contents/MacOS/2.57/scripts/addons and once again the line for the osgExporter appears inside blender.