Hi Everyone,
I have a very simple sphere model in 3ds and obj, the sphere works fine when I
place it in the root group.
When I add the same model group to a Camera group that is my game's HUD the
model's texture is distorted. The sphere mesh is fine. This Camera group
works fine for Text a
Thank you Robert,
I found a problem with my Camera, I had it set for setProjectionMatrixAsOrtho2D
which worked fine for text and simple 2d lines.
Can you, or anyone, suggest a Camera ProjectionMatrix that would be best for
both 2d text and also a mesh model?
I am thinking that I may need 2 cam
Hi,
Earlier this year I upgraded my linux from 12.4 to 13.10 and had problems
related to a change in the toolchain and linker that caused me build problems.
Instead of fixing the problem I reinstalled 12.4 and was very happy to have
everything working again.
This problem was described in deta
Hi,
Thank you Jan and Robert.
I was able to install a clean version of Ubuntu 14.10 and had my OSG apps
working without a problem very quickly. Seems very fast and solid.
Thank you for responding to my earlier post.
...
Thank you!
Cheers,
Mike
--
Read this topic online here
Hi,
There is an osg example, osgsimulation, that shows a plane flying above the
earth. I am building a simple flight simulator and would like to put a cockpit
frame around the view so it would look like the plane in osgsimulation is being
followed by a 2nd plane. What is the best way to frame
Hi,
I am collecting data of 500 points at a time and the x,y,z points are randomly
distributed around the center. I would like to render this collection of
points into a surface map using OpenSceneGraph. What is the best way to do
this without reinventing the wheel?
Thank you very much!
Che
Hi,
I am porting a java3d flight simulator program to OSG and there is not a direct
replacement for rotateToPoint within OSG.
In Java3d my code is:
Point3d intercept = new Point3d(xx_l,yy_l,zz_l);
plane.rotateToPoint(startPt, intercept);
I want the plane to rotate and point dir
Hi,
What is the best way to place a contrasting color background behind HUD text so
that the text is always easy to read?
I did not see anything in osgText to do this
Also no examples that do this easily.
Thank you, for your suggestions!
Cheers,
Mike
--
Read this topic o
Hi,
I am working with a mesh and would like to turn off color bleed from one face
to the next face. I want each face to be a solid color.
Sorry for the basic question...
Thank you!
Cheers,
Mike
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=6
Hi Robert,
Thank you, this changed my mesh and it looks much better.
Now I can see that I am indexing through the mesh to set colors and only
changing colors on half of the mesh face. The mesh face is a square and I am
only setting the color on a triangle half of the square.
How do I index th
Hi,
Thank you again,
I am using a TRIANGLE_STRIP and BIND_PER_VERTEX.
Then indexing through the array via simple initialization:
for (int r = 0; r < ISLAND_LAND_DEPTH;r++)
{
(*terrain)[thisIndex][0] = column_x_loc;
Hi,
I have a TriangleStrip mesh that I use for a simple data collection app to show
data changes in real time.
Most of the time the mesh looks very clean and smooth. However, sometimes the
triangles look like spikes and not smooth. I do not understand why the mesh is
broken by the spikes. C
Hi,
Thank you Robert...
Here is how I create the mesh:
float column_x_loc = -(LAND_WIDTH * LAND_TRIANGLE_WIDTH)/2;
float column_z_loc = -(LAND_DEPTH * LAND_TRIANGLE_DEPTH)/2
float column_y_loc = DETAIL_TERRAIN_FLOOR;
for (int c = 0;c < LAND_WIDTH;c++)
{
Hi,
"it kinds seems like an odd thing that are doing,
shifting and replacing rows for some reason is not normally how one
manages terrain. Could you take a step back and explain what you are
trying to achieve in your application w.r.t terrain"
I am just starting to develop a 3D app my usual do
Hi,
I have a very simple grid of 1000x1000 using HeightField. The heights are
constantly changing. Is there a way to change the color of a shape at row &
col?
My project seems too small to use osgTerrain.
Thank you for helping with this simple question!
Cheers,
--
Read this
15 matches
Mail list logo