Hi Linda,
For such cases we have 2 reasonable shadow tecs:
- Light Space Shadow Maps
- Parallel Splited Shadow Maps
did you tried out this both with osgShadow.exe -pssm or with
osgShadow -lispsm ...
Adrian
2010/12/28 Linda Lee :
> Dear all,
>
> I am new to OSG and is thinking of implementi
I'm glad things are working for you...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of deniz
diktas
Sent: Tuesday, December 28, 2010 4:25 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [os
1) oops.. you are right! I am not passing them in radians :-*
ok I feel a little embarassed as of why I could not think of that :x
I guess because I always tend to think in terms of opengl logic: in opengl you
pass angles in degrees.
2) I have been able to see the terrain in osgviewer so no
Hi,
you can't use the PAT for loading. You could instantiate a PAT node, then use
the static load function of osgDB to load the model and add the loaded model
than as a child to the PAT. Add finally the PAT to the viewer. Now you should
be able to display the model and influence its PAT.
Che
A couple more questions...
1) Are your lat, lon in radians when you call convertLatLongHeightToXYZ?
2) Have you tried viewing your database (terrain.ive) with osgviewer to see
what it looks like (osgviewer terrain.ive)? If you can't see your database
with osgviewer, then there's a problem with you
Hi Linda,
I tried using cow.osg and have similar problem. I tried download the
driver from AMD website but the latest version they have is 10.12 and it
seems to keep crashing after installed. Do you think there is any work
around using the ATI card like change the mapping method for the shad
I am using osg::EllipsoidModel::convertLatLongHeightToXYZ() method to convert
the coordinates as such:
osg:::EllipsoidModel em;
em.convertLatLongHeightToXYZ(_lat,_long,_alt, x,y,z);
when building the model I used osgdem with the following parameters:
osgdem --geocentric -d dted_dir -o terrain
Deniz,
Which method in EllipsoidModel were you using to do the transform from
(lat,lon,alt) to (X,Y,Z)?
Can you provide a code snippet on how you're doing the transform? Also
provide the actual osgdem command you're using to build your database...
-Shayne
-Original Message-
From: osg-us
Hi Shayne,
thank you for your reply.
but the problem I am facing is related to the transformation.
But I will keep your suggestion in mind when placing the camera, so thanks
again :)
The input to the application will be a flight-path given as a list of
consecutive points in geographic coordinat
Hi Wojtek Lewandowski,
I tried using cow.osg and have similar problem. I tried download the driver
from AMD website but the latest version they have is 10.12 and it seems to keep
crashing after installed. Do you think there is any work around using the ATI
card like change the mapping method
Dear all,
I am new to OSG and is thinking of implementing shadows in a large urban area
with lots of buildings. Could anyone tell me if this is feasible and what
shadow tecnique should I used? Or should I try to implement a customized
shadow algorithm? Would computation performance be an iss
Deniz,
If you're using osgdem with the --geocentric flag set, you're building a
geocentric database which is correct.
Here's a code snippet that may help you position your camera on the spheroid
in geocentric space. It sets the view matrix for the camera given the lat,
lon and alt. Roll, pitch, a
Hi Linda,
I tried using ShadowMap and the effect is the same. How do I check if my
model is using texture coordinates on the same stage as shadow map (1 by
default)? I tried using ShadowTexture and the effect is okay.
Does osgshadow example look correct (using shadow map and default scene
Hi Wojtek Lewandowski,
Thanks for your help.
I tried using ShadowMap and the effect is the same. How do I check if my model
is using texture coordinates on the same stage as shadow map (1 by default)? I
tried using ShadowTexture and the effect is okay. But it seems that of all
Shadow effect
Try osg::ComputeBoundsVisitor.
Glenn Waldron : Pelican Mapping : +1.703.652.4791
On Tue, Dec 28, 2010 at 4:03 AM, Axel Spirtaat wrote:
> 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
> boundin
2010/12/26, issam boughanmi :
> Hi,
> using delta3d 2.4 +osg 2.8.2
>
>
> i have a pagedlod terrain built with vpb 0.9.10 (i think) and some other
> objects in my scene
>
> i have a crash in my application
>
> after switching to the debug mode the crash occur in this line
>
>
> Code:
>
>
> void LOD:
"Axel Spirtaat" writes:
> 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 po
Hi,
I was evaluating OpenSceneGraph, so I tried downloading some demos. I
downloaded openscenegraph-examples-2.8.2-win32-x86-vc90-Release.zip from [ URL
REMOVED because the forums won't let me post a URL ] but none of the examples
work because they're missing the dlls. So, I downloaded
opens
Hi,
I've been trying to load models using the osg::PositionAttitudeTransform class,
since it has no constructors I have to make my own, but when I tried , a error
message was displayed "there is no base class".
Can anyone help me how to load a simple 3ds model with animations?
Thank you!
Nor
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 o
20 matches
Mail list logo