[osg-users] Add Text in texture in OSG

2010-05-08 Thread Nitin Rangari
Hi all,

I want to add my Own text in Texture within particular  Location in
Texture
where I click mouse cursor.
Is there anyone have any idea regarding same

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


Re: [osg-users] OBJ export of Shapes, any progress or workarounds?

2010-05-08 Thread Alberto Luaces
Dženan Zukić writes:

 Hi,

 I have read some older threads why aren't shapes appearing in obj files. I 
 understand the problem, but for inexperienced OSG users like myself it is 
 quite hard to improve OBJ exporter to capture the triangles that are used to 
 draw ShapeDrawables.

 Has anyone written some code that solves or circumvents this problem?

Hi Dženan,

OsgWorks (http://code.google.com/p/osgworks/) has osg::Geometry-based
utility functions to render rudimentary shapes such as planes, boxes,
spheres, and arrows., so you can substitute your shapes for several of
those an they will get written in the file.

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


Re: [osg-users] osgGA/SphericalManipulator : Cannot open include file

2010-05-08 Thread Sanat Talmaki
Hi Jason,

I'll try that out and see.

Thanks

Sanat

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





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


Re: [osg-users] OBJ export of Shapes, any progress or workarounds?

2010-05-08 Thread Dženan Zukić
Hi,

Thanks, I will look into it.

Cheers,
Dženan

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





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


Re: [osg-users] Add Text in texture in OSG

2010-05-08 Thread Gordon Tomlinson
On Windows you can use GDI/GDI++ to blit text in to a image buffer

 


__

Gordon Tomlinson 

gor...@gordontomlinson.com
www.photographybyGordon.com

www.vis-sim.com http://www.vis-sim.com/  

www.gordontomlinson.com http://www.gordontomlinson.com/  

IM: gordon3db...@3dscenegraph.com


__

 

From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Nitin
Rangari
Sent: Saturday, May 08, 2010 2:50 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Add Text in texture in OSG

 

Hi all,

 

I want to add my Own text in Texture within particular  Location in
Texture

where I click mouse cursor.

Is there anyone have any idea regarding same

 

Cheers,

Nitin 



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


[osg-users] Front to back blending in osgVolume

2010-05-08 Thread Martin Panknin
Hi,

I'm currently looking into the osgVolume nodekit and the osgVolume example as 
I'm trying to implement a simple volume raycasting shader in osg, which I have 
previously written in Rendermokey. 

The shader calculates the direction for the ray by rendering the front and back 
faces of a unit cube. The difference between the faces is stored in a texture 
and serves for the direction look up. I'm using front to back blending as I 
need to integrate early ray termination due to performance reasons. 

As far as I understand it by looking at the source, the osgVolume example uses 
back to front blending and I'm wondering, if the functionality for front to 
back blending is already available in osgVolume. What would be the best way for 
generating the direction texture in this case? Can this be done directly in osg 
or do I have to use for example osgPPU in order to setup my rendertargets?

Any hints are greatly appreciated.

Thank you!

Cheers,
Martin

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





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