Hi Ulrich
thanks for help.
I use/try this code for the moment :
osg::StateSet* state = g-getOrCreateStateSet();
state-setMode(GL_BLEND,osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE);
osg::Material* mat =
(osg::Material*)state-getAttribute(osg::StateAttribute::MATERIAL);
Hi Robert,
Thanks for your eMail. First of all i like to do a review of the current
kdTree code, w.r.t. the build method. As we know form the publications about
kdTree based Real Time Ray Tracer the build method and some heuristics are
more important than the traversal. May the sah heuristic will
Hi Vincent,
I see you still havent found a solution. So here I send you a complete example
of transpareny.
Its a modification of the Viewer example from the Qucik start guide.
It loads up a cow and overrides the alpha to 0.1.
Hope you can start from there.
Dimi
// Viewer Example, A minimal OSG
Hi
Yes, no solutions seems to work on my problem.
Because all the propositions concern nodes, I permit to remember that I am
looking at a way to set alpha level on a osg::Geometry ...
On node I already have a method using material : set alpha channel, and it
works good... But on my geometry
Vincent Bourdier wrote:
Hi
Yes, no solutions seems to work on my problem.
Because all the propositions concern nodes, I permit to remember that I
am looking at a way to set alpha level on a osg::Geometry ...
On node I already have a method using material : set alpha channel, and
it works
Hi Paul.
Nothing changes with color's alpha changed...
2008/7/15 Paul Speed [EMAIL PROTECTED]:
Vincent Bourdier wrote:
Hi
Yes, no solutions seems to work on my problem.
Because all the propositions concern nodes, I permit to remember that I am
looking at a way to set alpha level on a
Alberto,
skydome-setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR).
a class osg::Camera inherits from
Sorry - missed a step. Put a Camera in above your skydome.
A solution that comes to my mind is to use a pair of cameras, one rendering
the skydome with the setting you
I just wanted to let you know how I solved my problem: it seems that
one has to avoid sending the resize events to OSG when the new size
has zero area, that is, the width or height are == 0. Basically I just
put the condition if ( width * height ) in the Qt's resize event
handler before
Hi All,
I have an model composing of different part of component in .3ds format. I
am trying to traverse in these part of component and translate them. As like
as
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/FindingNodessample'
I want to control part of component with
Hi Ümit,
osg::DOFTransform is a subclass of the more general osg::MatrixTransform.
If I'm reading the intention of the model right, you have 2 MatrixTransform
nodes - named *3DSPIVOTPOINT: Rotate* and *3DSPIVOTPOINT: Translate
pivotpoint to (world) origin* above some geometry *1_planetar*.
On Tue, Jul 15, 2008 at 3:15 AM, Paul Martz [EMAIL PROTECTED] wrote:
This looks like it was a pain in the butt. Thanks for adding this interface.
Is there any way we can get the supported entry point info that osgio -csv
was capable of displaying? (You know, a plugin says it supports format
Hi Vincent,
odd... could you save the scene and post it?
/ulrich
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi Biv,
Since Archive inherits from ReaderWriter, the Archive::ArchiveStatus
is the same thing as ReaderWriter::ArchiveStatus. I guess it's
possibly slightly less confusing to have the functions use
ReaderWriter::ArchiveStatus, but there's not much in it.
Robert.
On Mon, Jul 14, 2008 at 10:39
Hi John,
On Tue, Jul 15, 2008 at 2:48 AM, John Burgess
[EMAIL PROTECTED] wrote:
I've tried the KdTree but my update traversal rate is still the same as
before. Below is my code snippet to enable KdTree, am I doing the right
thing?
Sure
This is my Billboard node which won't set its geometry to transparent.
thanks for help.
Regards,
Vincent
2008/7/15 Ulrich Hertlein [EMAIL PROTECTED]:
Hi Vincent,
odd... could you save the scene and post it?
/ulrich
___
osg-users mailing
Hi Adrian,
On Tue, Jul 15, 2008 at 8:15 AM, Adrian Egli OpenSceneGraph (3D)
[EMAIL PROTECTED] wrote:
Thanks for your eMail. First of all i like to do a review of the current
kdTree code, w.r.t. the build method. As we know form the publications about
kdTree based Real Time Ray Tracer the build
Hi Michele,
We should probably add such as catch higher up in the OSG. I'm
spinning half a dozen plates at this end so would appreciate if you
could chase this up.
Robert.
On Tue, Jul 15, 2008 at 9:36 AM, Michele Bosi [EMAIL PROTECTED] wrote:
I just wanted to let you know how I solved my
This is because when you set alpha to the vertices and attach also an material
and a blending function you have to setColorMode (AMBIENT_DIFFUSE) on the
material.
Dimi
- Original Message
From: Vincent Bourdier [EMAIL PROTECTED]
To: OpenSceneGraph Users
Hi Dimi,
this is my code :
osg::StateSet* state = g-getOrCreateStateSet();
state-setMode(GL_BLEND,osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE);
osg::Material* mat = new osg::Material;
mat-setAlpha(osg::Material::FRONT_AND_BACK, alpha);
Ok,
I fixed your osg file so that it displays varrying tranparency (top
transparent, bottom opaque).
I assume this is what you wanted.
Do an diff on the files and see what you did wrong You set the colors per
primitive and not per vertex.
- Original Message
From: Vincent
Hi Robert,
Thanks for the advice, after using KdTree and LineSegmentIntersector, my update
traversal rate reduce from 700ms to 60ms.
Regards,
John
- Original Message
From: Robert Osfield [EMAIL PROTECTED]
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Sent: Tuesday, July
Ho Johm,
On Tue, Jul 15, 2008 at 11:33 AM, John Burgess
[EMAIL PROTECTED] wrote:
Thanks for the advice, after using KdTree and LineSegmentIntersector, my
update traversal rate reduce from 700ms to 60ms.
Much better, but still not good enough...
How to get the time lower will depend upon what
Thanks a lot !
I did some changes to have the same osg file, and it work very good now !!!
It seems to be a mix of different settings.
thanks for your help.
Regards,
Vincent.
2008/7/15 dimi christop [EMAIL PROTECTED]:
Ok,
I fixed your osg file so that it displays varrying tranparency
All,
Seeking OSG developers Australia to participate in developer study...
I am undertaking a PhD in UML based 3D Software Visualisation at RMIT,
Melbourne, Australia. As part of that I wish to investigate 3D
software visualisation for use by OpenSceneGraph developers.
My methodology is user
Hi David,
Firstly thanks for reply. I actually want to handle part of model components
and make some operation on them. I have tried findNodeVisitor sample for my
model. My model has 7 children node and all of them are geode node. But I
have 8 MatrixTransform node which are handle only 4 of them,
I'm attempting to render to a texture and then dump the rendered texture to a
file (every frame), but I'm having trouble.
I've attempted to use the osgprerender example (using the --image option), and
replaced the MyCameraPostDrawCallback::operator() to have a
osgDB::writeImageFile(*_image,
Hi,
make sure the image writer can handle your image format. Bands usually
mean an alignment error in the data the writer expects. E.g. expects
binary input data to be RGB, but the data is RGBA.
.jpg does not support alpha I think.
Try .png
jp
[EMAIL PROTECTED] wrote:
I'm attempting to
- The anti-aliased look of the fonts is really nice in most cases, but
when trying to render small fonts it would be nice if you could
disable it. Basically, I'd like to get the sharp look of the
DefaultFont using the FreeType plugin.
Just to reinforce the above point, we used the freetype
Ümit,
Firstly, do you need to add MatrixTransforms above all your geodes, or just
the ones that have them now?
You have a couple of strategies.
The first one is to modify your model so it has uniquely named
_MatrixTransforms_ above every geode. At the moment they are all called the
same thing,
Hey Robert,
I ran into issues while working on osgSwig Cmake files for Java. While
trying to compile the java classes, javac complained about not knowing what
Archive::ArchiveStatus was. I changed it locally to be ReaderWriter status
and got by those javac compile errors.
biv
On 7/15/08 4:29 AM,
On Tue, Jul 15, 2008 at 2:03 PM, Gerrick Bivins
[EMAIL PROTECTED] wrote:
Hey Robert,
I ran into issues while working on osgSwig Cmake files for Java. While
trying to compile the java classes, javac complained about not knowing what
Archive::ArchiveStatus was. I changed it locally to be
Thanks!
Now if only the rest were that easy!!!
;)
biv
On 7/15/08 8:43 AM, Robert Osfield [EMAIL PROTECTED] wrote:
On Tue, Jul 15, 2008 at 2:03 PM, Gerrick Bivins
[EMAIL PROTECTED] wrote:
Hey Robert,
I ran into issues while working on osgSwig Cmake files for Java. While
trying to compile
Hi David,
Thanks for your useful help. I will try to create new TransformMatrixes for
unhandled geodes. First method can create so many problem. Programmatic way
is more understandable. Maybe, after I create MatrixTransformes and collect
all components then I can save .osg format the model with
Hi All,
I am a beginner of OSG.
I used OsgViewerMFC to load a sphere into the scene, but it displays as an
ellipsoid.
The radius doesn't seem to be equal in two orthotropic axes.
I find that it may be related to the width and height of the view window
when initializing.
The
Hi All,
svn experts I need you!!
I'm now ready to pull in Jeremy Moles work on osgWidget, and have tried:
cd OpenSceneGraph/include
svn copy http://osgwidget.googlecode.com/svn/trunk/include/osgWidget/ .
Now this copies the files into my local copy, but reports the message:
svn: Source URL
On Tue, 2008-07-15 at 15:42 +0100, Robert Osfield wrote:
Hi All,
svn experts I need you!!
I'm now ready to pull in Jeremy Moles work on osgWidget, and have tried:
cd OpenSceneGraph/include
svn copy http://osgwidget.googlecode.com/svn/trunk/include/osgWidget/ .
Now this copies the
I have seen some examples, somewhere I think, where you could have one
texture on the lit side of an object and then have another texture on the
dark side. I am thinking of the earth where you could see lights in cities
on the dark side. Did I really see that somewhere or is that my
imagination?
In our company's advertisement the August edition of Linux Journal
you'll see a picture of my laptop running OpenSceneGraph
applications. :) It's nothing too special, but if any of you guys get LJ
let me know if you can spot them...
___
osg-users
Hi,
El Martes 15 Julio 2008ES 16:42:12 Robert Osfield escribió:
Is there some option in svn that I'm missing?
Generally joining two repositories require to do some administration work with
the svnadmin tools.
First you would get the dump file of the osgWidget repository with svnadmin
dump.
On Tue, Jul 15, 2008 at 3:44 PM, Jeremy Moles [EMAIL PROTECTED] wrote:
You would lose the history, but this may not be too big of a deal,
really. I've been good about keeping the CHANGELOG up to date, but my
commit messages are hardly worth preserving. As a matter of fact, I had
always assumed
Hi Alberto,
Thanks for the explanation. It sounds like there a few steps extra in
doing the full import of histories, given that Jeremy is up for a
straight import minus histories I'll go this route for an easy life.
Robert.
On Tue, Jul 15, 2008 at 4:06 PM, Alberto Luaces [EMAIL PROTECTED]
Hi and welcome to OSG.
You need to make sure your viewport and projection matrix have
equivalent aspect ratios.
The best way to do this in MFC is to use the viewport dimensions that
your using (traits-width, traits-height) and then change your
projection matrix to match that aspect ratio.
On Tue, Jul 15, 2008 at 5:41 AM, Kim C Bale [EMAIL PROTECTED] wrote:
Just to reinforce the above point, we used the freetype library to
generate OpenGL screen fonts here and found that for font sizes 12
Disabling anti-aliasing really improved the clarity of the font. So much
so we made it
Hi All,
I have just completed the import of Jeremy Moles osgWidget library
into OpenSceneGraph SVN trunk. I merged with relatively few changes -
mainly just CMakeLists.txt file changes and move of
imager/scripts/shaders out into OpenSceneGraph-Data SVN trunk.
We need to come up with some new
Running ccmake I get:
---
CMake Error: Error in cmake code
at /home/cubicool/sources/svn-OpenSceneGraph/examples/CMakeLists.txt:152:
Parse error. Expected a command name, got right paren with text ).
The end of a CMakeLists file was reached with an IF statement that was
not closed properly.
Sorry about this, typo on editing a CMakeLists.txt, I've now made the
fix and checked it in, I presume it'll be the same as yours.
On Tue, Jul 15, 2008 at 6:33 PM, Jeremy Moles [EMAIL PROTECTED] wrote:
Running ccmake I get:
---
CMake Error: Error in cmake code
at
Hello Robert,
Regarding osgWidget's examples, should their CMakeLists.txt files use
the SETUP_EXAMPLE() macro as do all the other OSG examples? I would
assume so since this will make things more consistent. If so I can help
convert them to use this macro.
Also, do we want osgwidgetversion
Looks like there's a small spelling error in the style plugin
placeholder; it's calling itself:
osgdb_osgwisget
:)
On Tue, 2008-07-15 at 18:39 +0100, Robert Osfield wrote:
Sorry about this, typo on editing a CMakeLists.txt, I've now made the
fix and checked it in, I presume it'll be
On Tue, 2008-07-15 at 19:41 +0100, Robert Osfield wrote:
Hi Jeremy,
On Tue, Jul 15, 2008 at 6:50 PM, Jeremy Moles [EMAIL PROTECTED] wrote:
Looks like there's a small spelling error in the style plugin
placeholder; it's calling itself:
I haven't merged the style plugin, I'll leave a
On Tue, 2008-07-15 at 14:27 -0400, Jean-Sébastien Guay wrote:
Hello Robert, Jeremy,
Thanks in advance for you assistance on testing. Once it looks like
things are building across all our main platforms I'll go ahead and
tag another dev release.
Builds on Windows Vista, VS8 here, with
Hi Adrian,
On Tue, Jul 15, 2008 at 7:44 PM, Adrian Egli OpenSceneGraph (3D)
[EMAIL PROTECTED] wrote:
I played with the osg::KDtree.cpp and did a review. then after thinking a
while how we can reduce the number of flops, i found one first optimisation
we should do. the ray or just a line with
Hi Jeremy,
Ah, interesting. I always figured I was doing folks a favor by
hard-coding a small size, but code can certainly be added to have it
behave as you suggest.
Well, I (and most people with 19 inch monitors) have 1280x1024 native
resolution, so your window should fill the whole screen,
On Tue, 2008-07-15 at 15:04 -0400, Jean-Sébastien Guay wrote:
Hi Jeremy,
Ah, interesting. I always figured I was doing folks a favor by
hard-coding a small size, but code can certainly be added to have it
behave as you suggest.
Well, I (and most people with 19 inch monitors) have
Hi JS and Jeremy,
On Tue, Jul 15, 2008 at 8:14 PM, Jeremy Moles [EMAIL PROTECTED] wrote:
From my experience, if you have a 1024x768 orthographic
camera-in-camera setup for your HUD, and then you make the window
fullscreen, the orthographic camera still has a resolution of 1024x768,
even
Hi Jeremy,
On Tue, Jul 15, 2008 at 7:46 PM, Jeremy Moles [EMAIL PROTECTED] wrote:
There are some remaining focus list bugs I'm working on...
We have a BugResolution page on the wiki, I'd suggest putting
outstanding bugs on here, we can then work out which ones will be
possible to resolve before
On Tue, 2008-07-15 at 20:19 +0100, Robert Osfield wrote:
Hi JS and Jeremy,
On Tue, Jul 15, 2008 at 8:14 PM, Jeremy Moles [EMAIL PROTECTED] wrote:
From my experience, if you have a 1024x768 orthographic
camera-in-camera setup for your HUD, and then you make the window
fullscreen, the
Hi Jeremy,
It's all up to the ResizeHandler though; if you wanted to ALWAYS work in
some coordinate space like 1024x768, it should be possible just by using
(or perhaps not even using) a different ResizeHandler. The one I created
in ViewerEventHandler, however, tries to make sure the
Hi Jeremy, J-S, Robert,
I just updated to the latest and greatest (r8597), and the new osgWidget code
is throwing the following errors when I try to compile:
64Bit Linux, RHEL4, gcc3.4.6
src/osgWidget/Window.cpp: In member function `bool
Hi Justin,
My guess is that we can probably relax the use of private: in this context.
I've moved the private sections into the protected section, and
re-ordered the class interface so that the public section is first,
along the lines of the rest of the OSG. An svn update will provide
this
Robert,
I've got a patch incoming fixing all of the data problems and
what-have-you. I'll also attach a zipfile of the new stuff for
OpenSceneGraph-Data, which is all safe to use and redistribute.
On Tue, 2008-07-15 at 17:58 +0100, Robert Osfield wrote:
Hi All,
I have just completed the
On Tue, 2008-07-15 at 16:29 -0400, Vican, Justin E. wrote:
Hi Robert,
That did the trick.
Everything in r8598 builds fine (Linux RHEL4, 64Bit, gcc3.4.6).
All of the osgWidget example applications build and run without crashing, but
I am getting warnings/errors about missing files/images.
2008/7/15 Robert Osfield [EMAIL PROTECTED]:
Hi Adrian,
On Tue, Jul 15, 2008 at 7:44 PM, Adrian Egli OpenSceneGraph (3D)
[EMAIL PROTECTED] wrote:
I played with the osg::KDtree.cpp and did a review. then after thinking a
while how we can reduce the number of flops, i found one first
eee!!
I did it !
I m doing videos with the code of osghelp page and ffmepg on linux .
tomorrow I put the code here using an osg::Camera
thank you guys !
no more tears :D
___
osg-users mailing list
osg-users@lists.openscenegraph.org
63 matches
Mail list logo