Hi Steven,
thanks for reply.
I tryed to add shadows on my scene copying the osgShadow demo example. When I
cleanbuild the project, the make returns an error... I don't understand why.
Can you help me?
Here is the code I added to my project:
Code:
int ReceivesShadowTraversalMask = 0x1;
Hi Wojtek,
thank you for reply and suggestions.
Wojciech Lewandowski wrote:
Axel,
Messages suggest that Linker cannot find symbols. Looks to me as missing
osgShadow lib in your make file.
I was supposing this, and of course I need to change the make file.
Unfortunatelly, to create the
HI Wojtek,
thank you very much, your suggestion helped me a lot! Now the shadow works
properly in my app.
For who may have my same problem (I'm sure nobody is newbie as me), the
solution was to add the line:
FIND_OSG_LIBRARY(OSGSHADOW_LIBRARY osgShadow)
to CMakeModules/FindOSG.cmake file
Now I
Hi,
I just need to add shadows to my simple virtual room. I understood that have to
create a ShadowedScene node, assign to it a ShadowTechnique and
add to the the shadowdScene the children. Then, I can set to each children (en
also to the shadowedScene) 2 bits, CastsShadow and/or the
Hi,
I finished my application and I want to improve it. I have to issues: I need to
increase the frame rate, since I rotate fast the camera and I need to start the
simulation window at fullscreen (for now, I have to fix the dimensions
manually).
How can I do this?
Thank you!
Cheers,
Axel
Hi Jean-Sebastien,
thanks for the reply, you were realy helpful, now I have a better idea on how
to proceed!
Axel
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=36203#36203
___
osg-users mailing
Hi Sergey,
really thanks for your help.
hybr wrote:
Hi,
Basically what you need to do is translate rod to (0,0,0), apply rotation
that u need, and translate back to original position.
If your math is right and you still haven't expected results i'd say that
your model has static
Hi Tom,
thanks a lot for your answer!
Tom Pearce wrote:
In the step where you're calculating m, it looks like you're applying the
rotation to the original matrix, which includes a translation already.
Yes, this is (perhap) what i want. I try to be less ambiguous: my scene is a
small
Hi,
i'm trying to rotate a rod (part of a 3rd party model) on its Y asxis. I read
on OSG Startguide that to do it, i need to find the correct position of my
object from the origin and apply a multiplication like T * M * -T.
The source code that tries to do it is the follow
Code:
ing:
I understood part of the issue, and thus I corrected (part of) the error. Now
seems that the rotation and the translation is formally right, but visually
translation is wrong. I enclosed 3 pics of the scene, before rotating, after
1st rotation and after 2nd rotation. I correct the source as
Hi /ulrich,
thanks for your answer. i've found the solution... i've restarted Netbeans :-\
I don't know why, but it hadn't save/update the source files, so the make
continued to work with the wrong code sources.
However, now the rotations is applied, even if as not expected... (it changes
I've tryed this same eventHandler on a simple graph containg:
group + matrixTransform + group + geode (to have the same structure) and the
geode rotates...
could my issues depend on the imported model?
--
Read this topic online here:
Hi,
I need to place the imported model of a table on the floor of my virtual room.
Since the table is longer and wider than high, the related boundingSphere
radius is really imprecise and i can't place it correctly (i use also bullet
for physics).
Is it possible to get the bounding box of an
Hi,
I'm modelling a little room. I'm tryng to apply a texture to room walls, floor
and roof. Reading the source code of osg examples, i've implemented a little
class hierarchy to create the geometry shape, setting colors and normals of the
quad and, finally applying the texture (how you can
Hi Robert,
Thanks for the advice, you have been enlightening.
I was focusing too much on details. now I'll try to implement a subclass of
MatrixManipulator.
Best regards,
Axel
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34734#34734
Hi,
I've created my scene, and now I need to move camera in it, using keyboard.
My idea is to handle camera using some key lik A, S, W, D to perform
tranlations mouse movements to perform camera's rotations.
I know i need to write a new class that inherits from GUIEventHandler, but
reading
Hi,
i've an issue with my application. How kind of unit is used by osg for length?
Can i configure it?
Moreover, between lighting techniques supported by osg, is there also a global
one?
Thank you!
Cheers,
Axel
--
Read this topic online here:
Hi Torben,
thanks for your answer. I imagined it, but when i loaded the cow model in my
scene, the model was bigger than my room (that is, 8x5x3), so I've had this
doubt :-)
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34429#34429
Hi all,
for completeness i share here a site [ยน] that allows to convert sketchup models
into 3ds, obj and other formats. I found and tried it yesterday evening and
sees to work well.
I hope this post can help those who had my own doubts and problems.
Thanks again to all, best regards,
Axel
Hi Jordi and Jan,
thank you for support. After reading Jordi's post i thought to install a i386
arch of Ubuntu hoping to solve the problem... but then, reading Jan's post i
changed idea...
i have to model in linux a calcio balilla table (i don't know if there's an
english translation for calcio
Thank you all for your suggestions, since i had so many problems
building/installing collada-dom i decide to convert sketchup model in the 3ds
format which is loadable by osg.
I had already installed osgBullet to obtain physics... on next coming days i'll
study how to use those libraries :-)
For completeness, i point out this site [1] which allow to convert sketchup
files into 3ds, obj and other formats.
I hope this post can help those who have my own doubts and problems.
Best regards,
Axel
[1] http://www.babel3d.com/
--
Read this topic online here:
Hi all,
i correctly installed osg 2.8.1 (by apt - ubuntu/debian package manager) and
bullet physics 2.76 building the sources.
When i tried to load a sketuchup file (.skp) osgviewer reported an error. I
read that i need collada-dom to load this kind of model. Is it right?
However, i also
Thank you jordi,
now i begin to read the link you've suggested. Unluckily on Google warehouse i
can find only skp files for the model i look for :-(
However, with a quick search i've seen that the is some tool to convert skp
fines in 3ds format... maybe i could convert skp in 3ds and 3ds in dae
Excuse me Jordi,
i continue to have the same errors building building collada (also following
the tutorial you've suggested me).
Did you have a problem like this building it?
a...@axel-desktop:~/osg/collada-dom$ make os=linux project=minizip
make os=linux project=minizip -C dom
make os=linux
Hi aa,
i know that my problem is probably really stupid, forgive me!
I'm novice of C++ and i need to create a small scene with osg libraries. So i
successfully installed osg-sdk on my ubuntu 9.10 by apt, downloaded the sample
datasets and configured environment variables.
If i launch
Thanks to both,
now my app is correctly compiled and built with both solutions.
Now i just have to think how to integrete them to work with osgBullet libraries
;-)
Thank you again!
Axel
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33088#33088
Hi all,
i'm a newbie of OSG and quite a newbie on Linux. I've to create a small project
for my studies using OsgBullet. Reading about it i've seen that it depends on
OpenSceneGraph, OsgWorks and Bullet. I installed OpenSceneGraph using apt-get,
and then i tryed to build install OsgWorks by
For precise, i add the result of make command:
Code:
Scanning dependencies of target osgwTools
[ 3%] Building CXX object
src/osgwTools/CMakeFiles/osgwTools.dir/AbsoluteModelTransform.cpp.o
In file included from
29 matches
Mail list logo