Hi,
I am successfully exporting models with 3D Studio to osg format, but, when
loading, it seems like only keyframe animations work (but keyframeless
animations dont work). Is it possible to export models with animations to
osg format without keyframes?
Thank you.
Héctor
Hi Yefei,
On Mon, Sep 26, 2011 at 9:20 PM, He, Yefei yefei...@uiowa.edu wrote:
Is it possible for a slave camera to have different near and far clipping
planes from the master camera? Are there examples for it? I figure it will
be more complicated than changing the angle of view or adding a
HI Keith,
From the scant details and the number of variables that could effect
thigns we can only guess what might be the problem. My best guess
would be that perhaps the sky dome is very large so pushing the far
plane and the near plane with it, such that the near plane is clipping
out the
Hi Brad,
I have also a simple video player using the ImageStream class and the FFmpeg
plugin. For the slider, I get the maximum value from
the ImageStream-getLenght() method and to update the current position I
call periodically ImageStream-getReferenceTime(). I think that this is
the
Hi,
Thanks for the info.
That works for the ffmpeg plugin but wasn't implemented at all in the direct
show function.
I have posted a submission which adds a new function ( getCurrentTime ) to
ImageStream and have implemented the new methon in the direct show plugin, and
implemented it in
Hi all,
Thanks for your posts, and sorry for my very late response. I´ve been on
holidays and working in another things, so I left this issue abandoned.
But finally, I could get rid of these artifacts, and therefore, solve my
problem. Although the filters mitigated the effect, they were still
Thansk for pointing me to these topics.
So, I found the solution : (be carefull, these function use WORLD coordinates,
not local coordinates)
worldToScreen :
Code:
osg::Vec2d worldToScreen(const osg::Vec3d worldPosition, const osg::Camera*
pCamera)
{
osg::Vec2d screenPosition;
if
1 - The program starts with no scenario windows
2 - I can add or remove Windows with a new/open file operation.
3 - for the first window to be opened everything works perfect regarding
events ( mouse click, mouse press, drag, etc ).
4 - For all the others i have to wait a time till the event
Hi,
I just had the same problem with the current trunk on Win 7 x86. Your hack
worked. Is there any news on a proper solution?
Cheers,
Karan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43041#43041
Hi Robert Milharcic.
Hi Gentlemen.
It worked here.
Thank you very much.
Chris, my application uses QMdiArea as the main manager for each
CompositeViewerWidget. And all CompositeViewerWidgets inherits from
QMainWindow. Hope it helps.
Best Regards
Andre
2011/9/27 Robert Milharcic
Thanks, Robert, I'll take a look at the examples. Another question: in a
composite viewer, if I set the view and projection matrices directly on the
slave camera, what are the internal differences between doing this and simply
creating another view and setting the view and projection matrices
Hi Robert,
Thanks for the help. It was late and I was stuck, but you definitely
pointed me in the right direction. The one non-stock piece that ended
up being the culprit was the computeHomePosition method in my camera
manipulator. I ended up dumping camera information to see the difference
I have attached a simple example that reproduces the problem. I am not sure if
this is a OSG problem or if we are not using it properly.
The problem occurs when more than 2 pre-render stages are cascading (as
described in previous post of thread), as the inherited
PositionalStateContainer will
Greetings All:
Something I found that is interesting in Creator 3.4 (Open Flight) that is not
reflected in OSG.
In Creator Face Attributes, under the Drawing tab, If your set the Shade to
Gouraud, you are shading at the vector level, hence you usually set the colors
at the vector points.
On 9/27/2011 10:55 AM, David Glenn wrote:
Greetings All:
Something I found that is interesting in Creator 3.4 (Open Flight) that is not
reflected in OSG.
In Creator Face Attributes, under the Drawing tab, If your set the Shade to
Gouraud, you are shading at the vector level, hence you
Hi folks,
I'm looking for a complete example showing projective texturing with GLSL
shaders in OSG. I'm simply trying to implement a spotlight just like the
osgspotlight example. What I've found doesn't quite paint the whole picture
for me. Anything would be helpful.
Cheers,
Brad
---
Brad
On 9/27/2011 2:16 PM, Brad Colbert wrote:
Hi folks,
I'm looking for a complete example showing projective texturing with GLSL
shaders in OSG. I'm simply trying to implement a spotlight just like the
osgspotlight example. What I've found doesn't quite paint the whole picture
for me.
Paul Martz wrote:
On 9/27/2011 10:55 AM, David Glenn wrote:
Greetings All:
Something I found that is interesting in Creator 3.4 (Open Flight) that is
not reflected in OSG.
In Creator Face Attributes, under the Drawing tab, If your set the Shade to
Gouraud, you are shading at
Hi Chris,
Thanks for the quick reply and the lead. I'm still fumbling around with that
example and I think I've found an issue with it. It appears to be sensitive to
the camera position (ie not the correct projection solution). This little bit
in the shader makes me feel that it's suspect
I've just managed to get the technique described above. Here is the result:
[Image: http://img825.imageshack.us/img825/926/stencilsolution.jpg ]
I've also posted a video showing the difference here:
http://www.youtube.com/watch?v=Rf1yJObCLKI
In order to get this to work I had to first
Hi Michael,
This process would be made much easier if ocean surface only created a new
stateset if a previous one didn't exist. Is there a reason for recreating it?
No reason other than laziness. If any attribute that's being stored in
the stateset gets changed, rather than just changing
To add more to this:
I've adapted this to where the camera is the projector (ie the image is
projected from the viewpoint, well, at least that is the idea):
http://www.jotschi.de/?p=378
and I would like to say I'm close, but I'm still a ways away from a solution.
I do see the clock projected
liu_junli___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
23 matches
Mail list logo