Your comments will be appreciated,Regards,
From: sonyablade2...@hotmail.com
To: osg-users@lists.openscenegraph.org
Date: Mon, 4 Aug 2014 10:18:39 +0100
Subject: [osg-users] Erratical behaviour with PolytopeIntersector
Dear All,
I'm experiencing very weird problem when using the polytope
Hi Frie,
osg::ShapeDrawable was never intended with this type of usage, it's just a
convenience for the occasional visualization the shape primitives.
osg::Geometry is the class intended for general usage in the scene graph
and is designed around OpenGL fast paths so you can achieve the better
On 6 August 2014 07:13, Sonya Blade sonyablade2...@hotmail.com wrote:
Your comments will be appreciated,
There is no way for me to provide an answer without reproducing the problem
first hand to see what the issue might be, no doubt others are a similar
position and simply can't provide an
Hi Sonya,
I'm not sure, but I guess the result simply contains all vertices
contained. So you will have to filter the results yourself or check the
interface for options to configure the results filtering.
Your comments will be appreciated,
Regards,
Hello,
On 08/04/2014 11:18 AM, Sonya Blade wrote:
Dear All,
I'm experiencing very weird problem when using the polytope intersector.
Since there is not any explicit example on how
to use polytope example with rectangular selection I use osgPick example in
OSG and modify the codes to
Hi All and Thanks for your feedback,
Please find the reproduced example and obj file at the attachment, it doesn't
have any visual aids,with 1st user click program creates leftbottom of
rectangle, second user click creates righttop, for intersection rectangle and
invokes PolytopeIntersector. If
osgviewer can't read dds file which format is dxt1.I am using osg 3.3.1 and I converted that file to dxt3 , dxt5...with nvDXT tool...but it results same...I wonder ifthis is natutral or any other method to read dds fileAnyway...thanks in advence.
당신과 제가 다름이 세상을 풍요롭게 합니다...^^v
Hi,
osg can read S3TC images. I think you have to do osgviewer --image
myfile.dds. Do osgviewer --help you will see the correct option
Cheers,
Nick
On Wed, Aug 6, 2014 at 11:25 AM, Shyguy jj2...@nate.com wrote:
osgviewer can't read dds file which format is dxt1.
I am using osg 3.3.1 and I
On 5 August 2014 22:36, Benjamin Beier benja...@desaster-games.com wrote:
If you would move your typedefs inside the 'osg' namespace each framework
would prioritize their own definitions correctly.
OSG typedefs ARE inside OSG namespaces. Be clear, it's only GL fallback
typedef's that are
I used that option --image.Coverted with nvDXT to with some format -u565 -u888 works fine.Other tool cantread my file. but osgviewer can't...I put my sample file in this mail. thanks
-- Original Message --
Date: Wednesday, Aug 6, 2014 06:32:36 PM
From: "Trajce Nikolov NICK"
Hi, Trajce,
I am on vacations. Quick answer is impossible in my opinion. I would bet
that projection software uses some matrix tricks and it would be hard to
figure it out without seeing the code and solution. There is a chance
though, that matrix obtained there is not a right projection matrix
strange. I did osgviewer --image sample.dds and it works just fine.
Attached is a screenshot. is there any message on the console? Can you
locate osgdb_dds.dll (you on windows??? or linux)? is your osg bin folder
in your PATH?
Nick
On Wed, Aug 6, 2014 at 11:45 AM, Shyguy jj2...@nate.com wrote:
Hi Wojtek,
thanks for the fast reply. I am going to investigate this but there is no
source code (black box) so it is hard to say. I took very naive approach
for the moment since I am not familiar with the code of the
MinimalShadowMap that much and will try to force the conditions in the
snippet
Hi Sonya,
Hi All and Thanks for your feedback,
Please find the reproduced example and obj file at the attachment, it
doesn't have any visual aids,
with 1st user click program creates leftbottom of rectangle, second
user click creates righttop,
for intersection rectangle and invokes
Hello again,
On 08/06/2014 10:28 AM, Sonya Blade wrote:
Hi All and Thanks for your feedback,
Please find the reproduced example and obj file at the attachment, it doesn't
have any visual aids,
with 1st user click program creates leftbottom of rectangle, second user
click creates
Thank you for the entrypoint,
What you mean by rescaling the geomtry directly? Directly modify the vertices
and dirty the displaylist, rather than using transformation matrices? I'll try
that workaround, it sounds quite coherent for the reason of discrepancy.
I can see that you are using
Hello,
On 08/06/2014 02:33 PM, Sonya Blade wrote:
Thank you for the entrypoint,
What you mean by rescaling the geomtry directly? Directly modify the vertices
and dirty the displaylist, rather than using
transformation matrices? I'll try that workaround, it sounds quite coherent
for the
Thank You sincerely,
Shame on me,Regards,
Date: Wed, 6 Aug 2014 14:53:32 +0200
From: peter.hre...@intes.de
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Erratical behaviour with PolytopeIntersector
Hello,
On 08/06/2014 02:33 PM, Sonya Blade wrote:
Thank you for the
Hello Robert,
Yes, you are right. The reason is that I didn't set up the texture coordinates.
I did the following change, and I could texturing the model in the shader. I
think the problem is that gl_MultiTexCoord0 actually didn't give out any
texture coordinates in my first code.
vertex
Hello Robert,
Yes, you are right. The reason is that I didn't set up the texture coordinates.
I did the following change, and I could texturing the model in the shader. I
think the problem is that gl_MultiTexCoord0 actually didn't give out any
texture coordinates in my first code.
vertex
Hi Ying,
The cow.osg model uses osg::TexGen (wrapper for glTexGen) to generate the
texture coordinates so the ones assigned to actual geometry are ignored.
glTexGen is part of the fixed function pipeline in OpenGL so you don't get
this functionality when using shaders. You'll have to implement
Hi again Wojtek,
I read the code of MinimalShadowMap and tried to understand it (at least
the part of the clamping of the projection matrix). Did some hacks and got
some result. The best results I have got is that the shadows are now still
but flickering. Before they were based on the heading and
Hi Robert,
Thank you very much for your quick reply. I didn't know that using
ShapeDrawables is not recommended at all, but as a beginner it's the first
which comes across while using google to learn osg :)
I will maximum place 64 geometry instances (each currently consisting of 3
Hi! all
I've previously ( several months ago ) had success compiling for Android ...
with the latest source I get
Code:
/usr/local/src/build-android/include/osg/GL:107:32: fatal error:
TargetConditionals.h: No such file or directory
commenting out the #include for TargetConditionals.h gets
Hi, everyone, sorry for may be stupid question. I need to use orthographic
camera in my application instead of perspective and I have some troubles with
it.
Following code DISPLAYS cow.
Code:
int main( int argc, char **argv )
{
int width = 1024; int height = 768;
osg::Node *scene =
25 matches
Mail list logo