Hi forest,
If you had implement cOSG class on your program, you should be careful about
destroying viewer and threads precedence. Sometimes it can be crash as you
experienced because when destroying threads process time need. In
osgviewerMFC project AfxMessageBox(Exit Rendering Thread); message
Hi Csaba,
thank you very much for the pointers. As you said, activating the reports on
cmake generates the DartConfiguration.tcl. Now I'm wrestling with some issues
that I think are Cygwin specific. Hope to be a new neighbour soon :)
El Jueves 30 Octubre 2008ES 14:26:07 Csaba Halász escribió:
Hi Thanh,
In addition of what J-S said, you can also recover the options passed to your
program with the ArgumentParser and then initialize the viewer with them:
int main(int argc, char **argv){
osg::ArgumentParser args( argc, argv);
osgViewer::Viewer v(args);
...
}
this will make your
Hi,
I currently try to render a setup of multiple cameras off screen in
order to read them to an osg::Image (raw data of some kind would be
enough - I know how to convert it to an osg::Image).
The point is, I want those cameras to be nicely arranged (the way I can
arrange them on other graphics
HI Mathias,
I've haven't read through your post with a fine tooth come, but it
does kinda look like your are making things more complicated than they
need to be. Setting up a pbuffer is as simple as setting the
osg::GraphicsContext::Traits::pbuffer to true, you shouldn't need to
directly
Hi Folks,
I follows mail list and I know there was a discussion about converting
animated MAX format to any format which osg can understand. I searched the
all archive and want to ask same question again around the different
content.
As I said, I have animated MAX format models and want to
Hi to all
in my application I am applying a texture (. bmp) to a sphere,
I have no problems with the plugin, but I do not see the image.
What can I do?
Miriam
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Not enough information or detail in you post to allow people to really
help you
How are you applying the texture to the sphere ?
How are you setting up you texture coordinates on the sphere ?
Gordon
__
Gordon Tomlinson
Product
Hello,
I would like to embed an osgviewer to standard-browsers (firefox, ie,
safari). I already saw Luigi Caloris great work osg4web, but this aims
at a much larger scale than what I need. I would just like to embed
quite small osg-files to a 3d-gallery.
As I saw that browser-integration is
On the animation front the Collada plug-in for OSG does not at this time
support animation
As to efficiency not sure what you mean, but as a file format Collada is not
about speed its about being an interchange format
Gordon
__
Gordon
Hi Thomas,
Could you please post the complete source file to osg-submissions.
Thanks,
Robert.
On Thu, Oct 30, 2008 at 7:06 PM, thomas weidner [EMAIL PROTECTED] wrote:
Hi,
I use osgViewer::CompositeViewer with several views. All views share
parts of their scene graphs. Within these common
Hi Kim,
Thanks so much for reply. I remember, you have worked on VENUS project. In
this project how can you achieve fish motion modeling? Do you use only
shaders to give special motion mathematics on each skeletal model or do you
use sophisticated tools?
I mean, I want to model school of fish by
Hi,
This a math problem, depending on OSG.
I need to apply 2 rotation to a vector. I would be very simple if I can
cumulate the 2 quat in one.
How to do it ? Do Osg implement a method to combine two rotations ?
thanks.
Regards,
Vincent.
___
Hi Mathias,
If you are doing pbuffer work you don't need to QT at all, in fact I'd
strongly recommend that you just use the functionality in osgViewer as
3rd party window toolkits like often don't have good pbuffer support.
You should be able to mix and match osgViewer created pbuffers with
other
HI MMBMGH
Could you sign your posts with the name your wish to be address as, it
helps us keep track of who's who and keep discussions more friendly.
Also could try to reply to previous posts in a thread, as just posting
an email in a new thread, that requires info from the other thread to
Hi Sean,
Welcome back :-)
Transforms are relatively expensive, as the transforms need to be
tracked as well as the view frustum needing to be transformed into the
local coords below the transform for culling performance. You two
subgraphs have 100 vs 10,000 transforms per frame, 100 won't take
Vincent Bourdier wrote:
Hi,
This a math problem, depending on OSG.
I need to apply 2 rotation to a vector. I would be very simple if I
can cumulate the 2 quat in one.
How to do it ? Do Osg implement a method to combine two rotations ?
Can't you simply multiply them? I.e
osg::Quat q1, q2,
In my experience the feelingsoftware collada exporter gives the most reliable
results when exporting models from Max. However, as far as I know there is no
way of getting any animation information out of max and into the OSG.
I've noticed that the animation toolkit (osgATK/osgAnimation I
Hi
I was not sure that the * operator would compute the quaternion that I'm
looking for.
I looked in the sources, but the code is very hard to understand for me.
If you are sure, I will do it of course.
thanks
Vincent.
2008/10/31 Paul Melis [EMAIL PROTECTED]
Vincent Bourdier wrote:
Hi,
Vincent Bourdier wrote:
Hi
I was not sure that the * operator would compute the quaternion that
I'm looking for.
I looked in the sources, but the code is very hard to understand for me.
It probably does what you expect: compute a combined quaternion.
Just try it with 2 rotations like 90
Thank you Robert
This was actually my first attempt (setting pbuffer true for my
QTAdapterWidget) but it doesn't have the desired effect.
Important for me is, that the graphics context is still rendered and
grabbed correctly when the window is not completely visible.
Just setting pbuffer true and
2 things
1: osg::Sphere is does not have texture coords so you would not see a
texture anyway
( search the archives on Shapes and what they were designed for )
2) is rfi.TGA in your path,
turn the debug notification up see whats being said ,
place a break point in the TGA
Sorry You're right!
Explain better:
when I run my application, the message is printed: no image.
Thanks
This is the code:
_
osg::Geode* logoGeode= new osg::Geode();
osg::ShapeDrawable* s= new
If I apply 2 quat on the same vector in the same line or in two instruction,
the result is the same...
so q = q1*q2 look the 2 rotation accumulation, depending of the order of
course.
thanks,
Vincent.
2008/10/31 Paul Melis [EMAIL PROTECTED]
Vincent Bourdier wrote:
Hi
I was not sure
Hi,
I have written an example before, which results in a very simple OCX file
that displays local/http models and images. The website below is in Chinese
but maybe you would like to look into some code. :)
http://www.osgchina.org/projects/osgChina/wiki/Support/3rd/OSGandIE.php
Wang Rui
I'm developing a 3d engine that will eventually support exporting collision
models from the lowest poly LOD node of a .3ds file for in-game
development. The following functions can be used to load (or use existing
data in memory) to define the collision box for a .3ds model.
btTriangleMesh*
I'm not really sure what you are asking.
You can export any osg data using the .osg plugin.
osgDB::writeNodeFile(*your_node_or_sub_graph,your_filename.osg)
Then open the file (your_filename.osg) in any text editor and you'll see
your mesh data as Primitives and VertexArrays in Geometrys. The
Hi I have a problem with a two pass shader,
moving from release 1.9.8 of OSG to 2.2 and later.
The shader used to work properly, and now all I get
are black pixels!
I can see that the scene is actually there because I can pick
the objects, even if they are totally black.
The program is a two
Hi Gordon,
2 things
1: osg::Sphere is does not have texture coords so you would not see a
texture anyway
( search the archives on Shapes and what they were designed for )
Sorry to enter a thread for this, but yes, osg::ShapeDrawables have
texcoords. See src/osg/ShapeDrawable.cpp,
Robert, interesting. Thank you for the detailed explanation.
Looking at the osgforest shader-path, one challenge that I see is that if
one needs to be able to pick the geometry, then the SG doesn't know about
where it is in space to run an interesector. Any thoughts on a strategy to
overcome
Executing yours example I get this:
itr='D:\Visual Studio Projects\RFI\RFI\Debug'
FindFileInPath() : trying D:\Visual Studio
Projects\RFI\RFI\Debug\osgplugins-2.6
.1\osgdb_tgad.dll ...
FindFileInPath() : USING D:\Visual Studio
Projects\RFI\RFI\Debug\osgplugins-2.6.
1\osgdb_tgad.dll
Opened
Hi Sean,
On Fri, Oct 31, 2008 at 2:16 PM, Sean Spicer [EMAIL PROTECTED] wrote:
Looking at the osgforest shader-path, one challenge that I see is that if
one needs to be able to pick the geometry, then the SG doesn't know about
where it is in space to run an interesector. Any thoughts on a
Hello Wang Rui,
if this is all code needed, it is quite simple. Very nice! Thank you for
posting this.
Unfortunately I do not understand enough to see if this would be useful
for me. Maybe my interest motivates you to translate your wiki (at least
this part of it) to english, I am sure
Hi Robert,
It just great ! you can imagine a lot of cool stuff with that.
supervising a lot of computer screen :) could be good for a network teacher
very interesting
Cheers,
Cedric
Robert Osfield wrote:
Hi All,
Elements of the Volume rendering project that is now underway are to
do with
On Fri, 2008-10-31 at 14:33 +, Robert Osfield wrote:
Hi All,
Elements of the Volume rendering project that is now underway are to
do with doing multi-media/multi-application presentations in 3D, with
volume rendering the central media of interest, but also bring in
other
Hi,
I don't think it easy for me to translate the whole page into english in a
short time. :) But I'm glad to share my project freely. I will send you a
private mail later in order not to bother others.
Wang Rui
2008/10/31 Andreas Goebel [EMAIL PROTECTED]
Hello Wang Rui,
if this is all code
Hi Umit,
Yes, I am employed on the VENUS project, how on earth do you know that?
I, personally haven't worked with any flocking algorithms, it's a feature I
haven't got round to adding yet. However, I did supervise an MSc student
project on flocking using OSG. In order to simulate fish
Thanks. Is there a primmer on osg::KdTree anywhere?
sean
On Fri, Oct 31, 2008 at 9:37 AM, Robert Osfield [EMAIL PROTECTED]wrote:
Hi Sean,
On Fri, Oct 31, 2008 at 2:16 PM, Sean Spicer [EMAIL PROTECTED]
wrote:
Looking at the osgforest shader-path, one challenge that I see is that if
one
Hi Kim,
2008/10/31 Kim C Bale [EMAIL PROTECTED]
Hi Umit,
Yes, I am employed on the VENUS project, how on earth do you know that?
I have searched on internet and so know VENUS project and your MSc student
Franclin Foping and another student Philip Apery who worked same project
before. I
On Fri, Oct 31, 2008 at 3:28 PM, Sean Spicer [EMAIL PROTECTED] wrote:
Thanks. Is there a primmer on osg::KdTree anywhere?
I'm afraid the source code and mailing lists discussions is all have
right now. The KdTree data structure is actually quite simple, as is
the algorithm that
Hi Cedric,
On Fri, Oct 31, 2008 at 3:04 PM, Cedric Pinson [EMAIL PROTECTED] wrote:
It just great ! you can imagine a lot of cool stuff with that.
supervising a lot of computer screen :) could be good for a network teacher
I haven't tried creating more than one client yet, whether it's
possible
Miriam,
Just on the off chance that your problem is really simple:
in my application I am applying a texture (. bmp) to a sphere,
and
osg::Image* img = osgDB::readImageFile(rfi.TGA
You say your applying a .bmp, but you're trying to load a .tga. Could that
be it?
David
Hi Dusten -- The short answer (probably) is that you should look at
osg::TriangleFunctor.
The longer answer:
I'm currently developing an open source library containing utilities for
integrating OSG with Bullet. Here is the code I use to create triangle
meshes. The code for ComputeTriMeshVisitor
Hi,
Until the present date, I've been using cout's to debug my application,
which is really annoying, for I didn't know how to configure Visual Studio
to be able to debug running a OSG application. At one time I've read how to
do it, but I lost that source... Can anyone teach me how? Thanks.
Hi all,
Replying to myself again.
So no one has any ideas about this? I guess I'll go with my hunch and
see where it goes.
I found a solution to my problem. For reference, what I did is that
since my dragger is a composite dragger, I made it so that the structure was
CompositeDragger -
Quoting Wang Rui [EMAIL PROTECTED]:
Hi Wang,
I'm interested too ([EMAIL PROTECTED])
Thank you in advance.
Mario Mango Furnari
Hi,
I don't think it easy for me to translate the whole page into english in a
short time. :) But I'm glad to share my project freely. I will send you a
private
me three!
On Fri, Oct 31, 2008 at 12:43 PM, Mario Mango Furnari
[EMAIL PROTECTED] wrote:
Quoting Wang Rui [EMAIL PROTECTED]:
Hi Wang,
I'm interested too ([EMAIL PROTECTED])
Thank you in advance.
Mario Mango Furnari
Hi,
I don't think it easy for me to translate the whole page into
me four!!!
[EMAIL PROTECTED]
sajjad
On Fri, Oct 31, 2008 at 8:32 PM, Charles Cossé [EMAIL PROTECTED] wrote:
me three!
On Fri, Oct 31, 2008 at 12:43 PM, Mario Mango Furnari
[EMAIL PROTECTED] wrote:
Quoting Wang Rui [EMAIL PROTECTED]:
Hi Wang,
I'm interested too ([EMAIL PROTECTED])
And five,
Isnt it a good idea to just to mail to osg-users?
Erik
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ami guru
Sent: Friday, October 31, 2008 21:02
To: OpenSceneGraph Users
Subject: Re: [osg-users] Browser integration
me four!!!
[EMAIL
Hi Renan,
You've said that:
If you want to debug into OSG itself, you'll need to have compiled OSG
with debug symbols too (i.e. in Debug configuration), and link to that.
I didn't understand this... What does it mean to debug into OSG itself?
If you want to trace into an OSG function, say
Yes i guess i would need to add export in order it compiles on windows.
Hum... I'm interested in using animTK in a cross-platform way... I tried to
CMake-it under Windows but it can't find pkg-config (of course). I guess the
CMake script has to be changed, but I'm new to CMake and I can't. I
Hi,
ok... It is a RAR file with a VS8 project inside. i'm not sure if the
project could run immediately on your computer, but the code is proved to be
usable.
BTW, I remember there is a publc account of the OSG website. But I lost the
user name and password. Could anybody tell me again, plz? I
Consider this scene:
- Terrain and some buildings: osg::Group sceneNode
- Several cars: osg::Group carNode
Both are children of a ShadowedScene. I'm using ShadowMap as a technique.
I want that the buildings cast shadows on the terrain/road (that is working
fine), and that the cars cast shadows
Every material that has no texture associated becomes completely black when
I do one of the following:
- change the shadow technique from ShadowMap to SoftShadowMap
- add any of the GLSL bloom shader I found on the net (
Hi Paul, hi Dusten,
On 1/11/08 5:44 AM, Dusten Sobotta wrote:
Thanks a lot; this has been incredibly useful. What is the eta for the
first release of your library? I've also solved a few problems with
integrating osg + bullet, and might be able to contribute a few things
if you're up to it.
Hi All,
OSG 2.7.4 - I'm seeing a reversed normal when running
osgUtil::SmoothingVisitor on a drawable containing only tri-strips. Not
sure if it is the first or last vertex, but I've repeated it with several
different examples.
Has anyone else seen this?
sean
--
Sean Spicer
Executive Vice
56 matches
Mail list logo