Hi Dario,
On 25/08/10 19:08 , Dario Minieri wrote:
> I save the osg format and the Texture2D record is inserted correctly but the
> "file"
> path disappears (I load objects that already have the textures, I don't apply
> the
> textures in my tool).
My bad - it's not only the image data that's r
How about just a vector of vector of integers? Each integer would
represent the nth child of the previous node, and each vector of
integers would represent a whole nodepath. So "4 6 7" would mean the
7th child of the 6th child of the 4th child of the root node.
--
Terry Welsh
mogumbo 'at' gmail.c
Hello Dario,
Yes, I've made a Visitor to setUnRefImageDataAfterApply(false) for all textures
properties and now works like charm.
If you want to have less code to maintain, you could just use the
osgUtil::Optimizer::TextureVisitor like this:
osgUtil::Optimizer::TextureVisitor visitor(true,
Werner Modenbach wrote:
Maybe someone can give me some explanation on my stupid little problem.
I have a geometry being composed of TRIANGLES.
I have a vertex-array, a verted-index-array and a normal-array assigned to my
geometry.
Off-topic: Do you need to use the vertex-index-array? It is de
Try BIND_PER_VERTEX
Brian
This is a PRIVATE message. If you are not the intended recipient, please delete
without copying and kindly advise us by e-mail of the mistake in delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any
order or other contract unless purs
Maybe someone can give me some explanation on my stupid little problem.
I have a geometry being composed of TRIANGLES.
I have a vertex-array, a verted-index-array and a normal-array assigned to my
geometry.
3 indexes and 3 normals per Triangle.
Normal binding is set to BIND_PER_PRIMITIVE_SET.
Un
Thanks it works! :-)
Cheers,
Yun-Ta
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31051#31051
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.c
Hi,
Hi Ulrich.
Yes, I've made a Visitor to setUnRefImageDataAfterApply(false) for all textures
properties and now works like charm.
Thank you!
Cheers,
Dario
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31050#31050
Hi,
If i set
Code:
traits->quadBufferStereo = true;
on my test system without a stereo hardware createGraphicsContext fails.
So i need to check before if a stereo hardware is available. I know that OpenGL
reports some kind of stereo capability, but i don't know to i could get the
OpenGL cap
>
>
> I am getting this error.
>
> /OpenSceneGraph-2.9.8/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:11:2:
> error: #error "The header file 'QGraphicsViewAdapter' doesn't include
> ."
>
>
Hi Rakesh,
This problem concerns the cmake file src/osgQt/CmakeLists.txt. This was
solved in r
Martin, here's one method. It's a little pricey since you need to attach it
as both a cull and update callback. I've left out some of the code but you
get the idea. Basically you use the MVPW matrix to drop into screen space,
apply the offset, then go back to object space.
struct TextOffsetCB : p
Hi Robert,
I have compiled osg 2.9.8 on linux system .
I am getting this error.
/OpenSceneGraph-2.9.8/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:11:2:
error: #error "The header file 'QGraphicsViewAdapter' doesn't include
."
I have gone through your reply in one of the thread.
Hi,
Today (again) I am experiencing problems passing it by value. After some
testing it turns out it is only displayed wrongly in Visual Studio 2008
debugger - the code works properly in spite junk shown by the debugger.
Thank you!
Cheers,
Dženan
--
Read this topic online here
Hi Robert,
This link i got it .
[url]
http://www.openscenegraph.org/projects/osg/wiki/Community/OpenGL-ES
[\url]
i will try to compile according to this given link.Please provide me some
sample if its available.
--
Read this topic online here:
http://forum.openscenegraph.org/v
On Wed, Aug 25, 2010 at 2:44 PM, Rakesh Parmar wrote:
> Thanks for your reply .Can you please give me some link
> where i can det documentation for compiling OSG with OPenGL ES 2.0 using
> emulator and any ES 2.0 sample will be reall good for me.
For details on how to compile the OSG
Hi Dženan,
2010/8/25 Dženan Zukić :
> Is osg::Vec3 class supposed to be passable only by reference and not by value?
You can safely pass it any way you want, by value or by reference.
It normally makes the most sense to pass by const reference or
reference though as it's far more efficient as yo
Hi Robert,
Thanks for your reply .Can you please give me some link
where i can det documentation for compiling OSG with OPenGL ES 2.0 using
emulator and any ES 2.0 sample will be reall good for me.
Regards,
RK.
--
Read this topic online here:
http://forum.opensceneg
Hi,
Is osg::Vec3 class supposed to be passable only by reference and not by value?
If yes, why?
Thank you!
Cheers,
Dženan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31039#31039
___
osg-users m
Hallo list,
can anyone tell me how to restrict the rotation of the
TrackballManipulator e.g. to the z-Axis (Yaw)?
Another question:
How can I prevent the TrackballManipulator from zooming and panning?
Is there another way than deriving an own class from
TrackballManipulator and overwriting the ca
Another idea I had was to use a NodeVisitor to predictably - probably
sequentially - name each node in a model after I load it. They I could
record a NodePath as a vector of names. This idea is my current
favorite, but I'm still hoping for an easier solution.
-Todd
On 08/25/2010 08:44 AM, T
Hi all,
I use an IntersectVisitor to select nodes in a viewer application. It
works fine, and the first Geode in the hit list is the node I want to
select. Now I need to record that hit as part of saving the state of
our application in a metadata file that we save alongside a model file
or
Thanks, that made the trick!
Was going through the changelog, this cut down the time by a lot.
/Anders
On Wed, Aug 25, 2010 at 9:41 AM, Wang Rui wrote:
> Hi Anders,
>
> The OsgMacroUtils.cmake was fixed to make INSTALL work under VS2010.
> You may replace the one in 2.8.3 and see if it works.
There is difference in Opengl drivers provided by Nvidia and ATI. If you set
nvidia card as primary display then it should work across all screens
(including the ones used by ATI cards).
In case you are setting ATI as your primary display device then the
application may crash as there are some Ope
yes. I m trying it out on windows 7 only.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31033#31033
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listi
Hi Ulrich.
I save the osg format and the Texture2D record is inserted correctly but the
"file" path disappears (I load objects that already have the textures, I don't
apply the textures in my tool).
I'm going to try to use setUnRefImageDataAfterApply before using setSceneData.
I'll tell you if
Are you doing this on windows 7. I have tried doing the same and I was able
to do this with ATI and Nvidia card on the system.
Cheers,
Prakhar
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Akilan
Thang
Hi Anders,
The OsgMacroUtils.cmake was fixed to make INSTALL work under VS2010.
You may replace the one in 2.8.3 and see if it works.
Wang Rui
2010/8/25 Anders Backman :
> Hi again.
> Ok, this is an old one, but I need to be able to build 2.8.3 using VS2010.
> Everything builds just fine, excep
Hi,
I have put two graphics cardsin my system from different vendors. One is of
ATI and another one is from nVidia. Using ATI I drive 2 monitors and able to
create 2 graphics contexts in my osg application, each to one screen. In the
same application I m not able to create graphics context f
28 matches
Mail list logo