Hi,
I'm a bit stucked on one general problem.
I have a HUD camera with which I draw some text from time to time on a screen.
Just like Font-Text-Geode-Camera.
How to change that content in Geode? ( Content = just some text.. )
I tried removeChildren(current Geode) and then addChild( new Geode)
jhamell wrote:
Hi,
First, make sure the mutable elements of your scene are assigned DYNAMIC
variance. Even once your thread of control has returned from the frame()
call (if that is how you are running this), background threads from
traversals may still be ongoing. If you set an
Paul Martz wrote:
If you're not picky about the blur quality, just render to a texture that is
1/16th the size of your screen (1/4 width x 1/4 height), then apply the
texture to a fullscreen quad with GL_LINEAR filtering. This can be
accomplished with OpenGL v1.0 functionality and should
://imgur.com/EII7vZG,IUz5wAa
after (using Photoshop Gaussian blur )
Code:
http://imgur.com/EII7vZG,IUz5wAa#1
Thank you!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58775#58775
explanation is good enough
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58766#58766
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org
but a bit
next to it.
Is that was is osg::BoundingBox made for? Or the purpose of BoundingBox is just
for culling etc.?
I would like to use osg::LineSegmentIntersector + osg::IntersectVisitor.
Thank you!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org
that old version?
Thank you!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58744#58744
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org
robertosfield wrote:
Hi Petr,
On 27 March 2014 09:15, Petr Svoboda () wrote:
Hi,
So I found that if I type
Code:
osgmovie -e ffmpeg a.mp4
everything works fine, because it opens dynamic library in
osgPlugins-3.0.1/osgdb_ffmpeg.so in usr/lib.
And that is strange
?
I googled and found
https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
which I tried but didnt succeed
Or do you know about any step by step instruction set?
Thank you!
robertosfield wrote:
Hi Petr,
I pulled ffmpeg via the individual -dev packages associated with the project
using
is that?
Is there a need of creating some bounding boxes or something like that? Or some
osgconv bug? Model bug?
Thank you!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58730#58730
___
osg
SMesserschmidt wrote:
Hi Petr,
Hi,
I have a very weird problem.
I downloaded some models from Sketchup warehouse, exported as OBJ format
and then converted using osgconv to OSG format.
Could you please provide an example?
Now, when I use osgUtil
sudo apt-get install ffmpeg
and it all worked?
robertosfield wrote:
HI Peter,
On 23 March 2014 20:54, Petr Svoboda () wrote:
I recently updated to 13.10 ( Ubuntu ).
ffmpeg compiles fine as osgPlugin, but the same error occurs -
FFmpegImageStream::open : avcodec_find_decoder
) to (256,256)
0.475528 -0.809017Scaling image 'ng0.266849 external/videos/cat4.gif0.367286'
from (0-0.891007, 0.266849 0.523721 -0.809017361),209) to (256,256)
Have you got any idea what could be possibly wrong?
Thank you
Cheers,
Petr
--
Read this topic online here:
http
robertosfield wrote:
Hi Petr,
On 19 March 2014 19:01, Petr Svoboda () wrote:
And any idea how to do it?
I just went to https://launchpad.net/ubuntu/+source/libav
(https://launchpad.net/ubuntu/+source/libav)
and installed the hole list. Doesnt work
You said that you tried
Hi,
I'm trying to compile osgAudio plugin but there are some compilation errors
related to Fmod
/home/petr/Plocha/osgAudio_02_00_00/src/osgAudio/BackendFMOD/AudioEnvironmentFMOD.cpp:40:2:
error: ‘FMOD_3D_LOGROLLOFF’ was not declared in this scope
/home/petr/Plocha/osgAudio_02_00_00/src
2014 11:55, Petr Svoboda () wrote:
If you mean
Code:
sudo apt-get install ffmpeg
You'd need to install the -dev versions to compile against them, and make
sure that these are being found, not the source that you've been compiling.
Robert
--
Post
robertosfield wrote:
And of course, thank you for your help with compiling ffmpeg library
Why not just pull in ffmpeg from the Ubunutu repositories? svn/trunk of the
OSG is compiling just fine with the ffmpeg from the Kubuntu 13.10 release
that I'm using.
Robert.
Ok, so what I did:
downloaded older version of libav - Libav 9
recompiled OSG and what is more important ffmpeg was born!
There were some difficulties with static and dynamoc libraries, error
relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when
making a shared object;
video to different folders...
I really dont understand why it is not working because in my application, I
load ( or read ) many pictures/images (png) without any problem.
Thank you!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p
using export OSG_NOTIFY_LEVEL=DEBUG I found
Warning: dynamic library 'osgPlugins-3.2.1/osgdb_ffmpeg.so' does not exist (or
isn't readable):
osgPlugins-3.2.1/osgdb_ffmpeg.so: cannot open shared object file: No such file
or directory
DynamicLibrary::failed loading
I downloaded newest release - 3.2.1 rc2
clasiic style:
configure
make
make install
But the thing is that ffmpeg wont build (skipped?). All plugins were built but
ffmpeg. In source folder src there are source files for ffmpeg. Are there any
pre-requisites? Any reason why all plugins were built
I downloaded latest libav, make, make instal etc..
Then I just re-run building osgPlugins and ffmpeg started building and crashed
with some errors
Code:
OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In
function ‘int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*,
Ok, so situation:
- running on Ubuntu 13.04
- downloaded latest OpenSceneGraph-3.2.1-rc2
- downloaded http://git.libav.org/?p=libav.git;a=snapshot;h=HEAD;sf=tgz which
should be latest libav I suppose
Then I tried to recompile OpenSceneGraph Plugins with this errors:
Code:
/home/petr/Plocha
Hi,
I made a scene, where I detect some collisions and I want to show progress of
that collision. For example, you are poiniting at light switch and there is
circle which is filled based on time spent pointing at the switch, so the light
would turn/off after some timer period.
That filling
Hi guys,
I am so new to osg and I'm totally stucked on this problem.
Situation - Having a character in a space. I want to point with character's
hand to some object ( just ShapeDrawable or something like that )..
Character is called Skeleton ( derived from osg::Group )
What I have:
Code:
-setViewport( ... );
orthoCamera-setRenderOrder(osg::Camera::POST_RENDER);
Thank you!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37197#37197
___
osg-users mailing list
osg-users
J.P.,thanks for answer, your post make me to check texture coords, i have
added tcoords for second texture (same as for the first texture), what a simple:
screenQuad-setTexCoordArray(0, tcoords);
screenQuad-setTexCoordArray(1, tcoords);
and result:
[Image:
problem solved
[Image: http://www.imgshare.cz/images/multipyty.jpg ]
osg::StateSet *quadState = quadGeode-getOrCreateStateSet();
osg::TexEnv *texenv = new osg::TexEnv;
texenv-setMode(osg::TexEnv::DECAL);
Hi,
osgconv srcfile dstfile
in cmdline type before osgconv: set OSG_NOTIFY_LEVEL=DEBUG
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35947#35947
___
osg-users mailing list
osg-users
cow.osg - ok (both)
Instalation on the 2nd PC: I have copied al from root directory c:\Program
Files\OpenSceneGraph-2.8.3\ and add same env. variables.
Thank you for any help!
Cheers,
Petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35945
in osgdefaultproject.exe: 0xC005: Access
violation reading location 0xe24d.
How can I solve this problem?
Thank you.
Cheers,
petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35917#35917
solved:
project-properties-c++-codegen-struct m align: default
#pragma pack(push, 1)
typedef struct
...
#pragma pack(pop)
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35955#35955
___
osg-users
//
//tankSwitch-setSingleChildOn(0,0);// good model
OpenSceneGraph Library 2.8.2
Microsoft visual studio 2008 9.0.2 ...8RTM
NetFramework 3.5 SP1
Thank you!
Cheers,
petr
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28941#28941
no, a have just add this lib here: project-properties-linker-input. There are
these libs:
osgd.lib osgGAd.lib osgDBd.lib osgViewerd.lib osgTextd.lib osgUtild.lib
osgsim.lib OpenThreadsd.lib
And now - biuld is correct but in runtime is showed dialog - see img:
--
Read this topic
so thanks, it works, similar problem is in this topic:
http://forum.openscenegraph.org/viewtopic.php?t=4463start=0postdays=0postorder=aschighlight=osgsim.lib
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28946#28946
for the model. Do I have to walk through all nodes in the subgraph
loaded by readNodeFile, or is there a function that should be called on
the subgraph root only?
Best Regards,
Petr
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http
position
( start )
v3f_end.set(33.0f, 23.0f, -5.0f); //new position
( end )
lsi-setStart( v3f_start );
lsi-setEnd( v3f_end );
}
}
check_face(intersectorGroup);
Thank you!
Cheers,
petr
Thanx mery much Skylark,
here is the correct code, the Blue color is update.
Code:
[color=green]//positions[/color]
osg::Vec3f v3f_start(33.0f, -23.0f, 10.0f); [color=green]//init position (
start )[/color]
osg::Vec3d v3f_end(33.0f, -23.0f, -5.0f); [color=green]//init
Skylark, yes, you can see result here:
[Image: http://img24.imageshack.us/img24/5431/22541985.th.jpg ]
(http://img24.imageshack.us/my.php?image=22541985.jpg)[/img]
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12000#12000
Hi,
I need to render back face of .ive models, in open GL is the syntax:
glEnable(GL_CULL_FACE);
glCullFace(GL_FRONT);
Is the syntax in OSG these way?
osg::StateSet *myst = new osg::StateSet();
myst-setMode(GL_CULL_FACE, osg::StateAttribute::ON);
myst-setMode(GL_FRONT,
thanks, but it still doesn't work : /
myst was renamed by stateset
void Environment::set_fog(osg::Group* root)
{
fog-setMode(osg::Fog::LINEAR);
fog-setDensity(0.1f);
fog-setColor(osg::Vec4f(0.8f,0.8f,0.8f,1.0f));
fog-setStart(-20.0f);
:0.0f
screenshot is here:
[Image: http://www.jkzsim.cz/petr/screenshot-cams.jpg ]
example camera with cow.osg (mirrored 2nd camera) works well, but these
settings in my scene not ...
Code:
osg::Matrixf mf;
if (i != 2)
{
mf=osg::Matrix::scale
Hi,
please, can you tell me why the camera_slave have got the same position (eye)
as the camera_main? What I'am doing wrong? I cannot set different position and
frustum than is in camera_main? The camera slave take (inherit) the setting of
camera main? Here is the code:
void
Hi all,
because a have not a lot of experences with OSG so I have stil some problems
and now i try my best to desribe two of them.
first q:
I have got in a root group tree nodes
1st - the scene (cca 300 triangulates+7 types of textures )
2nd - the tank t72-tank_des.flt
3rd - the
add first q
settles the question here: http://forum.openscenegraph.org/viewtopic.php?t=1498
viewer-setThreadingModel(osgViewer::Viewer::SingleThreaded);
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8591#8591
example after adding these topic : )
q2:
you suggest me convert .flt to native osg format, we are using for modeling
Presagis creator and the export dialog cointains only these variants - have a
look on image.
[Image: http://www.jkzsim.cz./petr/screen-export.jpg ]
I don't know which format
thanks a lot, loading scene size of 36MB takes cca 1-2 sec, absolutely great!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8610#8610
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Sukender: cca sorry it's my mystake, this is word in my native language and
in english it means something like about
Robert Osfield: I hope that I understand your replies correctly, I have started
to edit osganimate solution project (which is suggest in how to start) and
in this project I try
Thanks a lot for your replies.
--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=6898#6898
___
osg-users mailing list
osg-users@lists.openscenegraph.org
); //del tmp pos
And some screenshot from runtime loop, the green line is detecting, red no.
Z-isectors hold the cars on the road. 3rd image - left isector is greeen
because ho has crashed with white cube (static object).
[Image: http://www.jkzsim.cz./petr/isectors/BUS-isectory1
the normals of the side-surface, so it gets
shaded correctly?
Regards,
Petr
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
51 matches
Mail list logo