On Wed, 1 Oct 2008 18:21:29 -0600
"Paul Martz" <[EMAIL PROTECTED]> wrote:
Thanks for the quick answer. :-)
> Have you looked at the examples? I'm sure there's an ortho example
> somewhere. Try searching the code. It _does_ work (I used it in an RTT
> example recently), so this is almost certainly
Have you looked at the examples? I'm sure there's an ortho example
somewhere. Try searching the code. It _does_ work (I used it in an RTT
example recently), so this is almost certainly a bug in your code.
Viewer::run() adds a camera manipulator under the hood, which is changing
your view matrix, s
Hi guys, I've recently delved into osgPPU and am loving it. I have a scene
beautifully rendering with HDR. However, when I tried adding osgShadow
ShadowMap to the scene I had conflicts. I don't yet know exactly what is going
just yet but I was wondering if anyone has had success combining these
Hi,
i'm quite new to OSG and try to write some simple tasks. In the code
below i tried ortho projection, but not matter if I put the triangle in
the XY or XZ plane,if i attach the_geode or trans as scene data,nothing
gets displayed. the corresponding code in pure GL works without any
problem. what
A single Geometry can only have one StateSet and can't change OpenGL state
within a Geometry, so I'm not sure how you expected this to work. Other than
building a texture atlas, your best bet would be to leave them as two
separate Geometries.
-Paul
>
> Hi all,
> I am trying to merge two geo
brettwiesner wrote on Wednesday, October 01, 2008 3:27 PM:
> Hey Robert,
>
> I'm confused about what you mean here. Many plugins have read/ write
> methods that take istreams/ ostreams (ReaderWriterIVE being one of
> them). However, since I can't subclass them I can't attach to the
> stream. For
Hey Robert,
I'm confused about what you mean here. Many plugins have read/ write
methods that take istreams/ ostreams (ReaderWriterIVE being one of
them). However, since I can't subclass them I can't attach to the
stream. For example, in ReaderWriterIVE::writeNode() a std::ofstream is
created
Hi all,
I am trying to merge two geometry objects that have two different
textures by using the merging function:
bool Optimizer::MergeGeometryVisitor::mergeGeometry(osg::Geometry&
lhs,osg::Geometry& rhs)
After calling this function, one of these objects looses its own
texture. In fact it inher
"It's such a fundamental aspect of a Scenegraph. From all the example's
I've seen in osg, everything is put on the root level. There's no
concept of a local coordinate system based on some (root) object."
That's an incorrect assumption, just because a couple of samples just
put the data at the
Hi Ben,
GL_ARB_fragment_shader
In order to use the shadow fragment shader, you need this one too. If
it's not supported by your card, osgShadow::ShadowMap (and most shadow
techniques) can do a fixed function fallback. To see if this works for
you, you can call shadowMap->clearShaderList() b
Hi Jean,
Thanks for the list of extensions that you test for in the ShadowMap. However,
I have a graphics card that meets those requirements yet still does not render
ShadowMap shadows. Can you tell me if any of these extensions look like the
'smoking gun' as to why this card does not display
Hi Brett,
A number of the plugins support reading a writing from istream/ostream
which means you can implement your std::streambuffer and attach to the
stream and then pass this to the plugin. This technique allows you to
do items like compression/decompression/encription/decription. Have a
look
Hi Ivan,
Thanks for the update.
On the OSG side I've written a DCMTK based OSG dicom loader, it's
still not finished as I keep encountering dicom files that break the
assumptions made in the plugin about the nature of dicom files - it is
a bit of long haul trying to get my head around all the dif
brettwiesner wrote on Wednesday, October 01, 2008 11:54 AM:
> Bryan,
>
> Thanks for the reply. See inline...
>> You could implement your own loader with a different file extension
>> (say, ".enc") that does the en/decryption and then calls the IVE
loader
>> to load the resulting data. The curl lo
Bryan,
Thanks for the reply. See inline...
You could implement your own loader with a different file extension
(say, ".enc") that does the en/decryption and then calls the IVE loader
to load the resulting data. The curl loader does something like this.
This is what I did originally. There w
Hello James,
It's such a fundamental aspect of a scenegraph. From all the example's
I've seen in osg, everything is put on the root level. There's no
concept of a local coordinate system based on some (root) object.
Of course there is.
MatrixTransform:
http://www.openscenegraph.org/document
On Wed, 2008-10-01 at 10:57 -0400, Tomlinson, Gordon wrote:
> Why should there be an example of this ?
>
It's such a fundamental aspect of a scenegraph. From all the example's
I've seen in osg, everything is put on the root level. There's no
concept of a local coordinate system based on some (
brettwiesner wrote on Wednesday, October 01, 2008 11:02 AM:
> I've got a requirement to ship certain 3rd party model data only in an
> encrypted format. So I wrote my own loader that does the encryption/
> decryption but uses the IVE loader for everything. This works except
for
> files that referen
Hi,
I've got a requirement to ship certain 3rd party model data only in an
encrypted format. So I wrote my own loader that does the encryption/
decryption but uses the IVE loader for everything. This works except for
files that reference other files. The master file is encrypted, but the
refe
Hi Robert,
To update the info on the topic, it seems that ITK is starting to support
GDCM 2.x. It is in the ITK CVS at a very preliminary stage yet (they say not
to use it yet but for experimentation) but has not been merged yet as it
does not compile with VS6. They are even thinking on dropping s
> Hi Paul,
>How often do you guys do these training sessions? I doubt
> my company will want to send me this time, but it might be
> worth sending a few of us in the future if these sessions
> will continue to be offered.
>
>For that matter, how often do you do the OpenGL training?
>
Why should there be an example of this ?
You're the 1st person to this ask for particular exact usage, that I
have seen on this list.
As to examples of using just transforms there are many and they are also
covered in most of the tutorials online and into the Guide to OSG
written by Paul Martz
On Wed, Oct 1, 2008 at 3:34 PM, Brian R Hill <[EMAIL PROTECTED]> wrote:
> I'm looking into this. I'm guessing there might be issues with embedded
> quotes and possibly brackets "{}" (at least with the .osg files).
The .osg serialization should handle this without problem, including embedded ".
Ro
Hi Paul,
How often do you guys do these training sessions? I doubt my
company will want to send me this time, but it might be worth sending
a few of us in the future if these sessions will continue to be
offered.
For that matter, how often do you do the OpenGL training? I have a
reasonable
Just out of curiousity, is arbitrary data handled correctly for these
fields? I.e. could you abuse it to store binary data?
If not, you can always do something like base64-encoding first, of
course ;-)
Paul
Serge Lages wrote:
Hi,
If you only need to set text, use the descriptions fields or t
I'm looking into this. I'm guessing there might be issues with embedded
quotes and possibly brackets "{}" (at least with the .osg files).
Brian
[EMAIL PROTECTED] wrote: -
To: OpenSceneGraph Users
From: Paul Melis <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 10/01/2008 10:08AM
Subjec
On Wed, Oct 1, 2008 at 2:07 PM, Melchior FRANZ <[EMAIL PROTECTED]> wrote:
> * Melchior FRANZ -- Saturday 27 September 2008:
>> yes. Meanwhile I switched back to OSG revision 8779 and
>> the problem is gone.
>
> No, just got it again with that revision. So the bug is very
> likely in FlightGear, as
J.P.
Thanks for the advice. I believe I see how to connect objects together
and will hand over a sample if I can get one going. I'm sorta in
disbelief that an example like this doesn't seem to exist.
James
J.P. Delport wrote:
hello,
you can connect transforms together in a parent child fa
Serge,
Thanks, I was just looking into using the description when I got your
message.
Brian
[EMAIL PROTECTED] wrote: -
To: "OpenSceneGraph Users"
From: "Serge Lages" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 10/01/2008 09:55AM
Subject: Re: [osg-users] How to add UserData to .osg
Hi,
If you only need to set text, use the descriptions fields or the name
instead of the UserData, it will be written to the IVE or OSG file without
problem.
Cheers,
On Wed, Oct 1, 2008 at 3:41 PM, Brian R Hill <[EMAIL PROTECTED]> wrote:
>
> I'm trying to add user data (text) to nodes and write
I'm trying to add user data (text) to nodes and write them out
as .osg/.ive.
Any suggestions on how I can do this?
Brian
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegrap
* Melchior FRANZ -- Saturday 27 September 2008:
> yes. Meanwhile I switched back to OSG revision 8779 and
> the problem is gone.
No, just got it again with that revision. So the bug is very
likely in FlightGear, as I don't think I had problems with
revisions around that time.
m.
_
Hi Robert, Alejandro,
I haven't personally worked with non earth data yet, but it
should be possible to add better accounting of non earth data,
although I can't say without reviewing the data more closely how
transparently we can archive this. Perhaps a --geoecentric-moon etc
could be done as
Hello Wojtek, Adrian,
Lets imagine following case: suppose that such the
same light will get used by lighting and shadow computation. It may
bring some discrepancies if happens to be preceded by some
trransformation. When used with lighting it will be premultiplied by
inverse model view but w
2008/9/30 Simon <[EMAIL PROTECTED]>
> Yup, the mfc example is broken.
Doh, ignore me. Just problems with loading plugins, it fails silently...
Mind you the MFC version keeps flashing the screen black when resizing
whilst
the one I wrote which uses setUpViewerAsEmbeddedInWindow doesn't.
>
> If
Hello,
I'm not sure I completely understand the question here, so I hope this
answer is not too far off the point.. However, while this is fresh in my
head, I just spent some time puzzling over PagedLOD and ProxyNode because I
couldn't find any good examples. I think my initial confusion wa
Hi Alejandro,
VPB developed focused on earth data, so --geocentric automatically
sets up the earth sizes, so I guess this is probably where things go
adrift. I haven't personally worked with non earth data yet, but it
should be possible to add better accounting of non earth data,
although I can't
Hi Alan,
For the most part you should never need to touch the DatabasePager
even when you are using paged database, the osgViewer will create and
manage the DatabasePager for you when you have paged databases, all
automatically without any need for intervention. There are no OSG
examples demonstr
Hi Adrian,
I suppose that pluging the LightNode as parent or earlier sibling of
ShadowedScene should work. OSG handles LightNodes, ClipNodes and TexGenNodes in
such a way that last such node encounterd in traversal will be used for whole
render stage during rendering traversal. So there is a ch
Hi Paul,
It does sound a like race condition. osgViewer::GraphicsWindowX11
does maintain two Display handles to the X server to enable the
graphics thread and the main thread to both safely make X11 calls,
perhaps this isn't being managed correctly in your case.
BTW, you can switch off the curso
Hi Jesper,
I'm not a windows developer so can't help with MFC specific issues,
but I'll try to comment on the OSG specific questions:
On Tue, Sep 30, 2008 at 3:32 PM, Jesper D. Thomsen <[EMAIL PROTECTED]> wrote:
> When debugging the application I noticed that the
> viewer-view-_slaves-[0]-_projec
Hi Matthieu,
SingleThreaded is not necessarily more "safe" than multi-threaded,
both are perfectly safe if you don't abuse the constraints relating to
threading model you are using. SingleThreaded has the fewest
constraints so you can often get away with usage models that really
aren't good pract
42 matches
Mail list logo